]> git.mxchange.org Git - friendica-addons.git/commitdiff
inflate/deflate twitter connector settings
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 1 Dec 2013 11:03:40 +0000 (12:03 +0100)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Sun, 1 Dec 2013 11:03:40 +0000 (12:03 +0100)
twitter/twitter.php

index 42a373b874bd9ece94ad1c9641c34314dfc7188b..e140b1b2ada5b3488ca66852c19997bde35157b9 100755 (executable)
@@ -229,8 +229,13 @@ function twitter_settings(&$a,&$s) {
         $create_userenabled = get_pconfig(local_user(),'twitter','create_user');
         $create_userchecked = (($create_userenabled) ? ' checked="checked" ' : '');
 
-       $s .= '<div class="settings-block">';
+       $s .= '<span id="settings_twitter_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
        $s .= '<h3>'. t('Twitter Posting Settings') .'</h3>';
+       $s .= '</span>';
+       $s .= '<div id="settings_twitter_expanded" class="settings-block" style="display: none;">';
+       $s .= '<span class="fakelink" onclick="openClose(\'settings_twitter_expanded\'); openClose(\'settings_twitter_inflated\');">';
+       $s .= '<h3>'. t('Twitter Posting Settings') .'</h3>';
+       $s .= '</span>';
 
        if ( (!$ckey) && (!$csecret) ) {
                /***