diff options
-rwxr-xr-x | usr/local/www/guiconfig.inc | 4 | ||||
-rw-r--r-- | usr/local/www/includes/functions.inc.php | 2 | ||||
-rwxr-xr-x | usr/local/www/status_gateways.php | 2 | ||||
-rw-r--r-- | usr/local/www/widgets/widgets/gateways.widget.php | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc index 68a645d..5fb7a97 100755 --- a/usr/local/www/guiconfig.inc +++ b/usr/local/www/guiconfig.inc @@ -753,7 +753,7 @@ function dump_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinvert foreach($grepinvert as $agrep) $grepline .= " | grep -v \"$agrep\""; if($config['system']['disablesyslogclog']) - exec("cat {$logfile}{$grepline} | grep -v \"\033\" | /usr/bin/tail {$sor} -n {$tail}", $logarr); + exec("cat {$logfile}{$grepline} | /usr/bin/tail {$sor} -n {$tail}", $logarr); else exec("/usr/sbin/fifolog_reader {$logfile}{$grepline} | /usr/bin/tail {$sor} -n {$tail}", $logarr); foreach ($logarr as $logent) { @@ -782,7 +782,7 @@ function return_clog($logfile, $tail, $withorig = true, $grepfor = "", $grepinve foreach($grepinvert as $agrep) $grepline .= " | grep -v \"$agrep\""; if($config['system']['disablesyslogclog']) - exec("cat {$logfile}{$grepline} | grep -v \"\033\" | /usr/bin/tail {$sor} -n {$tail}", $logarr); + exec("cat {$logfile}{$grepline} | /usr/bin/tail {$sor} -n {$tail}", $logarr); else exec("/usr/sbin/fifolog_reader {$logfile}{$grepline} | /usr/bin/tail {$sor} -n {$tail}", $logarr); return($logarr); diff --git a/usr/local/www/includes/functions.inc.php b/usr/local/www/includes/functions.inc.php index 743a373..b8d8a97 100644 --- a/usr/local/www/includes/functions.inc.php +++ b/usr/local/www/includes/functions.inc.php @@ -51,7 +51,7 @@ function get_gatewaystats() { $bgcolor = "khaki"; break; default: - $online = "No data"; + $online = "Gathering data"; } $data .= "<table><tr><td bgcolor=\"$bgcolor\" > $online </td></td></tr></table>"; } diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php index 3ac029c..048c901 100755 --- a/usr/local/www/status_gateways.php +++ b/usr/local/www/status_gateways.php @@ -120,7 +120,7 @@ include("head.inc"); $lastchange = implode(" ", $lastchange); PRINT "Last success $lastchange"; } else { - print "No data available"; + print "Gathering data"; } PRINT "</td></tr>"; ?> diff --git a/usr/local/www/widgets/widgets/gateways.widget.php b/usr/local/www/widgets/widgets/gateways.widget.php index 0dae9ba..51118d5 100644 --- a/usr/local/www/widgets/widgets/gateways.widget.php +++ b/usr/local/www/widgets/widgets/gateways.widget.php @@ -95,7 +95,7 @@ $counter = 1; $bgcolor = "khaki"; break; default: - $online = "No data"; + $online = "Gathering data"; } echo "<tr><td bgcolor=\"$bgcolor\" > $online </td>"; $counter++; |