projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b1558d
)
Don't show delete in others checkbox if not optional
author
Jamie Cameron
<jcameron@webmin.com>
Mon, 29 Aug 2011 18:28:24 +0000
(11:28 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Mon, 29 Aug 2011 18:28:24 +0000
(11:28 -0700)
useradmin/mass_delete_user.cgi
patch
|
blob
|
history
diff --git
a/useradmin/mass_delete_user.cgi
b/useradmin/mass_delete_user.cgi
index
d678df3
..
9ab4b5a
100755
(executable)
--- a/
useradmin/mass_delete_user.cgi
+++ b/
useradmin/mass_delete_user.cgi
@@
-253,8
+253,9
@@
else {
&nice_size($size*1024)) :
&text('umass_sure2', scalar(@dlist)),
\@hids, \@buts,
- &ui_checkbox("others", 1, $text{'udel_dothers'},
- $config{'default_other'}),
+ $access{'dothers'} == 1 ?
+ &ui_checkbox("others", 1, $text{'udel_dothers'},
+ $config{'default_other'}) : "",
$delete_sys && $delete_sys->{'user'} eq 'root' ?
$text{'udel_root'} : "",
);