cryptonas-branches/pythonrewrite/templates/form_init_partition.cs
lars 0aa1f9f74b german language file updated
WebInterfaceDataset replaces CryptoBoxWebserverSettings
WebInterfaceSites replaces CryptoBoxWebserverSites
input validation rewritten
clearsiler macro 'print_form_header' now expects the 'action' as a parameter
2006-09-07 11:21:56 +00:00

32 lines
1.5 KiB
C#

<?cs # $Id$ ?>
<h1><?cs var:html_escape(Lang.Title.Init) ?></h1>
<?cs call:print_form_header("volume_init_do") ?>
<p class="note"><?cs var:html_escape(Lang.Text.InitWarning) ?></p>
<?cs if:Data.Config.AdminPasswordIsSet ?>
<p><label for="current_admin_password"><?cs
var:html_escape(Lang.Text.EnterCurrentAdminPassword) ?></label><br/>
<input type="password" id="current_admin_password" name="current_admin_password"
size="20" maxlength="40" /></p><?cs /if ?>
<?cs if:Data.CurrentDisk.InitParams.encrypted ?>
<p><label for="crypto_password"><?cs var:html_escape(Lang.Text.EnterNewCryptoPassword)
?></label><br/>
<input type="password" id="crypto_password" name="crypto_password"
size="20" maxlength="40" /></p>
<p><label for="crypto_password2"><?cs var:html_escape(Lang.Text.EnterSameCryptoPassword)
?></label><br/>
<input type="password" id="crypto_password2" name="crypto_password2"
size="20" maxlength="40" />
<input type="hidden" name="encryption" value="selected" /></p>
<?cs /if ?>
<p><label for="confirm"><?cs var:html_escape(Lang.Text.ConfirmInitHint) ?><br/>
<span class="note" id="confirmtext"><?cs var:html_escape(Lang.Text.ConfirmInit) ?></span></label><br/>
<input type="text" id="confirm" name="confirm" size="30" maxlength="50" /></p>
<p><input type="hidden" name="device" value="<?cs var:html_escape(Data.CurrentDisk.device) ?>" />
<button type="submit"><?cs var:html_escape(Lang.Button.InitContainer) ?></button></p>
</form>