2006-10-09 18:43:14 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
|
|
|
<?cs include:Settings.TemplateDir + "/show_volume_header.cs" ?>
|
|
|
|
|
|
|
|
<h2><?cs var:html_escape(Lang.Plugins.format_fs.Title.Format) ?></h2>
|
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
|
2006-10-09 18:43:14 +02:00
|
|
|
<?cs if:Data.CurrentDisk.active ?>
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:hint(Lang.Plugins.format_fs.Text.UnmountBeforeInit) ?>
|
2006-10-09 18:43:14 +02:00
|
|
|
<?cs else ?>
|
|
|
|
|
2006-10-26 14:25:12 +02:00
|
|
|
<?cs call:print_form_header("set_type", "plugins/format_fs") ?>
|
2006-10-09 18:43:14 +02:00
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:hint(Lang.Plugins.format_fs.Text.FormatWarning) ?>
|
|
|
|
|
2006-10-09 18:43:14 +02:00
|
|
|
<p><label for="fs_type"><?cs var:html_escape(Lang.Plugins.format_fs.Text.FSType)
|
2006-11-02 15:01:09 +01:00
|
|
|
?>: </label><select name="fs_type" id="fs_type" size="0">
|
2006-10-09 18:43:14 +02:00
|
|
|
<?cs each:x = Data.Plugins.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.format_fs.Text.IsEncrypted)
|
2006-11-02 15:01:09 +01:00
|
|
|
?>: </label><select name="container_type" id="container_type">
|
|
|
|
<option value="luks" <?cs if:Data.Plugins.format_fs.container_type != "plain" ?>selected="selected"<?cs /if ?>><?cs var:html_escape(Lang.Plugins.format_fs.Text.Yes) ?></option>
|
2006-10-09 18:43:14 +02:00
|
|
|
<option value="plain" <?cs if:Data.Plugins.format_fs.container_type == "plain" ?>selected="selected"<?cs /if ?>><?cs var:html_escape(Lang.Plugins.format_fs.Text.No) ?></option>
|
|
|
|
</select></p>
|
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<p><input type="checkbox" name="confirm" value="1" id="confirm" /><label for="confirm"><?cs var:html_escape(Lang.Plugins.format_fs.Text.Confirm) ?></label></p>
|
2006-10-09 18:43:14 +02:00
|
|
|
|
|
|
|
<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.format_fs.Button.Format) ?></button>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?cs /if ?>
|
|
|
|
|
|
|
|
<?cs include:Settings.TemplateDir + "/show_volume_footer.cs" ?>
|