lars
108acd0e8a
moved log file reading from cryptobox/core/main to 'log' plugin added unittests for volume_mount, volume_format_fs and volume_rename replace "get help" links with a "help mode" displaying information for every form added first drafts of help texts for volume_mount, volume_format and partition replaced the word 'container' with 'volume' in english texts
36 lines
1.9 KiB
C#
36 lines
1.9 KiB
C#
<h3><?cs var:html_escape(Lang.Plugins.volume_format_fs.Title.Format) ?></h3>
|
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
<?cs call:show_help(Lang.Plugins.volume_format_fs.Help.Format) ?>
|
|
<?cs call:show_help(Lang.Plugins.volume_format_fs.Help.Filesystem) ?>
|
|
<?cs call:show_help(Lang.Plugins.volume_format_fs.Help.Encryption) ?>
|
|
|
|
<?cs if:Data.CurrentDisk.active ?>
|
|
<?cs call:hint("Plugins.volume_format_fs.UnmountBeforeInit") ?>
|
|
<?cs else ?>
|
|
|
|
<?cs call:hint("Plugins.volume_format_fs.FormatWarning") ?>
|
|
|
|
<?cs call:print_form_header("set_type", "volume_format_fs") ?>
|
|
<p><label for="fs_type"><?cs var:html_escape(Lang.Plugins.volume_format_fs.Text.FSType)
|
|
?>: </label><select name="fs_type" id="fs_type" size="0">
|
|
<?cs each:x = Data.Plugins.volume_format_fs.fs_types ?>
|
|
<option <?cs if:x == "windows" ?>selected="selected"<?cs /if ?>><?cs var:html_escape(x) ?></option><?cs /each ?>
|
|
</select></p>
|
|
|
|
<p><label for="container_type"><?cs var:html_escape(Lang.Plugins.volume_format_fs.Text.IsEncrypted)
|
|
?>: </label><select name="container_type" id="container_type">
|
|
<option value="luks" <?cs if:Data.Plugins.volume_format_fs.container_type != "plain" ?>selected="selected"<?cs /if ?>><?cs var:html_escape(Lang.Plugins.volume_format_fs.Text.Yes) ?></option>
|
|
<option value="plain" <?cs if:Data.Plugins.volume_format_fs.container_type == "plain" ?>selected="selected"<?cs /if ?>><?cs var:html_escape(Lang.Plugins.volume_format_fs.Text.No) ?></option>
|
|
</select></p>
|
|
|
|
<p><input type="checkbox" name="confirm" value="1" id="confirm" /><label for="confirm"><?cs var:html_escape(Lang.Plugins.volume_format_fs.Text.Confirm) ?></label></p>
|
|
|
|
<p><input type="hidden" name="device" value="<?cs var:Data.CurrentDisk.device ?>" />
|
|
<input type="hidden" name="store" value="step1" />
|
|
<button type="submit"><?cs var:html_escape(Lang.Plugins.volume_format_fs.Button.Format) ?></button></p>
|
|
</form>
|
|
|
|
<?cs /if ?>
|
|
|