mirror of
https://github.com/webmin/webmin.git
synced 2025-08-01 15:36:00 +00:00
Add missing module
This commit is contained in:
18
htpasswd-file/log_parser.pl
Normal file
18
htpasswd-file/log_parser.pl
Normal file
@ -0,0 +1,18 @@
|
||||
# log_parser.pl
|
||||
# Functions for parsing this module's logs
|
||||
|
||||
do 'htpasswd-file-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 "sync") {
|
||||
return $text{'log_sync'};
|
||||
}
|
||||
else {
|
||||
return &text('log_'.$action, "<tt>".&html_escape($object)."</tt>");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user