cryptonas/plugins/disks/disks.cs

44 lines
1.3 KiB
C#
Raw Normal View History

2006-11-06 17:05:00 +01:00
<?cs # $Id$ ?>
<?cs call:handle_messages() ?>
<fieldset>
<legend>
<?cs call:show_plugin_icon() ?>
<?cs var:html_escape(Lang.Plugins.disks.Title) ?>
</legend>
<?cs call:show_help(Lang.Plugins.disks.Help.Disks) ?>
2006-11-06 17:05:00 +01:00
<?cs if:subcount(Data.Disks) == 0 ?>
<?cs call:hint("Plugins.disks.NoDisksAvailable") ?>
2006-11-06 17:05:00 +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(Data.Disks[index]) ?>
<?cs /loop ?>
<?cs /if ?>
</fieldset>
2006-11-06 17:05:00 +01:00
<!-- display this symbol legend if help is enabled -->
<?cs if:Settings.Help ?>
<fieldset>
<legend>
<?cs call:show_plugin_icon() ?>
<?cs var:html_escape(Lang.Plugins.disks.Legend) ?>
</legend>
<?cs call:show_help(Lang.Plugins.disks.Help.Legend) ?>
<!-- this legend is hard coded -->
<br />
<p class="legend">
<b>unencrypted</b> volumes:<br />
<img src="cryptobox-misc/volume_passive_plain.gif" alt="disk_symbol" /> - deactivated
<img src="cryptobox-misc/volume_active_plain.gif" alt="disk_symbol" /> - activated
</p>
<p class="legend">
<b>encrypted</b> volumes:<br />
<img src="cryptobox-misc/volume_passive_crypto.gif" alt="disk_symbol" /> - deactivated
<img src="cryptobox-misc/volume_active_crypto.gif" alt="disk_symbol" /> - activated
</p>
</fieldset>
<?cs /if ?>