From: dl <dl....@nt...> - 2015-07-08 16:14:27
|
Recently I upgraded webmin from 1.740 to 1.760. I have been developing a custom module (based on a cloned Custom Commands module). I had developed a working custom module in earlier webmin 1.740 (but not tested with Authentic Theme). However in webmin 1.760 .. using Authentic Theme .. I could not get the call to &ui_print_header to work ... &ui_print_header(undef, $text{'index_title'}, "", "intro", 1, 1, 0, undef, $headhtml); After a few troubleshooting tests I found that when using Authentic Theme the contents of $headhtml would not inject into <head></head> with that theme. It would print if I placed print $headhtml at bottom of index.cgi. I then tried alternative themes and my injection of $headhtml worked as expected. ... My questions are .. (a) Has $headhtml arg in call &ui_print_header( ... ); been tested with Authentic Theme? (b) Why is $headhtml usage apparently incompatible with Authentic Theme in webmin 1.760? DL |