-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
strict/warn, with two bugs still present...
- Loading branch information
Showing
6 changed files
with
143 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
use strict; | ||
use warnings; | ||
our $module_name; | ||
|
||
do 'virtualmin-mailrelay-lib.pl'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,19 @@ | ||
# log_parser.pl | ||
# Functions for parsing this module's logs | ||
use strict; | ||
use warnings; | ||
|
||
do 'virtualmin-mailrelay-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) = @_; | ||
my ($user, $script, $action, $type, $object, $p) = @_; | ||
if ($action eq 'save') { | ||
return &text('log_save', "<tt>".&html_escape($object)."</tt>"); | ||
} | ||
return undef; | ||
} | ||
|
||
1; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.