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 ($action eq 'mkfs') {
12 return &text('log_mkfs_lv', "<tt>".&html_escape($p->{'fs'})."</tt>",
13 "<tt>".&html_escape($object)."</tt>");
16 return &text("log_${action}_${type}",
17 "<tt>".&html_escape($object)."</tt>",
18 "<tt>".&html_escape($p->{'vg'})."</tt>");