diff options
author | mistic100 <mistic@piwigo.org> | 2011-06-04 09:37:22 +0000 |
---|---|---|
committer | mistic100 <mistic@piwigo.org> | 2011-06-04 09:37:22 +0000 |
commit | 780e3f8bfcd4eec96d5a11ea1f766eef67a90dbe (patch) | |
tree | b5df19c928be2045eeddc5da8254a6bd40ea16cc /admin/themes/default | |
parent | effb4d9de0dff2f68e65e9fabe4c9d4e18b68fe6 (diff) |
a bug if all plugins are inactive/uninstalled
git-svn-id: http://piwigo.org/svn/trunk@11228 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/themes/default/template/plugins_installed.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
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="<a href='%s'>%s</a>"|@sprintf:$plugin.AUTHOR_URL:$plugin.AUTHOR} @@ -211,10 +209,13 @@ jQuery(document).ready(function() { {/if} +{if $plugin.STATE == 'active'} + {counter} {if $active_plugins == $i} <div class="deactivate_all"><a>{'Deactivate all'|@translate}</a></div> {counter} {/if} +{/if} {/foreach} </fieldset> |