diff options
author | Colin Fleming <cj_fleming@sky.com> | 2014-05-08 23:35:55 +0100 |
---|---|---|
committer | Colin Fleming <cj_fleming@sky.com> | 2014-05-08 23:35:55 +0100 |
commit | e5d6b6086d3c5e3ea2b1d906eaf86fb2314cc0a9 (patch) | |
tree | aa0f0543f648cc50bf0589e59fb3eca9eb244355 /usr/local/www/vpn_l2tp_users.php | |
parent | 0a15a38d75ebebdeda4727580e82290e87663816 (diff) | |
download | pfsense-e5d6b6086d3c5e3ea2b1d906eaf86fb2314cc0a9.zip pfsense-e5d6b6086d3c5e3ea2b1d906eaf86fb2314cc0a9.tar.gz |
Tidy up "vpn_l2tp_users" XHTML
Add SUMMARY to TABLES
Move NOWRAP to CLASS statement
Close IMG tags and add ALT statement
Deprecate ampersand in Anchor tags
Add missing closing TR tag
Diffstat (limited to 'usr/local/www/vpn_l2tp_users.php')
-rw-r--r-- | usr/local/www/vpn_l2tp_users.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/vpn_l2tp_users.php b/usr/local/www/vpn_l2tp_users.php index 58a2ebb..8793601 100644 --- a/usr/local/www/vpn_l2tp_users.php +++ b/usr/local/www/vpn_l2tp_users.php @@ -83,10 +83,10 @@ include("head.inc"); <?php if ($savemsg) print_info_box($savemsg); ?> <?php if (isset($config['l2tp']['radius']['enable'])) print_info_box(gettext("Warning: RADIUS is enabled. The local user database will not be used.")); ?> -<?php if (is_subsystem_dirty('l2tpusers')): ?><p> +<?php if (is_subsystem_dirty('l2tpusers')): ?><br/> <?php print_info_box_np(gettext("The l2tp user list has been modified") . ".<br />" . gettext("You must apply the changes in order for them to take effect") . ".<br /><b>" . gettext("Warning: this will terminate all current l2tp sessions!") . "</b>");?><br /> <?php endif; ?> -<table width="100%" border="0" cellpadding="0" cellspacing="0"> +<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="vpn l2pt users"> <tr><td class="tabnavtbl"> <?php $tab_array = array(); @@ -97,7 +97,7 @@ include("head.inc"); <tr> <td> <div id="mainarea"> - <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0"> + <table class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0" summary="main area"> <tr> <td class="listhdrr"><?=gettext("Username");?></td> <td class="listhdr"><?=gettext("IP address");?></td> @@ -112,13 +112,13 @@ include("head.inc"); <?php if($secretent['ip'] == "") $secretent['ip'] = "Dynamic"; ?> <?=htmlspecialchars($secretent['ip']);?> </td> - <td class="list" nowrap> <a href="vpn_l2tp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit user" width="17" height="17" border="0" alt="" /></a> - <a href="vpn_l2tp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user"); ?>" width="17" height="17" border="0" alt="" /></a></td> + <td class="list nowrap"><a href="vpn_l2tp_users_edit.php?id=<?=$i;?>"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_e.gif" title="edit user" width="17" height="17" border="0" alt="edit" /></a> + <a href="vpn_l2tp_users.php?act=del&id=<?=$i;?>" onclick="return confirm('<?=gettext("Do you really want to delete this user?");?>')"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_x.gif" title="<?=gettext("delete user"); ?>" width="17" height="17" border="0" alt="delete" /></a></td> </tr> <?php $i++; endforeach; ?> <tr> <td class="list" colspan="2"></td> - <td class="list"> <a href="vpn_l2tp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user"); ?>" width="17" height="17" border="0" alt="" /></a></td> + <td class="list"> <a href="vpn_l2tp_users_edit.php"><img src="./themes/<?= $g['theme']; ?>/images/icons/icon_plus.gif" title="<?=gettext("add user"); ?>" width="17" height="17" border="0" alt="add" /></a></td> </tr> </table> </div> |