From 9802ddaa10156ff65e85d37817d51e10b59e902f Mon Sep 17 00:00:00 2001 From: patdenice Date: Wed, 2 Mar 2011 09:33:58 +0000 Subject: Add themes autmatic update functionality. git-svn-id: http://piwigo.org/svn/trunk@9472 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/template/themes_update.tpl | 77 +++++++++++++++++++++++++ 1 file changed, 77 insertions(+) create mode 100644 admin/themes/default/template/themes_update.tpl (limited to 'admin/themes/default') diff --git a/admin/themes/default/template/themes_update.tpl b/admin/themes/default/template/themes_update.tpl new file mode 100644 index 000000000..f83c09ce3 --- /dev/null +++ b/admin/themes/default/template/themes_update.tpl @@ -0,0 +1,77 @@ +{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} + jQuery('.cluetip').cluetip({ldelim} + width: 300, + splitTitle: '|' + }); +}); +{/footer_script} + +
+

{'Check for updates'|@translate}

+
+ +{if isset($themes_not_uptodate)} +
+{'Themes which need upgrade'|@translate} + + + + + + + + + +{foreach from=$themes_not_uptodate item=theme name=themes_loop} + + + + + + +{/foreach} +
{'Name'|@translate}{'Current
version'|@translate}
{'Available
version'|@translate}
{'Actions'|@translate}
{$theme.EXT_NAME}{$theme.VERSION}{$theme.NEW_VERSION}{'Automatic upgrade'|@translate} + / {'Download file'|@translate}
+{/if} + + +{if isset($themes_uptodate)} +
+{'Themes up to date'|@translate} + + + + + + + +{foreach from=$themes_uptodate item=theme name=themes_loop} + + + + +{/foreach} +
{'Name'|@translate}{'Version'|@translate}
{$theme.NAME}{$theme.VERSION}
+{/if} + + +{if isset($themes_cant_check)} +
+{'Theme versions can\'t be checked'|@translate} + + + + + + + +{foreach from=$themes_cant_check item=theme name=themes_loop} + + + + +{/foreach} +
{'Name'|@translate}{'Version'|@translate}
{$theme.NAME}{$theme.VERSION}
+{/if} -- cgit v1.2.3