aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-12-14 00:58:57 +0000
committerrvelices <rv-github@modusoptimus.com>2006-12-14 00:58:57 +0000
commitf7960e7e72ca913e1e67844dec6ff0d40de46d1b (patch)
tree678ca1a56753234b43b6ba65eb0b61fb7535787f /template
parent51e56e9c1f4952a7d8cb7533b62c2829c15df01e (diff)
- plugins admin menu appear now in the admin page menubar
- plugins are loaded immediately after loading the config (allow them to hack more of pwg like user init, template init etc...) - trigger event format_exif_data (for picture display only) git-svn-id: http://piwigo.org/svn/trunk@1655 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/admin.tpl12
-rw-r--r--template/yoga/admin/plugin.tpl8
-rw-r--r--template/yoga/admin/plugins.tpl9
3 files changed, 15 insertions, 14 deletions
diff --git a/template/yoga/admin.tpl b/template/yoga/admin.tpl
index 294b39b15..03c1f993b 100644
--- a/template/yoga/admin.tpl
+++ b/template/yoga/admin.tpl
@@ -71,6 +71,18 @@
</ul>
</dd>
</dl>
+ <dl>
+ <dt>{lang:Plugins}</dt>
+ <dd>
+ <ul>
+<!-- BEGIN plugin_menu -->
+<!-- BEGIN menu_item -->
+ <li><a href="{plugin_menu.menu_item.URL}">{plugin_menu.menu_item.NAME}</a></li>
+<!-- END menu_item -->
+<!-- END plugin_menu -->
+ </ul>
+ </dd>
+ </dl>
</div> <!-- menubar -->
<div id="content">
diff --git a/template/yoga/admin/plugin.tpl b/template/yoga/admin/plugin.tpl
index 96b0c3ae8..f4b1b838f 100644
--- a/template/yoga/admin/plugin.tpl
+++ b/template/yoga/admin/plugin.tpl
@@ -1,11 +1,5 @@
<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>
+ <h2>{PLUGIN_TITLE}</h2>
</div>
diff --git a/template/yoga/admin/plugins.tpl b/template/yoga/admin/plugins.tpl
index db661ac95..00d344cac 100644
--- a/template/yoga/admin/plugins.tpl
+++ b/template/yoga/admin/plugins.tpl
@@ -1,10 +1,5 @@
<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>{lang:Plugins}
</h2>
</div>
@@ -24,7 +19,7 @@
<td>{plugins.plugin.DESCRIPTION}</td>
<td>
<!-- BEGIN action -->
- <a href="{plugins.plugin.action.U_ACTION}">{plugins.plugin.action.L_ACTION}</a>
+ <a href="{plugins.plugin.action.U_ACTION}" {TAG_INPUT_ENABLED}>{plugins.plugin.action.L_ACTION}</a>
<!-- END action -->
</td>
</tr>