forked from science-ation/science-ation
- Alternate colours on each line in the config editor. Makes it easier to see
which config lines go with which options.
This commit is contained in:
parent
5ca11ae362
commit
039a3aa1d5
@ -123,8 +123,12 @@ function config_editor($category, $year, $array_name, $self)
|
||||
else $size=$biggest+1;
|
||||
|
||||
|
||||
$line = 1;
|
||||
foreach($varkeys as $k) {
|
||||
print("<tr>");
|
||||
$trclass = ($line % 2 == 0) ? "even" : "odd";
|
||||
$line++;
|
||||
|
||||
print("<tr class=\"$trclass\">");
|
||||
print("<td>{$var[$k]['desc']}</td>");
|
||||
print("<td>");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user