cryptonas/plugins/volume_chpasswd/volume_chpasswd.cs
lars 405f6b90fa improved detection of 'active' plugin for marking in the main menu
plugin plugin_manager: prevent browser from caching repeatitive actions
plugin plugin_manager: add support for properties/volume visibility
plugins: moved message handling to central header file (templates/header.cs)
splitted 'volume_props' into 'volume_rename' and 'volume_chpasswd'
volume_props: turned into a container for small property changes
renamed 'format_fs' to 'volume_format_fs'
moved inclusion of 'show_volume_[header|footer].cs' to central header file
2006-11-13 16:11:07 +00:00

34 lines
1.3 KiB
C#

<?cs # $Id$ ?>
<h3><?cs var:html_escape(Lang.Plugins.volume_chpasswd.Title.ChangePassword) ?></h3>
<?cs # show password change form only for encrypted volumes ?>
<?cs if:Data.CurrentDisk.encryption ?>
<?cs call:print_form_header("set_password", "volume_chpasswd") ?>
<table>
<tr>
<td align="right"><label for="old_pw"><?cs var:html_escape(Lang.Text.EnterCurrentPassword) ?>: </label></td>
<td><input type="password" name="old_pw" tabindex="20" size="15" id="old_pw" /></td>
<td></td>
</tr>
<tr>
<td align="right"><label for="new_pw"><?cs var:html_escape(Lang.Text.EnterNewPassword) ?>: </label></td>
<td><input type="password" name="new_pw" tabindex="21" size="15" id="new_pw" /></td>
<td></td>
</tr>
<tr>
<td align="right"><label for="new_pw2"><?cs var:html_escape(Lang.Text.EnterSamePassword) ?>: </label></td>
<td><input type="password" name="new_pw2" tabindex="22" size="15" id="new_pw2" /></td>
<td>
<input type="hidden" name="device" value="<?cs var:html_escape(Data.CurrentDisk.device) ?>" />
<input type="hidden" name="store" value="change_pw" />
<button type="submit" tabindex="23"><?cs var:html_escape(Lang.Plugins.volume_chpasswd.Button.ChangePassword) ?></button>
</td>
</tr>
</table>
</form>
<?cs else ?>
<?cs call:hint("Plugins.volume_chpasswd.FormatForEncryptionSupport") ?>
<?cs /if ?>