mirror of
https://github.com/webmin/webmin.git
synced 2026-03-20 08:40:24 +00:00
Fix not to display edit manually button if forbidden
This commit is contained in:
@@ -68,8 +68,8 @@ print "<table border><tr><td $cb><pre>\n\n";
|
||||
&show_directives($conf, 0);
|
||||
print "</pre></td></tr></table>\n";
|
||||
print "</td></tr>\n";
|
||||
|
||||
if ($in{'virt'} || $in{'file'} || defined($in{'idx'})) {
|
||||
if ($access{'types'} eq '*' &&
|
||||
($in{'virt'} || $in{'file'} || defined($in{'idx'}))) {
|
||||
print "<tr>\n";
|
||||
print "<td><form action=manual_form.cgi>";
|
||||
print "<input type=submit name=these value='$text{'show_these'}'>";
|
||||
|
||||
Reference in New Issue
Block a user