Added HTML code for minimized setting header

This commit is contained in:
Dylan Thiedeke 2015-07-07 16:06:41 +10:00
parent 3c38480998
commit da02eb1b10

View file

@ -149,6 +149,15 @@ function krynn_settings(&$a,&$s) {
/* Add some HTML to the existing form */ /* Add some HTML to the existing form */
$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 .= '<div class="settings-block">';
$s .= '<h3>' . t('Krynn Settings') . '</h3>'; $s .= '<h3>' . t('Krynn Settings') . '</h3>';
$s .= '<div id="krynn-enable-wrapper">'; $s .= '<div id="krynn-enable-wrapper">';