summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_authentication.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-05-27 16:25:15 +0545
committerPhil Davis <phil.davis@inf.org>2015-05-27 16:25:15 +0545
commit699737d90221580b18adfbd30abdbd609803cffd (patch)
treec899d693cdc72c36c9893d8f58d5f9d18217f703 /usr/local/www/diag_authentication.php
parent7fd939939c7cfd73ea5e944e05ce28a73cb073e2 (diff)
downloadpfsense-699737d90221580b18adfbd30abdbd609803cffd.zip
pfsense-699737d90221580b18adfbd30abdbd609803cffd.tar.gz
Code style www diag more bits
Diffstat (limited to 'usr/local/www/diag_authentication.php')
-rw-r--r--usr/local/www/diag_authentication.php85
1 files changed, 43 insertions, 42 deletions
diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php
index 1c02828..de8a43b 100644
--- a/usr/local/www/diag_authentication.php
+++ b/usr/local/www/diag_authentication.php
@@ -69,7 +69,7 @@ if ($_POST) {
}
}
}
-$pgtitle = array(gettext("Diagnostics"),gettext("Authentication"));
+$pgtitle = array(gettext("Diagnostics"), gettext("Authentication"));
$shortcut_section = "authentication";
include("head.inc");
@@ -86,49 +86,50 @@ include("head.inc");
<td class="tabnavtbl"></td>
</tr>
<tr>
- <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" 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" >
- <?php
- $auth_servers = auth_get_authserver_list();
- foreach ($auth_servers as $auth_server):
- $selected = "";
- if ($auth_server['name'] == $pconfig['authmode']) {
- $selected = "selected=\"selected\"";
- }
- ?>
- <option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option>
- <?php endforeach; ?>
- </select>
- </td>
- </tr>
- <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']);?>" />
- </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="passwordfld" name="passwordfld" value="<?=htmlspecialchars($pconfig['passwordfld']);?>" />
- </td>
- </tr>
- <tr>
- <td width="22%" valign="top">&nbsp;</td>
- <td width="78%">
- <input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Test");?>" />
+ <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" 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" >
+ <?php
+ $auth_servers = auth_get_authserver_list();
+ foreach ($auth_servers as $auth_server):
+ $selected = "";
+ if ($auth_server['name'] == $pconfig['authmode']) {
+ $selected = "selected=\"selected\"";
+ }
+ ?>
+ <option value="<?=$auth_server['name'];?>" <?=$selected;?>><?=$auth_server['name'];?></option>
+ <?php endforeach; ?>
+ </select>
+ </td>
+ </tr>
+ <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']);?>" />
+ </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="passwordfld" name="passwordfld" value="<?=htmlspecialchars($pconfig['passwordfld']);?>" />
+ </td>
+ </tr>
+ <tr>
+ <td width="22%" valign="top">&nbsp;</td>
+ <td width="78%">
+ <input id="save" name="save" type="submit" class="formbtn" value="<?=gettext("Test");?>" />
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
</td>
</tr>
- </table>
- </form>
- </div>
- </td></tr>
</table>
<?php include("fend.inc"); ?>
OpenPOWER on IntegriCloud