inflate/deflate settings #166
1 changed files with 7 additions and 3 deletions
|
@ -294,10 +294,14 @@ function jappixmini_settings(&$a, &$s) {
|
|||
$a->page['htmlhead'] .= '<script type="text/javascript" src="' . $a->get_baseurl() . '/addon/jappixmini/lib.js"></script>'."\r\n";
|
||||
}
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
|
||||
$s .= '<span id="settings_jappixmini_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_jappixmini_expanded\'); openClose(\'settings_jappixmini_inflated\');">';
|
||||
$s .= '<h3>'.t('Jappix Mini addon settings').'</h3>';
|
||||
$s .= '<div>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_jappixmini_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_jappixmini_expanded\'); openClose(\'settings_jappixmini_inflated\');">';
|
||||
$s .= '<h3>'.t('Jappix Mini addon settings').'</h3>';
|
||||
$s .= '</span>';
|
||||
|
||||
$s .= '<label for="jappixmini-activate">'.t('Activate addon').'</label>';
|
||||
$s .= ' <input id="jappixmini-activate" type="checkbox" name="jappixmini-activate" value="1"'.$activate.' />';
|
||||
$s .= '<br />';
|
||||
|
|
Loading…
Reference in a new issue