diff --git a/config_editor.inc.php b/config_editor.inc.php index b665b3b..8d34de5 100644 --- a/config_editor.inc.php +++ b/config_editor.inc.php @@ -123,8 +123,12 @@ function config_editor($category, $year, $array_name, $self) else $size=$biggest+1; + $line = 1; foreach($varkeys as $k) { - print(""); + $trclass = ($line % 2 == 0) ? "even" : "odd"; + $line++; + + print(""); print("{$var[$k]['desc']}"); print(""); diff --git a/sfiab.css b/sfiab.css index 5839bc4..9487bdf 100644 --- a/sfiab.css +++ b/sfiab.css @@ -28,8 +28,16 @@ select td { vertical-align: top; - } + +table tr.even { + background: #EEEEFF; +} + +table tr.odd { + background: #E0E0F8; +} + #header { height: 50px; text-align: center;