forked from friendica/friendica-addons
Added HTML code for minimized setting header
This commit is contained in:
parent
3c38480998
commit
da02eb1b10
|
@ -149,7 +149,16 @@ function krynn_settings(&$a,&$s) {
|
|||
|
||||
/* Add some HTML to the existing form */
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<span id="settings_krynn_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_krynn_expanded\'); openClose(\'settings_krynn_inflated\');">';
|
||||
$s .= '<h3>' . t('Krynn') . '</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_krynn_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_krynn_expanded\'); openClose(\'settings_krynn_inflated\');">';
|
||||
$s .= '<h3>' . t('Krynn') . '</h3>';
|
||||
$s .= '</span>';
|
||||
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<h3>' . t('Krynn Settings') . '</h3>';
|
||||
$s .= '<div id="krynn-enable-wrapper">';
|
||||
$s .= '<label id="krynn-enable-label" for="krynn-checkbox">' . t('Enable Krynn Plugin') . '</label>';
|
||||
|
|
Loading…
Reference in a new issue