mirror of
https://github.com/webmin/webmin.git
synced 2025-08-16 14:51:18 +00:00
strict/warn
This commit is contained in:
@ -1,5 +1,8 @@
|
||||
# log_parser.pl
|
||||
# Functions for parsing this module's logs
|
||||
use strict;
|
||||
use warnings;
|
||||
our %text;
|
||||
|
||||
do 'at-lib.pl';
|
||||
|
||||
@ -7,7 +10,7 @@ do 'at-lib.pl';
|
||||
# Converts logged information from this module into human-readable form
|
||||
sub parse_webmin_log
|
||||
{
|
||||
local ($user, $script, $action, $type, $object, $p, $long) = @_;
|
||||
my ($user, $script, $action, $type, $object, $p, $long) = @_;
|
||||
if ($type eq "job") {
|
||||
return &text('log_'.$action.'_job',
|
||||
"<tt>".&html_escape($object)."</tt>");
|
||||
|
Reference in New Issue
Block a user