2 # Functions for parsing this module's logs
6 # parse_webmin_log(user, script, action, type, object, ¶ms)
7 # Converts logged information from this module into human-readable form
10 local ($user, $script, $action, $type, $object, $p) = @_;
11 if ($type eq "template" && $action eq "deletes") {
12 return &text("log_tmpl_deletes", $object);
14 elsif ($type eq "template") {
15 return &text("log_tmpl_${action}",
16 "<i>".&html_escape($p->{'desc'})."</i>");
18 elsif ($action eq "deletes") {
19 return &text("log_deletes", $object);
22 return &text("log_${action}", "<i>".&html_escape($p->{'desc'})."</i>");