1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Cosmetic bug fixes

This commit is contained in:
e107steved
2011-12-28 15:52:13 +00:00
parent 551ae88a84
commit 9866fbe2d6
2 changed files with 6 additions and 5 deletions

View File

@@ -246,8 +246,8 @@ $text .= "<div class='field-spacer'>".$tp->parseTemplate("{IMAGESELECTOR={$parms
$text .= " $text .= "
</td> </td>
</tr>
<tr> <tr>
<td class='label'>".PRFLAN_214."</td> <td class='label'>".PRFLAN_214."</td>
<td class='control'>".$frm->imagepicker('sitelogo',$pref['sitelogo'],'-- No Image --')."</td> <td class='control'>".$frm->imagepicker('sitelogo',$pref['sitelogo'],'-- No Image --')."</td>
</tr> </tr>
@@ -401,7 +401,8 @@ $text .= "
".$frm->radio_switch('admin_slidedown_subs', $pref['admin_slidedown_subs'])." ".$frm->radio_switch('admin_slidedown_subs', $pref['admin_slidedown_subs'])."
<div class='smalltext field-help'>".PRFLAN_200."</div> <div class='smalltext field-help'>".PRFLAN_200."</div>
</td> </td>
<tr> </tr>
<tr>
<td class='label'>".PRFLAN_204."</td> <td class='label'>".PRFLAN_204."</td>
<td class='control'> <td class='control'>
".$frm->radio_switch('admin_separate_plugins', $pref['admin_separate_plugins'])." ".$frm->radio_switch('admin_separate_plugins', $pref['admin_separate_plugins'])."

View File

@@ -128,10 +128,10 @@ function imageselector_shortcode($parm = '', $mod = '')
} }
} }
} }
$text .= '</optgroup>\n'; $text .= "</optgroup>\n";
} }
$text .= "</select>"; $text .= "</select>";
$text .= "<a href='#' onclick=\"replaceSC('imageselector=".rawurlencode($parm)."&saction=select',\$('{$name_id}').up('form'),'{$name_id}_cont'); return false;\">refresh</a>"; $text .= "<a href='#' onclick=\"replaceSC('imageselector=".rawurlencode($parm)."&amp;saction=select',\$('{$name_id}').up('form'),'{$name_id}_cont'); return false;\">refresh</a>";
if(!e_AJAX_REQUEST) $text .= '</div>'; if(!e_AJAX_REQUEST) $text .= '</div>';
if ($scaction == 'select') return $text; if ($scaction == 'select') return $text;