summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_tables.php
diff options
context:
space:
mode:
authorN0YB <JunkYardMail1@Frontier.com>2012-12-10 00:43:50 -0800
committerN0YB <JunkYardMail1@Frontier.com>2012-12-10 00:43:50 -0800
commitcff55b3438506a0c1126446734d01dd2c18a3592 (patch)
tree22510a86d07bac10caba37df7622e3b6bcaebc1b /usr/local/www/diag_tables.php
parentf575c162e8b0aa8ccdb2a4bbe70fae147fb68997 (diff)
downloadpfsense-cff55b3438506a0c1126446734d01dd2c18a3592.zip
pfsense-cff55b3438506a0c1126446734d01dd2c18a3592.tar.gz
Include bogons last update info in Diagnostics: Tables
Diffstat (limited to 'usr/local/www/diag_tables.php')
-rw-r--r--usr/local/www/diag_tables.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php
index 832a524..57b5eb4 100644
--- a/usr/local/www/diag_tables.php
+++ b/usr/local/www/diag_tables.php
@@ -158,7 +158,7 @@ include("fbegin.inc");
<?php
if($count > 0)
if( ($tablename == "bogons") || ($tablename == "bogonsv6") )
- echo "<p/>&nbsp<b>$count</b> " . gettext("entries in this table.") . "&nbsp&nbsp" . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
+ echo "<p/>&nbsp<b>$count</b> " . gettext("entries in this table.") . "&nbsp&nbsp" . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.") . "<br>" . `/usr/bin/grep -i -m 1 -E "^# last updated" /etc/$tablename`;
else
echo "<p/>" . gettext("Delete") . " <a href='diag_tables.php?deleteall=true&type=" . htmlspecialchars($tablename) . "'>" . gettext("all") . "</a> " . "<b>$count</b> " . gettext("entries in this table.");
?>
OpenPOWER on IntegriCloud