aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes/default/template
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2011-05-23 13:29:10 +0000
committermistic100 <mistic@piwigo.org>2011-05-23 13:29:10 +0000
commita8e5dd8af7dcb153200eb2a23928a18bb0b34a7d (patch)
treeea4ca4419a093b9181ac3d43dfeed2544c6d729d /admin/themes/default/template
parent2d94267b70d13d654b85d1cddf0700f20acbcae2 (diff)
plugin manager : fix deactivation link, info link for clear theme
git-svn-id: http://piwigo.org/svn/trunk@11012 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template')
-rw-r--r--admin/themes/default/template/plugins_list.tpl9
1 files changed, 6 insertions, 3 deletions
diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl
index 71bc70e74..1f11865b2 100644
--- a/admin/themes/default/template/plugins_list.tpl
+++ b/admin/themes/default/template/plugins_list.tpl
@@ -18,7 +18,7 @@ var queuedManager = jQuery.manageAjax.create('queued', {
jQuery(document).ready(function() {
/* group action */
- jQuery('a.deactivate_all').click(function() {
+ jQuery('div.deactivate_all a').click(function() {
if (confirm(confirmMsg)) {
jQuery('div.active').each(function() {
performPluginDeactivate(jQuery(this).attr('id'));
@@ -88,7 +88,11 @@ jQuery(document).ready(function() {
{foreach from=$plugins item=plugin name=plugins_loop}
{if $field_name != $plugin.STATE}
- {if $field_name != 'null'}</fieldset>{/if}
+ {if $field_name != 'null'}
+ {if $field_name == 'active'}<div class="deactivate_all"><a>{'Deactivate'|@translate} {'all'|@translate}</a></div>{/if}
+ </fieldset>
+ {/if}
+
<fieldset class="pluginBoxes">
<legend>
{if $plugin.STATE == 'active'}
@@ -102,7 +106,6 @@ jQuery(document).ready(function() {
{/if}
</legend>
{assign var='field_name' value=$plugin.STATE}
- {if $field_name == 'active'}<a class="deactivate_all">{'Deactivate'|@translate} {'all'|@translate}</a>{/if}
{/if}
{if not empty($plugin.AUTHOR)}