diff options
author | N0YB <Al_Stu@Frontier.com> | 2015-06-14 22:39:19 -0700 |
---|---|---|
committer | N0YB <Al_Stu@Frontier.com> | 2015-06-14 22:39:19 -0700 |
commit | bf2dba75b0e84940bf0526484fe5a045b5e907e3 (patch) | |
tree | aa517c0ae2ad2c544fb52ec736c5ffddc6a0af8a /usr | |
parent | d26955ff8b9e3b2732dcdda3965a4275d6a40ad3 (diff) | |
download | pfsense-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')
-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 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> |