]> git.mxchange.org Git - friendica-addons.git/commitdiff
blockem: Inflate/Deflate settings
authorMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:18:37 +0000 (21:18 +0100)
committerMichael Vogel <icarus@dabo.de>
Sat, 30 Nov 2013 20:18:37 +0000 (21:18 +0100)
blockem/blockem.php

index f09625783e57178b7154170d81ae16b49aa7ac40..339c841a01f8500e997daf7b878a4375f06b7431 100755 (executable)
@@ -49,8 +49,14 @@ function blockem_addon_settings(&$a,&$s) {
        if(! $words)
                $words = '';
 
-    $s .= '<div class="settings-block">';
+    $s .= '<span id="settings_blockem_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_blockem_expanded\'); openClose(\'settings_blockem_inflated\');">';
     $s .= '<h3>' . t('"Blockem" Settings') . '</h3>';
+    $s .= '</span>';
+    $s .= '<div id="settings_blockem_expanded" class="settings-block" style="display: none;">';
+    $s .= '<span class="fakelink" onclick="openClose(\'settings_blockem_expanded\'); openClose(\'settings_blockem_inflated\');">';
+    $s .= '<h3>' . t('"Blockem" Settings') . '</h3>';
+    $s .= '</span>';
+
     $s .= '<div id="blockem-wrapper">';
     $s .= '<label id="blockem-label" for="blockem-words">' . t('Comma separated profile URLS to block') . ' </label>';
     $s .= '<textarea id="blockem-words" type="text" name="blockem-words" >' . htmlspecialchars($words) . '</textarea>';