added missing expand/inflate functionality

pull/276/head
Tobias Diekershoff 2015-07-07 09:33:12 +02:00
parent adef3fd690
commit 2e3ceadf05
1 changed files with 9 additions and 0 deletions

View File

@ -40,6 +40,14 @@ function irc_addon_settings(&$a,&$s) {
$sitechats = get_config('irc','sitechats'); /* popular channels */ $sitechats = get_config('irc','sitechats'); /* popular channels */
$autochans = get_config('irc','autochans'); /* auto connect chans */ $autochans = get_config('irc','autochans'); /* auto connect chans */
$s .= '<span id="settings_irc_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_irc_expanded\'); openClose(\'settings_irc_inflated\');">';
$s .= '<h3>' . t('IRC Settings') . '</h3>';
$s .= '</span>';
$s .= '<div id="settings_irc_expanded" class="settings-block" style="display: none;">';
$s .= '<span class="fakelink" onclick="openClose(\'settings_irc_expanded\'); openClose(\'settings_irc_inflated\');">';
$s .= '<h3>' . t('IRC Settings') . '</h3>';
$s .= '</span>';
$s .= '<div class="settings-block">'; $s .= '<div class="settings-block">';
$s .= '<h3>' . t('IRC Settings') . '</h3>'; $s .= '<h3>' . t('IRC Settings') . '</h3>';
$s .= '<div id="irc-chans">'; $s .= '<div id="irc-chans">';
@ -53,6 +61,7 @@ function irc_addon_settings(&$a,&$s) {
$s .= '</div><div class="clear"></div>'; $s .= '</div><div class="clear"></div>';
$s .= '<div class="settings-submit-wrapper" ><input type="submit" id="irc-submit" name="irc-submit" class="settings-submit" value="' . t('Save Settings') . '" /></div></div>'; $s .= '<div class="settings-submit-wrapper" ><input type="submit" id="irc-submit" name="irc-submit" class="settings-submit" value="' . t('Save Settings') . '" /></div></div>';
$s .= '</div>';
return; return;