diff --git a/navigation-lib.pl b/navigation-lib.pl index fc04abae4..7226756a5 100644 --- a/navigation-lib.pl +++ b/navigation-lib.pl @@ -726,6 +726,7 @@ sub nav_list_combined_menu $icon = ''; $rv_after_local = $link; } + if ($get_user_level == 1) { if ($link =~ /\/virtual-server\/edit_pass\.cgi/ && $link !~ /\/virtual-server\/edit_pass\.cgi\?/) @@ -786,7 +787,7 @@ sub nav_list_combined_menu $link =~ /^ftps:\/\//) { $icon = ''; - } elsif ($link =~ /\/\.\.\/servers\/link\.cgi/) { + } elsif ($link =~ /\.\.\/servers\/link\.cgi/) { $icon = ''; }