2 # Functions for parsing this module's logs
9 # parse_webmin_log(user, script, action, type, object, ¶ms)
10 # Converts logged information from this module into human-readable form
13 my ($user, $script, $action, $type, $object, $p) = @_;
14 $object = &html_escape($object);
15 if ($action eq 'modify') {
16 return &text('log_modify', "<tt>$object</tt>");
18 elsif ($action eq 'create') {
19 return &text('log_create', "<tt>$object</tt>");
21 elsif ($action eq 'find') {
22 return &text('log_find', "<tt>$object</tt>");
24 elsif ($action eq 'delete') {
25 return &text('log_delete', "<tt>$object</tt>");
27 elsif ($action eq 'deletes') {
28 return &text('log_deletes', $object);