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

index 1f40b027be3b7da947e3905e8a9a817ffd176c7a..bd9a89926c9c5a8b1c7e7097b3091eb107d73a21 100755 (executable)
@@ -34,8 +34,14 @@ function showmore_addon_settings(&$a,&$s) {
        if(!$chars)
                $chars = '1100';
 
-       $s .= '<div class="settings-block">';
+       $s .= '<span id="settings_showmore_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_showmore_expanded\'); openClose(\'settings_showmore_inflated\');">';
        $s .= '<h3>' . t('"Show more" Settings').'</h3>';
+       $s .= '</span>';
+       $s .= '<div id="settings_showmore_expanded" class="settings-block" style="display: none;">';
+       $s .= '<span class="fakelink" onclick="openClose(\'settings_showmore_expanded\'); openClose(\'settings_showmore_inflated\');">';
+       $s .= '<h3>' . t('"Show more" Settings').'</h3>';
+       $s .= '</span>';
+
        $s .= '<div id="showmore-wrapper">';
 
        $s .= '<label id="showmore-enable-label" for="showmore-enable">'.t('Enable Show More').'</label>';