summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorN0YB <Al_Stu@Frontier.com>2015-06-14 22:39:19 -0700
committerRenato Botelho <renato@netgate.com>2015-06-25 08:31:38 -0300
commit0f383d78a0471a2550b87792c317956f97421087 (patch)
tree5d3e6908882288770fb21d8d8effdab8c9c79286 /usr/local/www
parent0828f970a8e3ed88988ca7a3d8fba46a54da6e66 (diff)
downloadpfsense-0f383d78a0471a2550b87792c317956f97421087.zip
pfsense-0f383d78a0471a2550b87792c317956f97421087.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/www')
-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 09237e3..a10ea63 100644
--- a/usr/local/www/diag_tables.php
+++ b/usr/local/www/diag_tables.php
@@ -138,7 +138,7 @@ include("head.inc");
</tr>
<?php $count = 0; foreach($entries as $entryA): ?>
<?php $entry = trim($entryA); ?>
- <tr id="<?=$entry?>">
+ <tr id="entry_<?=str_replace("/", "-", $entry)?>">
<td>
<?php echo $entry; ?>
</td>
OpenPOWER on IntegriCloud