1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-27 08:14:46 +02:00

Checkbox alignment and minor code cleanup.

This commit is contained in:
Cameron
2013-05-20 01:06:52 -07:00
parent c2776f84d2
commit 31d738829b
3 changed files with 12 additions and 12 deletions

View File

@@ -677,7 +677,7 @@ class system_tools
";
$pref_types = e107::getConfig()->aliases;
unset($pref_types['core_old'],$pref_types['core_backup']);
unset($pref_types['core_old'], $pref_types['core_backup']);
// $exclusions = array('core_old'=>1,'core_backup'=>1);
// $filteredprefs = array_diff($pref_types,$exclusions);
@@ -687,8 +687,8 @@ class system_tools
$text .= "<tr>
<td>
".$frm->checkbox("xml_prefs[".$key."]", $key, $checked)."
".LAN_PREFS.": ".$key."</td>
".$frm->checkbox("xml_prefs[".$key."]", $key, $checked, array('label'=>LAN_PREFS.": ".$key))."
</td>
<td>&nbsp;</td>
</tr>";
@@ -717,8 +717,8 @@ class system_tools
$checked = (vartrue($_POST['xml_tables'][$name]) == $name) ? 1: 0;
$text .= "<tr>
<td>
".$frm->checkbox("xml_tables[".$name."]", $name, $checked)." Table Data: ".$name."
</td>
".$frm->checkbox("xml_tables[".$name."]", $name, $checked, array('label'=>"Table Data: ".$name)).
"</td>
<td class='right'>$count</td>
</tr>";
}