cryptonas/plugins/volume_mount/volume_mount.cs
lars 3e1bfda98e added some exception catching for writing setting files
added help texts for all plugins
fixed 'encryption status' bug in 'volume_details'
improved rendering of 'volume_properties' and 'user_manager'
chmod root directory of mounted volumes to 0777 to avoid later permission problems for samba or WebDAV
2006-12-13 10:01:58 +00:00

21 lines
898 B
C#

<<?cs var:plugin_heading ?>><?cs var:html_escape(Lang.Plugins.volume_mount.Title.Mount) ?></<?cs var:plugin_heading ?>>
<?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.volume_mount.Help.Open) ?>
<?cs call:print_form_header("mount", "volume_mount") ?><p>
<input type="hidden" name="device" value="<?cs var:html_escape(Data.CurrentDisk.device) ?>" />
<?cs if:Data.CurrentDisk.encryption ?>
<input type="hidden" name="action" value="mount_luks" />
<?cs else ?>
<input type="hidden" name="action" value="mount_plain" />
<?cs /if ?>
<?cs if:Data.CurrentDisk.encryption ?>
<label for="pw"><?cs var:html_escape(Lang.Text.EnterCurrentPassword) ?>: </label>
<input type="password" tabindex="1" id="pw" name="pw" size="20" maxlength="60" />
<?cs /if ?>
<button type="submit" tabindex="2"><?cs var:html_escape(Lang.Plugins.volume_mount.Button.Mount) ?></button>
</p></form>