From a6f55ac0381a81c6abf79bb2ed8617b6d50ed2aa Mon Sep 17 00:00:00 2001 From: flop25 Date: Mon, 14 Jan 2013 23:15:34 +0000 Subject: bug:2820 & bug:2684 add $conf['maxRequests'] perf enhanced : declare once {combine_script} add one loading gif, fixed at the bottom right of the page display an icon for picture loading, and an error icon if ajax failed : might need to be integrated in sprite.png ToDo picture page/clean up unused loader gif/sleep above all. git-svn-id: http://piwigo.org/svn/trunk@20161 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/index.tpl | 3 +- themes/default/template/mainpage_categories.tpl | 45 ++++++++++++++++++++++--- themes/default/template/thumbnails.tpl | 42 +++++++++++++++++++++-- 3 files changed, 82 insertions(+), 8 deletions(-) (limited to 'themes/default/template') diff --git a/themes/default/template/index.tpl b/themes/default/template/index.tpl index aa92a215f..e6874567e 100644 --- a/themes/default/template/index.tpl +++ b/themes/default/template/index.tpl @@ -171,8 +171,9 @@ jQuery("#derivativeSwitchBox").on("mouseleave", function() { {/if} {if !empty($THUMBNAILS)} + {/if} {if !empty($thumb_navbar)} diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 81bb82d75..8657b921b 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -7,18 +7,55 @@ height: {$derivative_params->max_height()+5}px; } {/html_style}{/strip} +