cryptonas-archive/v0.3.4.3/plugins/system_preferences/show_plugins.cs

27 lines
800 B
C#
Raw Permalink Normal View History

<?cs # $Id$ ?>
<?cs call:handle_messages() ?>
<fieldset>
<legend>
<?cs call:show_plugin_icon() ?>
<?cs var:html_escape(Lang.Plugins.system_preferences.Title.Prefs) ?>
</legend>
<?cs # sort the Plugins - using the most stupid way :) ?>
<?cs loop: order = #0, #100, #1
?><?cs # plugins ?><?cs each:x = Settings.PluginList
?><?cs if:x.Types.system && x.Visible.preferences && x.Rank == order ?>
<div class="plugin_system ?>"><a href="<?cs
call:link(name(x),'','','','') ?>" title="<?cs
var:html_escape(Lang.Plugins[name(x)].Link) ?>"><img src="<?cs
call:link('icons/' + name(x), '','','','') ?>" alt="<?cs
var:html_escape('icon: ' + x.Name) ?>" /><br/><?cs
var:html_escape(Lang.Plugins[name(x)].Link) ?></a></div><?cs
/if ?><?cs
/each ?><?cs
/loop ?>
</fieldset>