mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
a bug if all plugins are inactive/uninstalled
git-svn-id: http://piwigo.org/svn/trunk@11228 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user