1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-30 09:39:55 +02:00

Admin area tool tips simplified to a single location. Pref simplified to Enable/Disable. Fixed flip-switch 'e-expandit' failures in Admin > Prefs.

This commit is contained in:
Cameron
2021-02-12 12:19:58 -08:00
parent b7b2a02509
commit 2bf5ee3909
15 changed files with 147 additions and 263 deletions

View File

@@ -520,11 +520,10 @@ class banlist_ui extends e_admin_ui
<tr>
<td>
<strong>".$ipAdministrator->getBanTypeString($bt, FALSE)."</strong>
".$frm->help($helpTip, 'before')."
".$frm->help($helpTip)."
</td>
<td class='left'>
".$frm->textarea('ban_text_'.($i), $pref['ban_messages'][$bt], 4, 120, array('size'=>'xxlarge'))."
".$frm->help($helpTip, 'after')."
</td>
<td class='center'>". self::ban_time_dropdown('', BANLAN_32, $pref['ban_durations'][$bt], 'ban_time_' . ($i)) ."</td>
</tr>
@@ -607,43 +606,42 @@ class banlist_ui extends e_admin_ui
</colgroup>
<tbody>
<tr>
<td>".BANLAN_63."".$frm->help(BANLAN_65, 'before')."</td>
<td>".BANLAN_63."".$frm->help(BANLAN_65)."</td>
<td>
<div class='auto-toggle-area autocheck'>
".$frm->checkbox('ban_rdns_on_access', 1, $pref['enable_rdns'] == 1)."
".$frm->help(BANLAN_65, 'after')."
</div>
</td>
</tr>
<tr>
<td>".BANLAN_64.$frm->help(BANLAN_66, 'before')."</td>
<td>".BANLAN_64.$frm->help(BANLAN_66)."</td>
<td>
<div class='auto-toggle-area autocheck'>
".$frm->checkbox('ban_rdns_on_ban', 1, $pref['enable_rdns_on_ban'] == 1)."
".$frm->help(BANLAN_66, 'after')."
</div>
</td>
</tr>
<tr>
<td>".BANLAN_67.$frm->help(BANLAN_68, 'before')."</td>
<td>".BANLAN_67.$frm->help(BANLAN_68)."</td>
<td>
<div class='field-spacer'>".$this->drop_box('ban_access_guest', $ban_access_guest).BANLAN_70."</div>
<div class='field-spacer'>".$this->drop_box('ban_access_member', $ban_access_member).BANLAN_69."</div>
".$frm->help(BANLAN_68, 'after')."
</td>
</tr>
<tr>
<td>".BANLAN_71.$frm->help(BANLAN_73, 'before')."</td>
<td>".BANLAN_71.$frm->help(BANLAN_73)."</td>
<td>
<div class='auto-toggle-area autocheck'>
".$frm->checkbox('ban_retrigger', 1, $pref['ban_retrigger'] == 1)."
".$frm->help(BANLAN_73, 'after')."
</div>
</td>
</tr>
<tr>
<td>".BANLAN_91.$frm->help(BANLAN_92, 'before')."</td>
<td>".BANLAN_91.$frm->help(BANLAN_92)."</td>
<td>
".$frm->text('ban_date_format', varset($pref['ban_date_format'], '%H:%M %d-%m-%y'), 40)."
".$frm->help(BANLAN_92, 'after')."