summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_tables.php
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2012-11-28 14:13:49 -0800
committerN0YB <Al_Stu@Frontier.com>2012-11-28 14:13:49 -0800
commitd93dc624b43dc9b5fd2499264bef163838ad0428 (patch)
treec12507d5f8d0a5ee5dc27d7be6d2d012c8a0607e /usr/local/www/diag_tables.php
parent909e7d0d72f5cf01aea06f84b033bb59dc2f389b (diff)
downloadpfsense-d93dc624b43dc9b5fd2499264bef163838ad0428.zip
pfsense-d93dc624b43dc9b5fd2499264bef163838ad0428.tar.gz
Diagnostics Tables Top Status
Updated: Removed variable from gettext fuction call. Add table entries count to status line. Place table status line at top so don't have to scroll to bottom of large tables to see. Add Download latest bogon data button to bogonsv6 table.
Diffstat (limited to 'usr/local/www/diag_tables.php')
-rw-r--r--usr/local/www/diag_tables.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/diag_tables.php b/usr/local/www/diag_tables.php
index 17f1810..f6c093d 100644
--- a/usr/local/www/diag_tables.php
+++ b/usr/local/www/diag_tables.php
@@ -150,7 +150,7 @@ include("fbegin.inc");
<?php
if($count == 0)
if( ($tablename == "bogons") || ($tablename == "bogonsv6") )
- echo "<p/>" . gettext("No entries exist in this table. ") . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
+ echo "<p/>" . gettext("No entries exist in this table.") . "&nbsp&nbsp" . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
else
echo "<p/>" . gettext("No entries exist in this table.");
?>
@@ -158,9 +158,9 @@ include("fbegin.inc");
<?php
if($count > 0)
if( ($tablename == "bogons") || ($tablename == "bogonsv6") )
- echo "<p/>" . gettext("<b>$count</b> entries exist in this table. ") . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
+ echo "<p/>&nbsp<b>$count</b> " . gettext("entries exist in this table.") . "&nbsp&nbsp" . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
else
- echo "<p/>" . gettext("Delete") . " <a href='diag_tables.php?deleteall=true&type=" . htmlspecialchars($tablename) . "'>" . gettext("all") . "</a> " . gettext("<b>$count</b> entries in this table.");
+ 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.");
?>
</table>
OpenPOWER on IntegriCloud