diff options
author | N0YB <Al_Stu@Frontier.com> | 2015-06-14 22:39:19 -0700 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2015-06-25 08:31:38 -0300 |
commit | 0f383d78a0471a2550b87792c317956f97421087 (patch) | |
tree | 5d3e6908882288770fb21d8d8effdab8c9c79286 /usr/local | |
parent | 0828f970a8e3ed88988ca7a3d8fba46a54da6e66 (diff) | |
download | pfsense-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')
-rw-r--r-- | usr/local/www/diag_tables.php | 2 |
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> |