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:
parent
effb4d9de0
commit
780e3f8bfc
1 changed files with 3 additions and 2 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue