summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_authentication.php
diff options
context:
space:
mode:
authorColin Fleming <cj_fleming@sky.com>2014-05-17 12:38:45 +0100
committerColin Fleming <cj_fleming@sky.com>2014-05-17 12:38:45 +0100
commit1ec2168679fdc6acb97f66e0dfc46f2efd315749 (patch)
treed0e86528cdbe52bad7734d9aab9ab7e755e814ba /usr/local/www/diag_authentication.php
parent024068017f98572f6bd41b7ba542fc36fccee39a (diff)
downloadpfsense-1ec2168679fdc6acb97f66e0dfc46f2efd315749.zip
pfsense-1ec2168679fdc6acb97f66e0dfc46f2efd315749.tar.gz
Tidy up "diag_authentication.php" XHTML
Add SUMMARY to TABLES Update HTML Boolean operators Add missing closing FORM, closing DIV, closing BODY and closing HTML
Diffstat (limited to 'usr/local/www/diag_authentication.php')
-rw-r--r--usr/local/www/diag_authentication.php16
1 files changed, 10 insertions, 6 deletions
diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php
index 697f5b0..5fd0abd 100644
--- a/usr/local/www/diag_authentication.php
+++ b/usr/local/www/diag_authentication.php
@@ -78,7 +78,7 @@ include("head.inc");
<?php if ($input_errors) print_input_errors($input_errors);?>
<?php if ($savemsg) print_info_box($savemsg);?>
-<table width="100%" border="0" cellpadding="0" cellspacing="0">
+<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="diag authentication">
<tr>
<td class="tabnavtbl"></td>
</tr>
@@ -86,17 +86,17 @@ include("head.inc");
<td>
<div id="mainarea">
<form id="iform" name="iform" action="diag_authentication.php" method="post">
- <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6">
+ <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6" summary="test">
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Authentication Server"); ?></td>
<td width="78%" class="vtable">
- <select name='authmode' id='authmode' class="formselect" >
+ <select name="authmode" id="authmode" class="formselect" >
<?php
$auth_servers = auth_get_authserver_list();
foreach ($auth_servers as $auth_server):
$selected = "";
if ($auth_server['name'] == $pconfig['authmode'])
- $selected = "selected";
+ $selected = "selected=\"selected\"";
?>
<option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option>
<?php endforeach; ?>
@@ -106,13 +106,13 @@ include("head.inc");
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Username"); ?></td>
<td width="78%" class="vtable">
- <input class="formfld unknown" size='20' id='username' name='username' value="<?=htmlspecialchars($pconfig['username']);?>" />
+ <input class="formfld unknown" size="20" id="username" name="username" value="<?=htmlspecialchars($pconfig['username']);?>" />
</td>
</tr>
<tr>
<td width="22%" valign="top" class="vncell"><?=gettext("Password"); ?></td>
<td width="78%" class="vtable">
- <input class="formfld pwd" type='password' size='20' id='password' name='password' value="<?=htmlspecialchars($pconfig['password']);?>" />
+ <input class="formfld pwd" type="password" size="20" id="password" name="password" value="<?=htmlspecialchars($pconfig['password']);?>" />
</td>
</tr>
<tr>
@@ -122,7 +122,11 @@ include("head.inc");
</td>
</tr>
</table>
+ </form>
+ </div>
</td></tr>
</table>
<?php include("fend.inc"); ?>
+</body>
+</html>
OpenPOWER on IntegriCloud