From 780e3f8bfcd4eec96d5a11ea1f766eef67a90dbe Mon Sep 17 00:00:00 2001 From: mistic100 Date: Sat, 4 Jun 2011 09:37:22 +0000 Subject: a bug if all plugins are inactive/uninstalled git-svn-id: http://piwigo.org/svn/trunk@11228 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/plugins_installed.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'admin/themes') diff --git a/admin/themes/default/template/plugins_installed.tpl b/admin/themes/default/template/plugins_installed.tpl index 5e3b451db..3d46452f0 100644 --- a/admin/themes/default/template/plugins_installed.tpl +++ b/admin/themes/default/template/plugins_installed.tpl @@ -126,8 +126,6 @@ jQuery(document).ready(function() { {assign var='field_name' value=$plugin.STATE} {/if} - {if $plugin.STATE == 'active'}{counter}{/if} - {if not empty($plugin.AUTHOR)} {if not empty($plugin.AUTHOR_URL)} {assign var='author' value="%s"|@sprintf:$plugin.AUTHOR_URL:$plugin.AUTHOR} @@ -211,10 +209,13 @@ jQuery(document).ready(function() { {/if} +{if $plugin.STATE == 'active'} + {counter} {if $active_plugins == $i}
{'Deactivate all'|@translate}
{counter} {/if} +{/if} {/foreach} -- cgit v1.2.3