source: trunk/services/templates/login_form.ihtml @ 436

Last change on this file since 436 was 421, checked in by anonymous, 11 years ago

Added switch for login_form_allow_autocomplete

File size: 958 bytes
RevLine 
[421]1<?php
2$autocomplete = $auth->getParam('login_form_allow_autocomplete') ? '' : ' autocomplete="off"';
3?>
4<form method="post" action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" class="sc-form"<?php echo $autocomplete; ?>>
[136]5<?php $app->printHiddenSession() ?>
[20]6<table>
[296]7    <tr class="sc-form-row">
[121]8        <td class="sc-right"><label for="username"><?php echo _("Username"); ?></label></td>
[22]9        <td>
[121]10            <input type="text" class="sc-small" size="20" name="username" value="<?php echo oTxt($frm['username']); ?>" />
[20]11        </td>
[1]12    </tr>
[296]13    <tr class="sc-form-row">
[121]14        <td class="sc-right"><label for="password"><?php echo _("Password"); ?></label></td>
[22]15        <td>
[421]16            <input type="password" class="sc-small" size="20" name="password" value=""<?php echo $autocomplete; ?> />
[20]17        </td>
[1]18    </tr>
19    <tr>
[20]20        <td>&nbsp;</td>
[22]21        <td><input type="submit" value="<?php echo _("Login"); ?>" /></td>
[1]22    </tr>
23</table>
24</form>
Note: See TracBrowser for help on using the repository browser.