lars
de3280806f
plugin interface changed ("prepareForm" removed) plugins do not raise exceptions anymore first part of the partitioning plugin device-specific stuff moved to CryptoBoxTools
27 lines
795 B
C#
27 lines
795 B
C#
<?cs # $Id$ ?>
|
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.partition.Title.Partition) ?></h1>
|
|
|
|
<?cs if:subcount(Data.Plugins.partition.BlockDevices) > 0 ?>
|
|
|
|
<?cs call:print_form_header("plugins/partition") ?>
|
|
|
|
<p><label for="block_device"><?cs var:html_escape(Lang.Plugins.partition.Text.SelectDevice) ?>: </label><br/>
|
|
<select name="block_device" id="block_device" size="0">
|
|
<?cs each:x = Data.Plugins.partition.BlockDevices
|
|
?><option><?cs var:html_escape(x) ?></option>
|
|
<?cs /each ?>
|
|
</select></p>
|
|
|
|
<input type="hidden" name="step" value="add_partition" />
|
|
|
|
<button type="submit"><?cs var:html_escape(Lang.Plugins.partition.Button.SelectDevice) ?></button>
|
|
|
|
</form>
|
|
|
|
<?cs else ?>
|
|
|
|
<p><?cs var:html_escape(Lang.Plugins.partition.Text.NoDevicesAvailable) ?></p>
|
|
|
|
<?cs /if ?>
|
|
|