Révision 1ec21686
Ajouté par Colin Fleming il y a presque 10 ans
usr/local/www/diag_authentication.php | ||
---|---|---|
78 | 78 |
<?php if ($input_errors) print_input_errors($input_errors);?> |
79 | 79 |
<?php if ($savemsg) print_info_box($savemsg);?> |
80 | 80 |
|
81 |
<table width="100%" border="0" cellpadding="0" cellspacing="0"> |
|
81 |
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="diag authentication">
|
|
82 | 82 |
<tr> |
83 | 83 |
<td class="tabnavtbl"></td> |
84 | 84 |
</tr> |
... | ... | |
86 | 86 |
<td> |
87 | 87 |
<div id="mainarea"> |
88 | 88 |
<form id="iform" name="iform" action="diag_authentication.php" method="post"> |
89 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6"> |
|
89 |
<table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="6" summary="test">
|
|
90 | 90 |
<tr> |
91 | 91 |
<td width="22%" valign="top" class="vncell"><?=gettext("Authentication Server"); ?></td> |
92 | 92 |
<td width="78%" class="vtable"> |
93 |
<select name='authmode' id='authmode' class="formselect" >
|
|
93 |
<select name="authmode" id="authmode" class="formselect" >
|
|
94 | 94 |
<?php |
95 | 95 |
$auth_servers = auth_get_authserver_list(); |
96 | 96 |
foreach ($auth_servers as $auth_server): |
97 | 97 |
$selected = ""; |
98 | 98 |
if ($auth_server['name'] == $pconfig['authmode']) |
99 |
$selected = "selected"; |
|
99 |
$selected = "selected=\"selected\"";
|
|
100 | 100 |
?> |
101 | 101 |
<option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option> |
102 | 102 |
<?php endforeach; ?> |
... | ... | |
106 | 106 |
<tr> |
107 | 107 |
<td width="22%" valign="top" class="vncell"><?=gettext("Username"); ?></td> |
108 | 108 |
<td width="78%" class="vtable"> |
109 |
<input class="formfld unknown" size='20' id='username' name='username' value="<?=htmlspecialchars($pconfig['username']);?>" />
|
|
109 |
<input class="formfld unknown" size="20" id="username" name="username" value="<?=htmlspecialchars($pconfig['username']);?>" />
|
|
110 | 110 |
</td> |
111 | 111 |
</tr> |
112 | 112 |
<tr> |
113 | 113 |
<td width="22%" valign="top" class="vncell"><?=gettext("Password"); ?></td> |
114 | 114 |
<td width="78%" class="vtable"> |
115 |
<input class="formfld pwd" type='password' size='20' id='password' name='password' value="<?=htmlspecialchars($pconfig['password']);?>" />
|
|
115 |
<input class="formfld pwd" type="password" size="20" id="password" name="password" value="<?=htmlspecialchars($pconfig['password']);?>" />
|
|
116 | 116 |
</td> |
117 | 117 |
</tr> |
118 | 118 |
<tr> |
... | ... | |
122 | 122 |
</td> |
123 | 123 |
</tr> |
124 | 124 |
</table> |
125 |
</form> |
|
126 |
</div> |
|
125 | 127 |
</td></tr> |
126 | 128 |
</table> |
127 | 129 |
|
128 | 130 |
<?php include("fend.inc"); ?> |
131 |
</body> |
|
132 |
</html> |
Formats disponibles : Unified diff
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