cryptonas/plugins/disks/disks.cs
age 6266c1f124 * added help content for disk overview
* legend for disk icons
 * larger disk icons
2007-02-25 01:01:33 +00:00

44 lines
1.3 KiB
C#

<?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) ?>
<?cs if:subcount(Data.Disks) == 0 ?>
<?cs call:hint("Plugins.disks.NoDisksAvailable") ?>
<?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>
<!-- 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 ?>