| Server IP : 167.99.254.82 / Your IP : 216.73.216.76 Web Server : Apache System : Linux host.techisquad.com 5.15.0-187-generic #197-Ubuntu SMP Fri Jul 17 19:17:01 UTC 2026 x86_64 User : pawluxera ( 1011) PHP Version : 8.1.34 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/webmin/at/ |
Upload File : |
# log_parser.pl
# Functions for parsing this module's logs
use strict;
use warnings;
no warnings 'redefine';
no warnings 'uninitialized';
our %text;
do 'at-lib.pl';
# parse_webmin_log(user, script, action, type, object, ¶ms, [long])
# Converts logged information from this module into human-readable form
sub parse_webmin_log
{
my ($user, $script, $action, $type, $object, $p, $long) = @_;
if ($type eq "job") {
return &text('log_'.$action.'_job',
"<tt>".&html_escape($object)."</tt>");
}
elsif ($type eq "jobs") {
return &text('log_'.$action.'_jobs', $object);
}
else {
return $text{'log_'.$action};
}
}