Revision d93dc624
Added by N0YB over 12 years ago
usr/local/www/diag_tables.php | ||
---|---|---|
150 | 150 |
<?php |
151 | 151 |
if($count == 0) |
152 | 152 |
if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) |
153 |
echo "<p/>" . gettext("No entries exist in this table. ") . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
|
|
153 |
echo "<p/>" . gettext("No entries exist in this table.") . "  " . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
|
|
154 | 154 |
else |
155 | 155 |
echo "<p/>" . gettext("No entries exist in this table."); |
156 | 156 |
?> |
... | ... | |
158 | 158 |
<?php |
159 | 159 |
if($count > 0) |
160 | 160 |
if( ($tablename == "bogons") || ($tablename == "bogonsv6") ) |
161 |
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.");
|
|
161 |
echo "<p/> <b>$count</b> " . gettext("entries exist in this table.") . "  " . "<input name='Download' type='submit' class='formbtn' value='" . gettext("Download") . "'> " . gettext(" the latest bogon data.");
|
|
162 | 162 |
else |
163 |
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.");
|
|
163 |
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.");
|
|
164 | 164 |
?> |
165 | 165 |
|
166 | 166 |
</table> |
Also available in: Unified diff
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.