2 # Functions for parsing this module's logs
4 do 'cluster-useradmin-lib.pl';
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 "user" || $type eq "group") {
12 return &text("log_${action}_${type}", "<tt>$object</tt>");
14 elsif ($action eq "add") {
15 return &text("log_add_${type}", "<tt>$object</tt>");
18 return $text{"log_$action"};