Make tree state more visible by adding colors.

Bug #406287 r=reed
This commit is contained in:
cls%seawood.org 2007-12-18 02:47:05 +00:00
Родитель 8379d5a411
Коммит 8af04c5fe3
1 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -238,8 +238,12 @@ sub print_page_head($$) {
}
if (&is_tree_state_available($tree)) {
print "<a NAME=\"open\"></a>";
print "The tree is <font size=+2>";
print (&is_tree_open($tree) ? 'open' : 'closed');
print 'The tree is <font size="+2" ';
if (is_tree_open($tree)) {
print 'color="green">OPEN';
} else {
print 'color="red">CLOSED';
}
print "</font>\n";
}
}