forked from friendica/friendica-addons
showmore: inflate/deflate settings
This commit is contained in:
parent
27ccb34334
commit
468868ae07
|
@ -34,8 +34,14 @@ function showmore_addon_settings(&$a,&$s) {
|
|||
if(!$chars)
|
||||
$chars = '1100';
|
||||
|
||||
$s .= '<div class="settings-block">';
|
||||
$s .= '<span id="settings_showmore_inflated" class="settings-block fakelink" style="display: block;" onclick="openClose(\'settings_showmore_expanded\'); openClose(\'settings_showmore_inflated\');">';
|
||||
$s .= '<h3>' . t('"Show more" Settings').'</h3>';
|
||||
$s .= '</span>';
|
||||
$s .= '<div id="settings_showmore_expanded" class="settings-block" style="display: none;">';
|
||||
$s .= '<span class="fakelink" onclick="openClose(\'settings_showmore_expanded\'); openClose(\'settings_showmore_inflated\');">';
|
||||
$s .= '<h3>' . t('"Show more" Settings').'</h3>';
|
||||
$s .= '</span>';
|
||||
|
||||
$s .= '<div id="showmore-wrapper">';
|
||||
|
||||
$s .= '<label id="showmore-enable-label" for="showmore-enable">'.t('Enable Show More').'</label>';
|
||||
|
|
Loading…
Reference in a new issue