forked from friendica/friendica-addons
jappixmini: inflate/deflate settings
This commit is contained in:
parent
a721e8acf0
commit
cc74cbd6ac
|
@ -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