icons added to all system plugins (preliminary)
This commit is contained in:
parent
abacb36dbe
commit
4b6681487e
14 changed files with 64 additions and 4 deletions
|
@ -79,8 +79,15 @@ def:link(path, attr1, value1, attr2, value2)
|
|||
?><?cs /if ?><?cs
|
||||
/def ?><?cs
|
||||
|
||||
|
||||
def:print_form_header(form_name, action) ?><?cs #
|
||||
# the header of a form - including Setting.LinkAttrs
|
||||
?><form name="<?cs var:html_escape(form_name) ?>" action="<?cs call:link(action,"","","","") ?>" method="post" enctype="application/x-www-form-urlencoded" accept-charset="utf-8"><?cs
|
||||
/def ?><?cs
|
||||
|
||||
|
||||
def:show_plugin(plugin) ?><?cs
|
||||
# show the icon and the name of this plugin
|
||||
?><div<?cs each:x=Settings.PluginList[plugin].Types ?> class="plugin_<?cs var:html_escape(name(x)) ?><?cs /each ?>"><img src="<?cs call:link('plugins/' + plugin, 'icon','x','','') ?>" alt="<?cs var:html_escape('icon: ' + plugin) ?>" /><br/><?cs var:html_escape(Settings.PluginList[plugin].Link) ?></div><?cs
|
||||
/def ?>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue