From 7eb7d3752748e3ca6db611e29a5d8c1aaac1195b Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 1 Oct 2008 12:31:22 +0000 Subject: Add icons for plugins actions. git-svn-id: http://piwigo.org/svn/trunk@2631 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/plugins_list.tpl | 70 ++++++++++++++++++++++++++++-------- 1 file changed, 55 insertions(+), 15 deletions(-) (limited to 'admin/template/goto/plugins_list.tpl') diff --git a/admin/template/goto/plugins_list.tpl b/admin/template/goto/plugins_list.tpl index 0f2cc43e4..2b0f9bb06 100644 --- a/admin/template/goto/plugins_list.tpl +++ b/admin/template/goto/plugins_list.tpl @@ -10,30 +10,70 @@ {if isset($plugins)} - +
+ - {foreach from=$plugins item=plugin name=plugins_loop} - - - - - + + + + + {/foreach}
{'Name'|@translate}{'Actions'|@translate} {'Version'|@translate} {'Description'|@translate}{'Actions'|@translate}
- {$plugin.NAME} - {$plugin.VERSION}{$plugin.DESCRIPTION} - {foreach from=$plugin.actions item=action} - {$action.L_ACTION} - {/foreach} -
+ {$plugin.NAME} + +
    + {if $plugin.STATE == 'active'} +
  • + + {'Deactivate'|@translate} + +
  • +
  • + {'Uninstall'|@translate} +
  • + {/if} + {if $plugin.STATE == 'inactive'} +
  • + + {'Activate'|@translate} + +
  • + {/if} + {if $plugin.STATE == 'inactive' or $plugin.STATE == 'missing'} +
  • + + {'Uninstall'|@translate} + +
  • + {/if} + {if $plugin.STATE == 'uninstalled'} +
  • + {'Activate'|@translate} +
  • +
  • + + {'Install'|@translate} + +
  • +
  • + + {'plugins_delete'|@translate} + +
  • + {elseif $plugin.STATE != 'missing'} +
  • + {'plugins_delete'|@translate} +
  • + {/if} +
+
{$plugin.VERSION}{$plugin.DESCRIPTION}
-- cgit v1.2.3