mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 16:50:24 +00:00
Fix default category
This commit is contained in:
@@ -35,7 +35,7 @@ if (!defined($in{'cat'})) {
|
||||
|
||||
# Show standard header
|
||||
$gconfig{'sysinfo'} = 0 if ($gconfig{'sysinfo'} == 1);
|
||||
$theme_index_page = 1;
|
||||
$main::theme_index_page = 1;
|
||||
$title = $gconfig{'nohostname'} ? $text{'main_title2'} :
|
||||
&text('main_title', $ver, $hostname, $ostr);
|
||||
&header($title, "",
|
||||
|
||||
@@ -281,7 +281,7 @@ if (@_ > 1 && !$one && $remote_user && !$notabs) {
|
||||
$cats = @cats;
|
||||
$per = $cats ? 100.0 / $cats : 100;
|
||||
|
||||
if ($theme_index_page) {
|
||||
if ($main::theme_index_page) {
|
||||
if (!defined($in{'cat'})) {
|
||||
|
||||
# Use default category
|
||||
|
||||
Reference in New Issue
Block a user