Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#3397 Broken layout passwd index page

1.470
closed-fixed
Jamie Cameron
5
2009-05-20
2009-05-20
Ahmul
No

I think that there is misplaced printing "<tr>" tag in the module.

*** passwd/index.cgi.old 2009-05-20 14:12:20.000000000 +0200
--- passwd/index.cgi 2009-05-20 14:09:13.000000000 +0200
***************
*** 84,90 ****
# Show as table of users
@grid = ( );
for($i=0; $i<@ulist; $i++) {
! if ($i%4 == 0) { print "<tr>\n"; }
push(@grid, "<a href=\"edit_passwd.cgi?".
"user=$ulist[$i]->[0]\">".
&html_escape($ulist[$i]->[0])."</a>");
--- 84,90 ----
# Show as table of users
@grid = ( );
for($i=0; $i<@ulist; $i++) {
! #if ($i%4 == 0) { print "<tr>\n"; }
push(@grid, "<a href=\"edit_passwd.cgi?".
"user=$ulist[$i]->[0]\">".
&html_escape($ulist[$i]->[0])."</a>");

Discussion

  • Ahmul
    Ahmul
    2009-05-20

    patch

     
    Attachments
  • Ahmul
    Ahmul
    2009-05-20

    • milestone: --> 1.470
     
  • Jamie Cameron
    Jamie Cameron
    2009-05-20

    Thanks - this will be fixed in the next Webmin release.

     
  • Jamie Cameron
    Jamie Cameron
    2009-05-20

    • status: open --> closed-fixed