#3848 icons_table doubled on old-webmin theme

1.530
closed-fixed
nobody
None
5
2011-01-30
2011-01-29
Anonymous
No

HI.

I'm using the icons_table function on my custom module (see attached index.cgi),
webmin version 1.530
old webmin theme.

The problem: the icon list is doubled on screen, for example instead of 9 icons, I get 9*2,
the same 9 icons duplicated.

The same index.cgi works fine on older webmin versions.

Yizhar Hurwitz
yizhar@new-ofek.co.il
http://yizhar.mvps.org

Discussion

  • my custom index.cgi

     
    Attachments
  • Jamie Cameron
    Jamie Cameron
    2011-01-30

    I see the problem - your code calls print(icons_table), when in reality you only need call icons_table, as it prints the icons directly.

     
  • Jamie Cameron
    Jamie Cameron
    2011-01-30

    • status: open --> closed-fixed