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 "host") {
13 return $text{"log_${action}_all"};
16 return &text("log_${action}_host",
17 "<tt>".&html_escape($object)."</tt>");
20 elsif ($action eq "manual") {
21 return &text("log_${action}", "<tt>$object</tt>");
24 return $text{"log_${action}"};