mirror of
https://github.com/webmin/webmin.git
synced 2025-07-20 16:48:46 +00:00
log package deletion
This commit is contained in:
@ -56,6 +56,7 @@ else {
|
||||
print $text{'dpkgs_done'},"<p>\n";
|
||||
}
|
||||
}
|
||||
&webmin_log("delete", "pkgs", scalar(@delpkgs));
|
||||
}
|
||||
|
||||
&ui_print_footer("list_pkgs.cgi", $text{'pkgs_return'});
|
||||
|
@ -206,6 +206,7 @@ log_errors=Changed error logging in $1
|
||||
log_misc=Changed other settings in $1
|
||||
log_mods=Updated enabled modules in $1
|
||||
log_imod=Installed PHP module $2 in $1
|
||||
log_delete_dpkgs=Uninstalled $1 PHP packages
|
||||
|
||||
acl_global=Can edit global PHP configuration?
|
||||
acl_anyfile=Can edit any file as a PHP configuration?
|
||||
|
@ -12,6 +12,11 @@ if ($action eq "imod") {
|
||||
return &text('log_'.$action, "<tt>".&html_escape($object)."</tt>",
|
||||
"<tt>".&html_escape($p->{'mod'})."</tt>");
|
||||
}
|
||||
return &text('log_'.$action, "<tt>".&html_escape($object)."</tt>");
|
||||
elsif ($type eq "pkgs") {
|
||||
return &text('log_'.$action.'_pkgs', $object);
|
||||
}
|
||||
else {
|
||||
return &text('log_'.$action, "<tt>".&html_escape($object)."</tt>");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user