mirror of
https://github.com/webmin/webmin.git
synced 2025-07-23 00:30:33 +00:00
@ -18,6 +18,9 @@ if (defined($in{'logfile'})) {
|
||||
$numlines = 40;
|
||||
if (defined($in{'numlines'})) {
|
||||
$numlines = $in{'numlines'};
|
||||
if ($numlines ne "all") {
|
||||
$numlines = int($numlines);
|
||||
}
|
||||
}
|
||||
|
||||
if ($numlines eq "all") {
|
||||
|
@ -75,7 +75,7 @@ elsif ($in{'view'}) {
|
||||
&ui_print_header("<tt>".&html_escape($file || $cmd)."</tt>",
|
||||
$text{'view_title'}, "");
|
||||
|
||||
$lines = $in{'lines'} ? int($in{'lines'}) : $config{'lines'};
|
||||
$lines = $in{'lines'} ? int($in{'lines'}) : int($config{'lines'});
|
||||
$filter = $in{'filter'} ? quotemeta($in{'filter'}) : "";
|
||||
|
||||
&filter_form();
|
||||
|
Reference in New Issue
Block a user