mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-25 15:03:21 +00:00
showmore: inflate/deflate settings
This commit is contained in:
parent
27ccb34334
commit
468868ae07
1 changed files with 7 additions and 1 deletions
|
@ -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