diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-10-27 00:25:02 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-10-27 00:25:02 +0000 |
commit | 2b3bc579e4dcd4bf64c712eeca86f05e2d70fbf0 (patch) | |
tree | 56ac5c2009ab5fc7bb804e0c6f81edf1242472a8 /template/yoga/admin | |
parent | 5cce84ff1c62812e25f6252877ae46b1d3381b62 (diff) |
- plugins can add now their page to the admin page
- new plugin (event_tracer) that demonstrate it and useful to see all calls
to trigger_event
git-svn-id: http://piwigo.org/svn/trunk@1580 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga/admin')
-rw-r--r-- | template/yoga/admin/plugin.tpl | 12 | ||||
-rw-r--r-- | template/yoga/admin/plugins.tpl | 19 |
2 files changed, 26 insertions, 5 deletions
diff --git a/template/yoga/admin/plugin.tpl b/template/yoga/admin/plugin.tpl new file mode 100644 index 000000000..96b0c3ae8 --- /dev/null +++ b/template/yoga/admin/plugin.tpl @@ -0,0 +1,12 @@ +<div class="titrePage"> + <h2> +<!-- BEGIN plugin_menu --> +<!-- BEGIN menu_item --> + <span style="margin-left:2px;"><a href="{plugin_menu.menu_item.URL}">{plugin_menu.menu_item.NAME}</a></span> +<!-- END menu_item --> +<!-- END plugin_menu --> + </h2> +</div> + + +{PLUGIN_ADMIN_CONTENT} diff --git a/template/yoga/admin/plugins.tpl b/template/yoga/admin/plugins.tpl index 81bade54d..ef45360f1 100644 --- a/template/yoga/admin/plugins.tpl +++ b/template/yoga/admin/plugins.tpl @@ -1,17 +1,26 @@ <div class="titrePage"> - <h2>{lang:Plugins}</h2> + <h2> +<!-- BEGIN plugin_menu --> +<!-- BEGIN menu_item --> + <span style="margin-left:2px;"><a href="{plugin_menu.menu_item.URL}">{plugin_menu.menu_item.NAME}</a></span> +<!-- END menu_item --> +<!-- END plugin_menu --> + </h2> </div> + <!-- BEGIN plugins --> -<table> -<thead><tr> +<table class="table2"> +<thead><tr class="throw"> <td>{lang:Name}</td> + <td>{lang:Version}</td> <td>{lang:Description}</td> - <td>{lang:Action}</td> + <td>{lang:Actions}</td> </tr></thead> <!-- BEGIN plugin --> -<tr> +<tr class="{plugins.plugin.CLASS}"> <td>{plugins.plugin.NAME}</td> + <td>{plugins.plugin.VERSION}</td> <td>{plugins.plugin.DESCRIPTION}</td> <td><a href="{plugins.plugin.U_ACTION}">{plugins.plugin.L_ACTION}</a></td> </tr> |