showmore: inflate/deflate settings

This commit is contained in:
Michael Vogel 2013-11-30 21:23:32 +01:00
parent 27ccb34334
commit 468868ae07

View file

@ -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>';