2006-11-01 10:22:58 +01:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
|
|
|
<h1><?cs var:html_escape(Lang.Plugins.disks.Title.Disks) ?></h1>
|
|
|
|
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:handle_messages() ?>
|
|
|
|
|
2006-11-01 10:22:58 +01:00
|
|
|
<?cs # TODO: add no-disks-available warning ?>
|
|
|
|
|
|
|
|
<?cs if:subcount(Data.Disks) == 0 ?>
|
2006-11-02 15:01:09 +01:00
|
|
|
<?cs call:hint(Lang.Plugins.disks.Text.NoDisksAvailable) ?>
|
2006-11-01 10:22:58 +01:00
|
|
|
<?cs else ?>
|
|
|
|
<?cs # we use "loop" instead of "each" to keep the order of the disks ?>
|
|
|
|
<?cs loop: index = #0, subcount(Data.Disks)-1, #1 ?>
|
|
|
|
<?cs call:show_volume(index) ?>
|
|
|
|
<?cs /loop ?>
|
|
|
|
<?cs /if ?>
|
|
|
|
|