Menu

#227 Theme mscstyle3 does not support webprefix

closed
5
2005-09-08
2005-09-08
Andre
No

Hello,

runing wit mscstyle3 leads to misconfigured "return to
xxx" links because it is not using the webprefix. The
problem is already solved in webmin, so why not copy
the code as follows

line 543 at mscstyle3/theme.pl:
elsif ($url =~ /^\?/ && $module_name) {
$url = "/$module_name/$url";
}
+$url = "$gconfig{'webprefix'}$url" if ($url =~ /^\//);
if ($i == 0) {
print "&nbsp;<a href=\"$url\"><img alt=\"<-\"
align=middle border=0
src=$gconfig{'webprefix'}/images/arrow.jpg></a>\n";
}

Regards
Andre

Discussion

  • Andre

    Andre - 2005-09-08
    • labels: --> Change Theme
     
  • Jamie Cameron

    Jamie Cameron - 2005-09-08
    • assigned_to: nobody --> jcameron
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2005-09-08

    Logged In: YES
    user_id=129364

    This has already been fixed in the latest devel version of
    Usermin, but thanks for pointing out out anyway :-)

     

Log in to post a comment.

MongoDB Logo MongoDB