ui_table class for hidden_table--this should eventually replace explicit border tag
authorJoe Cooper <joe@virtualmin.com>
Fri, 27 Jul 2007 01:17:57 +0000 (01:17 +0000)
committerJoe Cooper <joe@virtualmin.com>
Fri, 27 Jul 2007 01:17:57 +0000 (01:17 +0000)
ui-lib.pl

index cd13bf9..3582a48 100644 (file)
--- a/ui-lib.pl
+++ b/ui-lib.pl
@@ -849,7 +849,7 @@ local $defimg = $status ? "open.gif" : "closed.gif";
 local $defclass = $status ? 'opener_shown' : 'opener_hidden';
 local $text = defined($tconfig{'cs_text'}) ? $tconfig{'cs_text'} : 
              defined($gconfig{'cs_text'}) ? $gconfig{'cs_text'} : "000000";
-$rv .= "<table border $tabletags class='ui_table'>\n";
+$rv .= "<table class='ui_table' border $tabletags class='ui_table'>\n";
 $rv .= "<tr $tb> <td><a href=\"javascript:hidden_opener('$divid', '$openerid')\" id='$openerid'><img border=0 src='$gconfig{'webprefix'}/images/$defimg'></a> <a href=\"javascript:hidden_opener('$divid', '$openerid')\"><b><font color=#$text>$heading</font></b></a></td> </tr>\n" if (defined($heading));
 $rv .= "<tr $cb> <td><div class='$defclass' id='$divid'><table width=100%>\n";
 $main::ui_table_cols = $cols || 4;