{'Plugins'|@translate}

{if isset($plugins)} {foreach from=$plugin_states item=plugin_state}
{if $plugin_state == 'active'} Active Plugins {elseif $plugin_state == 'inactive'} Inactive Plugins {elseif $plugin_state == 'uninstalled'} Uninstalled Plugins {elseif $plugin_state == 'missing'} Missing Plugins {/if} {foreach from=$plugins item=plugin name=plugins_loop} {if $plugin.STATE == $plugin_state}
{$plugin.NAME} {$plugin.DESC}
{if $plugin.STATE == 'active'} {'Deactivate'|@translate} {elseif $plugin_state == 'inactive'} {'Activate'|@translate} | {'Uninstall'|@translate} {elseif $plugin_state == 'uninstalled'} {'Install'|@translate} | {'Delete'|@translate} {elseif $plugin_state == 'missing'} {'Uninstall'|@translate} {/if} Version {$plugin.VERSION} {if not empty($plugin.AUTHOR)} | By {if not empty($plugin.AUTHOR_URL)} {$plugin.AUTHOR} {else} {$plugin.AUTHOR} {/if} {/if} {if not empty($plugin.VISIT_URL)} | Visit plugin site {/if}
{/if} {/foreach}
{/foreach} {/if}