aboutsummaryrefslogtreecommitdiffstats
path: root/admin/template/goto/plugins_list.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'admin/template/goto/plugins_list.tpl')
-rw-r--r--admin/template/goto/plugins_list.tpl12
1 files changed, 10 insertions, 2 deletions
diff --git a/admin/template/goto/plugins_list.tpl b/admin/template/goto/plugins_list.tpl
index 2b0f9bb06..96b1f2b1a 100644
--- a/admin/template/goto/plugins_list.tpl
+++ b/admin/template/goto/plugins_list.tpl
@@ -43,8 +43,16 @@
<img src="{$themeconf.admin_icon_dir}/plug_activate.png" alt="{'Activate'|@translate}" title="{'Activate'|@translate}" />
</a>
</li>
+ <li>
+ <a href="{$plugin.U_ACTION}&amp;action=uninstall" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">
+ <img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}" />
+ </a>
+ </li>
{/if}
- {if $plugin.STATE == 'inactive' or $plugin.STATE == 'missing'}
+ {if $plugin.STATE == 'missing'}
+ <li>
+ <img src="{$themeconf.admin_icon_dir}/plug_deactivate_grey.png" alt="{'Deactivate'|@translate}" title="{'Deactivate'|@translate}" />
+ </li>
<li>
<a href="{$plugin.U_ACTION}&amp;action=uninstall" onclick="return confirm('{'Are you sure?'|@translate|@escape:'javascript'}');">
<img src="{$themeconf.admin_icon_dir}/plug_uninstall.png" alt="{'Uninstall'|@translate}" title="{'Uninstall'|@translate}" />
@@ -65,7 +73,7 @@
<img src="{$themeconf.admin_icon_dir}/plug_delete.png" alt="{'plugins_delete'|@translate}" title="{'plugins_delete'|@translate}">
</a>
</li>
- {elseif $plugin.STATE != 'missing'}
+ {else}
<li>
<img src="{$themeconf.admin_icon_dir}/plug_delete_grey.png" alt="{'plugins_delete'|@translate}" title="{'plugins_delete'|@translate}" />
</li>