From 8130ac0a9e4b53e921c2c4089c5027569224c3b5 Mon Sep 17 00:00:00 2001 From: patdenice Date: Thu, 3 Mar 2011 10:13:17 +0000 Subject: New plugins update page. git-svn-id: http://piwigo.org/svn/trunk@9491 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/plugins_update.tpl | 93 ++++++++---------------- 1 file changed, 32 insertions(+), 61 deletions(-) (limited to 'admin/themes/default/template') diff --git a/admin/themes/default/template/plugins_update.tpl b/admin/themes/default/template/plugins_update.tpl index 2304db112..11b97c829 100644 --- a/admin/themes/default/template/plugins_update.tpl +++ b/admin/themes/default/template/plugins_update.tpl @@ -1,3 +1,4 @@ +{combine_script id='jquery.ui' load='async' require='jquery' path='themes/default/js/jquery.ui.min.js' } {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.packed.js'} {footer_script require='jquery.cluetip'} jQuery().ready(function(){ldelim} @@ -12,66 +13,36 @@ jQuery().ready(function(){ldelim}

{'Plugins'|@translate}

-{if isset($plugins_not_uptodate)} -
-{'Plugins which need upgrade'|@translate} - - - - - - - - - -{foreach from=$plugins_not_uptodate item=plugin name=plugins_loop} - - - - - - -{/foreach} -
{'Name'|@translate}{'Current
version'|@translate}
{'Available
version'|@translate}
{'Actions'|@translate}
{$plugin.EXT_NAME}{$plugin.VERSION}{$plugin.NEW_VERSION}{'Automatic upgrade'|@translate} - / {'Download file'|@translate}
-{/if} - - -{if isset($plugins_uptodate)} -
-{'Plugins up to date'|@translate} - - - - - - - -{foreach from=$plugins_uptodate item=plugin name=plugins_loop} - - - - -{/foreach} -
{'Name'|@translate}{'Version'|@translate}
{$plugin.NAME}{$plugin.VERSION}
-{/if} - - -{if isset($plugins_cant_check)} -
-{'Plugin versions can\'t be checked'|@translate} - - - - - - - -{foreach from=$plugins_cant_check item=plugin name=plugins_loop} - - - - +{if not empty($plugins)} +
+
+{'Plugins which need upgrade'|@translate} +{foreach from=$plugins item=plugin name=plugins_loop} +
+
{'Name'|@translate}{'Version'|@translate}
{$plugin.NAME}{$plugin.VERSION}
+ + + + + + + + +
+ {$plugin.EXT_NAME} + + {'Automatic upgrade'|@translate} + | {'Download file'|@translate} +
+ {'Version'|@translate} {$plugin.VERSION} + + {'Downloads'|@translate}: {$plugin.DOWNLOADS} + {'By %s'|@translate|@sprintf:$plugin.AUTHOR} +
+ {/foreach} - + + +{elseif not isset($SERVER_ERROR)} +

{'All plugins are up to date.'|@translate}

{/if} -- cgit v1.2.3