fix: Fiedx issues with new config init (#8242)

* Fix non-config defaults

* update processConfig and remove file
This commit is contained in:
Tony Murray
2018-02-12 03:15:44 -06:00
committed by Neil Lathwood
parent 16424ef3a4
commit 561846a44b
36 changed files with 114 additions and 166 deletions

View File

@@ -4,9 +4,9 @@ if ($int_colour) {
$row_colour = $int_colour;
} else {
if (!is_integer($i / 2)) {
$row_colour = $list_colour_a;
$row_colour = $config['list_colour']['even'];
} else {
$row_colour = $list_colour_b;
$row_colour = $config['list_colour']['odd'];
}
}
@@ -14,7 +14,7 @@ if ($int_colour) {
$text = $ap['name'].' '.$ap['type'];
$ap['text'] = $text;
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='$list_highlight';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" onclick=\"location.href='".generate_ap_url($ap)."/'\" style='cursor: pointer;'>
echo "<tr style=\"background-color: $row_colour;\" valign=top onmouseover=\"this.style.backgroundColor='{$config['list_colour']['highlight']}';\" onmouseout=\"this.style.backgroundColor='$row_colour';\" onclick=\"location.href='".generate_ap_url($ap)."/'\" style='cursor: pointer;'>
<td valign=top width=350>";
echo ' <span class=list-large> '.generate_ap_link($ap, " $text </span><br />");
echo '<span class=interface-desc>';