JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr# log_parser.pl # Functions for parsing this module's logs do 'dfs-lib.pl'; # parse_webmin_log(user, script, action, type, object, ¶ms) # Converts logged information from this module into human-readable form sub parse_webmin_log { local ($user, $script, $action, $type, $object, $p) = @_; if ($action eq 'modify') { if ($p->{'old'} ne $p->{'directory'}) { return &text('log_rename', "".&html_escape($p->{'old'})."", "".&html_escape($p->{'directory'}).""); } else { return &text('log_modify', "".&html_escape($object).""); } } elsif ($action eq 'create') { return &text('log_create', "".&html_escape($object).""); } elsif ($action eq 'delete') { return &text('log_delete', "".&html_escape($object).""); } elsif ($action eq 'apply') { return $text{'log_apply'}; } else { return undef; } }