showmore: inflate/deflate settings

pull/166/head
Michael Vogel 2013-11-30 21:23:32 +01:00
parent 27ccb34334
commit 468868ae07
1 changed files with 7 additions and 1 deletions

View File

@ -34,8 +34,14 @@ function showmore_addon_settings(&$a,&$s) {
if(!$chars) if(!$chars)
$chars = '1100'; $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 .= '<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 .= '<div id="showmore-wrapper">';
$s .= '<label id="showmore-enable-label" for="showmore-enable">'.t('Enable Show More').'</label>'; $s .= '<label id="showmore-enable-label" for="showmore-enable">'.t('Enable Show More').'</label>';