Changeset 145
- Timestamp:
- 10/20/11 16:02:30 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dns.cgi
r144 r145 1011 1011 } elsif ($webvar{page} eq 'deluser') { 1012 1012 1013 changepage(page=> "useradmin", errmsg => "You are not allowed to delete users") 1014 unless $permissions{admin} || $permissions{user_delete}; 1015 1013 1016 $page->param(id => $webvar{id}); 1014 1017 # first pass = confirm y/n (sorta) … … 1032 1035 logaction(0, $session->param("username"), $curgroup, "Deleted user $webvar{id}/".$userref->{username}. 1033 1036 " (".$userref->{lastname}.", ".$userref->{firstname}.")"); 1034 changepage(page => "useradmin"); 1037 changepage(page => "useradmin", resultmsg => "Deleted user ".$userref->{username}. 1038 " (".$userref->{lastname}.", ".$userref->{firstname}.")"); 1035 1039 } 1036 1040 } else {
Note:
See TracChangeset
for help on using the changeset viewer.