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_luks", "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><?cs var:html_escape(Lang.Plugins.format_fs.Text.FSType) ?>: <?cs var:html_escape(Data.Plugins.format_fs.fs_type) ?></p>
|
|
|
|
<p><?cs var:html_escape(Lang.Plugins.format_fs.Text.IsEncrypted) ?>: <?cs if:Data.Plugins.format_fs.container_type == "luks" ?><?cs
|
|
|
|
var:html_escape(Lang.Plugins.format_fs.Text.Yes) ?><?cs else ?><?cs
|
|
|
|
var:html_escape(Lang.Plugins.format_fs.Text.No) ?><?cs /if ?></p>
|
|
|
|
|
2006-10-26 14:25:12 +02:00
|
|
|
<p><label for="crypto_password"><?cs var:html_escape(Lang.Text.EnterNewPassword) ?>: </label> <input type="password" id="crypto_password" name="crypto_password" /></p>
|
|
|
|
<p><label for="crypto_password2"><?cs var:html_escape(Lang.Text.EnterSamePassword) ?>: </label> <input type="password" id="crypto_password2" name="crypto_password2" /></p>
|
2006-10-09 18:43:14 +02:00
|
|
|
<input type="hidden" name="device" value="<?cs var:Data.CurrentDisk.device ?>" />
|
|
|
|
<input type="hidden" name="fs_type" value="<?cs var:html_escape(Data.Plugins.format_fs.fs_type) ?>" />
|
|
|
|
<input type="hidden" name="container_type" value="<?cs var:html_escape(Data.Plugins.format_fs.container_type) ?>" />
|
|
|
|
<input type="hidden" name="store" value="step2" />
|
|
|
|
<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" ?>
|