projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
666b602
)
Fixed grid extra spacing
author
Jamie Cameron
<jcameron@webmin.com>
Thu, 3 Jan 2008 01:20:23 +0000
(
01:20
+0000)
committer
Jamie Cameron
<jcameron@webmin.com>
Thu, 3 Jan 2008 01:20:23 +0000
(
01:20
+0000)
ui-lib.pl
patch
|
blob
|
history
diff --git
a/ui-lib.pl
b/ui-lib.pl
index
f2d51e8
..
3628890
100644
(file)
--- a/
ui-lib.pl
+++ b/
ui-lib.pl
@@
-1099,7
+1099,8
@@
local $rv = "<table".
($width ? " width=$width%" : "").
($tabletags ? " ".$tabletags : "").
">\n";
-for(my $i=0; $i<@$elements; $i++) {
+my $i;
+for($i=0; $i<@$elements; $i++) {
$rv .= "<tr>" if ($i%$cols == 0);
$rv .= "<td ".$tds->[$i%$cols]." valign=top>".$elements->[$i]."</td>\n";
$rv .= "</tr>" if ($i%$cols == $cols-1);