cryptonas-archive/v0.3.5/plugins/system_preferences/show_plugins.cs
2009-07-18 04:12:08 +00:00

28 lines
868 B
C#

<?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 call:show_help(Lang.Plugins.system_preferences.Help.Prefs) ?>
<?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>