]> git.mxchange.org Git - friendica-addons.git/commitdiff
fbsync: inflate/deflate settings
authorMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:19:33 +0000 (21:19 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:19:33 +0000 (21:19 +0100)
fbsync/fbsync.php

index 13a504dcf3e5162861ef8246df1d423edf2e8625..1b2fec0a8e859e6080bcc7bba674b7e5f1c206bb 100644 (file)
@@ -119,8 +119,13 @@ function fbsync_settings(&$a,&$s) {
 
        /* Add some HTML to the existing form */
 
-       $s .= '<div class="settings-block">';
+       $s .= '<span id="settings_fbsync_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
        $s .= '<h3>' . t('Facebook Import Settings') . '</h3>';
+       $s .= '</span>';
+       $s .= '<div id="settings_fbsync_expanded" class="settings-block" style="display: none;">';
+       $s .= '<span class="fakelink" onclick="openClose(\'settings_fbsync_expanded\'); openClose(\'settings_fbsync_inflated\');">';
+       $s .= '<h3>' . t('Facebook Import Settings') . '</h3>';
+       $s .= '</span>';
 
        $s .= '<div id="fbsync-enable-wrapper">';
        $s .= '<label id="fbsync-enable-label" for="fbsync-checkbox">' . t('Import Facebook newsfeed') . '</label>';