2006-10-09 18:42:40 +02:00
|
|
|
<?cs # $Id$ ?>
|
|
|
|
|
2006-11-01 10:28:48 +01:00
|
|
|
<?cs # show all available volume plugins on top of the volume table ?>
|
|
|
|
|
|
|
|
<?cs # count volume plugins ?>
|
2006-10-09 18:42:40 +02:00
|
|
|
<?cs set:volume_plugin_count=0 ?><?cs
|
|
|
|
each: x = Settings.PluginList ?><?cs
|
|
|
|
if:x.Types.volume ?><?cs set:volume_plugin_count=volume_plugin_count+1 ?><?cs /if ?><?cs
|
|
|
|
/each ?>
|
|
|
|
|
2006-11-01 10:28:48 +01:00
|
|
|
<?cs # show one tab for each plugin ?>
|
2006-10-09 18:42:40 +02:00
|
|
|
<?cs if:volume_plugin_count>0 ?>
|
|
|
|
<?cs # sort the Plugins - using the most stupid way :) ?>
|
|
|
|
<?cs loop: order = #0, #100, #1
|
|
|
|
?><?cs # plugins ?><?cs each:x = Settings.PluginList
|
2006-10-11 17:50:07 +02:00
|
|
|
?><?cs if:x.Enabled && x.Types.volume && x.Rank == order ?>
|
2006-10-09 18:42:40 +02:00
|
|
|
<td <?cs if:Data.ActivePlugin == name(x)
|
|
|
|
?>class="volume_plugin_active"<?cs
|
|
|
|
else ?>class="volume_plugin_passive"<?cs
|
|
|
|
/if ?>><a href="<?cs call:link('plugins/' + name(x),'device',Data.CurrentDisk.device,'','') ?>" title="<?cs var:html_escape(x.Link) ?>"><?cs var:html_escape(x.Link) ?></a></td><?cs
|
|
|
|
/if ?><?cs
|
|
|
|
/each ?><?cs
|
|
|
|
/loop ?>
|
|
|
|
<?cs /if ?>
|
2006-11-02 15:00:28 +01:00
|
|
|
|