moved log file reading from cryptobox/core/main to 'log' plugin added unittests for volume_mount, volume_format_fs and volume_rename replace "get help" links with a "help mode" displaying information for every form added first drafts of help texts for volume_mount, volume_format and partition replaced the word 'container' with 'volume' in english texts
42 lines
1.6 KiB
C#
42 lines
1.6 KiB
C#
<?cs # $Id$ ?>
|
|
|
|
<style type="text/css"><?cs include:Data.Plugins.partition.StyleSheetFile ?></style>
|
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.partition.Title.Partition) ?></h1>
|
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
<?cs if:subcount(Data.Plugins.partition.BlockDevices) > 0 ?>
|
|
|
|
<?cs call:show_help(Lang.Plugins.partition.Help.Partitioning) ?>
|
|
<?cs call:show_help(Lang.Plugins.partition.Help.SelectDevice) ?>
|
|
<?cs call:show_help(Lang.Plugins.partition.Help.PartMode) ?>
|
|
|
|
<?cs call:print_form_header("select_device", "partition") ?>
|
|
|
|
<?cs call:hint("Plugins.partition.DeviceDataIsLost") ?>
|
|
|
|
<p><label for="block_device"><?cs var:html_escape(Lang.Plugins.partition.Text.SelectDevice) ?>: </label><br/><br />
|
|
<select name="block_device" id="block_device" tabindex="1" size="0">
|
|
<?cs each:x = Data.Plugins.partition.BlockDevices
|
|
?><option value="<?cs var:html_escape(x.name) ?>"><?cs
|
|
var:html_escape(x.name) ?> (<?cs var:html_escape(x.size) ?>)</option>
|
|
<?cs /each ?>
|
|
</select></p>
|
|
|
|
<input type="hidden" name="step" value="add_partition" />
|
|
|
|
<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>
|
|
|
|
</form>
|
|
|
|
<?cs /if ?>
|
|
|
|
<?cs # a warning will be displayed if there are no disks available ?>
|
|
|