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) = @_;
12 return &text("log_${action}_log", "<tt>".&html_escape($object)."</tt>");
14 elsif ($type eq "logs") {
15 return &text("log_${action}_logs", $object);
17 elsif ($type eq "global") {
18 return $object eq "-" ? $text{"log_global"} :
19 &text("log_global2", "<tt>".&html_escape($object)."</tt>");