44 lines
1.6 KiB
C#
44 lines
1.6 KiB
C#
<div class="title">
|
|
<h1><?cs var:html_escape(Lang.Title.Password) ?></h1>
|
|
</div>
|
|
|
|
<fieldset class="form">
|
|
<legend><?cs var:html_escape(Lang.Legend.Password) ?> </legend>
|
|
|
|
<form method="post" action="<?cs var:Config.ScriptName ?>" enctype="application/x-www-form-urlencoded">
|
|
<ul>
|
|
<li><?cs if:subcount(Data.Password.Types) > 1 ?>
|
|
<label for="pw_type"><?cs var:html_escape(Lang.Misc.PasswordType)
|
|
?>:</label>
|
|
<select id="pw_type" name="pw_type">
|
|
<?cs each:pw_type = Data.Password.Types ?>
|
|
<option><?cs var:pw_type ?></option>
|
|
<?cs /each ?>
|
|
<option selected="selected" value="all"><?cs
|
|
var:html_escape(Lang.Misc.AllPasswords)
|
|
?></option>
|
|
</select>
|
|
<?cs else ?>
|
|
<!-- the "each" statement will only retrieve the one pw_type -->
|
|
<?cs each:pw_type = Data.Password.Types ?>
|
|
<input type="hidden" name="pw_type"
|
|
value="<?cs var:pw_type ?>" />
|
|
<?cs /each ?>
|
|
<?cs /if ?></li>
|
|
<li><label for="newpw"><?cs var:html_escape(Lang.Misc.NewPassword) ?>:</label>
|
|
<input type="password" id="newpw" name="newpassword" size="20" /></li>
|
|
<li><label for="newpw2"><?cs var:html_escape(Lang.Misc.NewPasswordAgain)
|
|
?>:</label>
|
|
<input type="password" id="newpw2" name="newpassword2"
|
|
size="20" /></li>
|
|
<li><label for="oldpw"><?cs var:html_escape(Lang.Misc.OldPassword) ?>:</label>
|
|
<input type="password" name="oldpassword" id="oldpw" size="20" /></li>
|
|
|
|
|
|
</ul>
|
|
|
|
<input type="hidden" name="action" value="password_update" />
|
|
<button type="submit" name="send" value="do"><?cs var:html_escape(Lang.Buttons.Password) ?></button>
|
|
</form>
|
|
|
|
</fieldset>
|