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, $long) = @_;
11 if ($type eq "rule") {
12 return &text("log_${action}_rule".($long ? "_l" : ""),
13 $text{'action_'.$object},
14 &describe_rule($p, 1));
16 elsif ($action eq "delsel") {
17 return &text('log_delsel', $p->{'count'});
20 return $text{"log_$action"};