2006-09-14 14:33:01 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
2006-09-26 10:38:45 +02:00
|
|
|
<style type="text/css"><?cs include:Data.Plugins.partition.StyleSheetFile ?></style>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.partition.Title.Partition) ?></h1>
|
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs if:subcount(Data.Plugins.partition.BlockDevices) > 0 ?>
|
|
|
|
|
2006-10-26 14:25:12 +02:00
|
|
|
<?cs call:print_form_header("select_device", "plugins/partition") ?>
|
2006-09-14 14:33:01 +02:00
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:hint(Lang.Plugins.partition.Text.WarningMessage) ?>
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<p><label for="block_device"><?cs var:html_escape(Lang.Plugins.partition.Text.SelectDevice) ?>: </label><br/>
|
2006-09-27 14:20:54 +02:00
|
|
|
<select name="block_device" id="block_device" tabindex="1" size="0">
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs each:x = Data.Plugins.partition.BlockDevices
|
2006-11-02 15:01:09 +01:00
|
|
|
?><option value="<?cs var:html_escape(x.name) ?>"><?cs
|
|
|
|
var:html_escape(x.name) ?> (<?cs var:html_escape(x.size) ?>)</option>
|
2006-09-14 14:33:01 +02:00
|
|
|
<?cs /each ?>
|
|
|
|
</select></p>
|
|
|
|
|
2006-10-09 18:43:14 +02:00
|
|
|
<p><input type="checkbox" name="create_config_partition" value="1" tabindex="2" id="create_config_partition" /><label for="create_config_partition"><?cs var:html_escape(Lang.Plugins.partition.Text.CreateConfigPartition) ?></label></p>
|
2006-09-20 12:40:37 +02:00
|
|
|
<!--
|
|
|
|
<?cs if:Data.Plugins.partition.CreateConfigPartition ?>
|
|
|
|
<input type="hidden" name="create_config_partition" value="1" />
|
|
|
|
<?cs /if ?>
|
|
|
|
-->
|
|
|
|
|
2006-09-14 14:33:01 +02:00
|
|
|
<input type="hidden" name="step" value="add_partition" />
|
|
|
|
|
2006-10-09 18:43:14 +02:00
|
|
|
<div align="center"><table><tr>
|
|
|
|
<!-- we have to avoid an ugly IE bug, that ignores the "value" attribute
|
|
|
|
of "button" elements: if a variable called 'easy' is set, then this
|
|
|
|
button was choosen - uuuuuugly! -->
|
|
|
|
<td><button type="submit" name="easy" value="1" tabindex="3"><?cs var:html_escape(Lang.Plugins.partition.Button.EasySetup) ?></button></td>
|
|
|
|
<td><button type="submit" name="normal" value="1" tabindex="4"><?cs var:html_escape(Lang.Plugins.partition.Button.SelectDevice) ?></button></td>
|
|
|
|
</tr></table></div>
|
2006-09-14 14:33:01 +02:00
|
|
|
|
|
|
|
</form>
|
|
|
|
|
|
|
|
<?cs /if ?>
|
|
|
|
|
2006-09-18 12:16:05 +02:00
|
|
|
<?cs # a warning will be displayed if there are no disks available ?>
|
|
|
|
|