summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2015-06-14 22:39:19 -0700
committerN0YB <Al_Stu@Frontier.com>2015-06-14 22:39:19 -0700
commitbf2dba75b0e84940bf0526484fe5a045b5e907e3 (patch)
treeaa517c0ae2ad2c544fb52ec736c5ffddc6a0af8a /usr/local
parentd26955ff8b9e3b2732dcdda3965a4275d6a40ad3 (diff)
downloadpfsense-bf2dba75b0e84940bf0526484fe5a045b5e907e3.zip
pfsense-bf2dba75b0e84940bf0526484fe5a045b5e907e3.tar.gz
XHTML Compliance
html id's not permitted to begin with a number. html id's not permitted to contain '/' add prefix (entry_) and replace slash with hyphen. table entry id format becomes: entry_<ip address>-<cidr> replacing the format: <ip address>/<cidr> does not change the displayed format.
Diffstat (limited to 'usr/local')
-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 289d39f..8c71368 100644
--- a/usr/local/www/diag_tables.php
+++ b/usr/local/www/diag_tables.php
@@ -147,7 +147,7 @@ include("head.inc");
foreach ($entries as $entryA):
$entry = trim($entryA);
?>
- <tr id="<?=$entry?>">
+ <tr id="entry_<?=str_replace("/", "-", $entry)?>">
<td>
<?php echo $entry; ?>
</td>
OpenPOWER on IntegriCloud