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:
@@ -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> </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>";
|
||||
}
|
||||
|
Reference in New Issue
Block a user