Skip to content

Commit

Permalink
Link to logviewer module instead
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Mar 2, 2024
1 parent f641083 commit 9482646
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions virtual_feature.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ sub feature_webmin
push(@extras, &get_nginx_log($sd, 1));
}
@extras = &unique(@extras);
push(@rv, [ "syslog",
push(@rv, [ "logviewer",
{ 'extras' => join("\t", @extras),
'any' => 0,
'noconfig' => 1,
Expand Down Expand Up @@ -1091,9 +1091,9 @@ sub feature_links
my $lf = &get_nginx_log($d, $log->[0]);
if ($lf) {
my $param = &virtual_server::master_admin() ? "file" : "extra";
push(@rv, { 'mod' => 'syslog',
push(@rv, { 'mod' => 'logviewer',
'desc' => $log->[1],
'page' => "save_log.cgi?view=1&nonavlinks=1".
'page' => "view_log.cgi?view=1&nonavlinks=1".
"&linktitle=".&urlize($log->[1])."&".
"$param=".&urlize($lf),
'cat' => 'logs',
Expand All @@ -1108,9 +1108,9 @@ sub feature_links
}
if ($phplog) {
my $param = &virtual_server::master_admin() ? "file" : "extra";
push(@rv, { 'mod' => 'syslog',
push(@rv, { 'mod' => 'logviewer',
'desc' => $text{'links_phplog'},
'page' => "save_log.cgi?view=1&nonavlinks=1".
'page' => "view_log.cgi?view=1&nonavlinks=1".
"&linktitle=".&urlize($text{'links_phplog'})."&".
"$param=".&urlize($phplog),
'cat' => 'logs',
Expand Down

0 comments on commit 9482646

Please sign in to comment.