From a95bc3f7daced06c4a8fc148cfea92c4451dc805 Mon Sep 17 00:00:00 2001 From: rub Date: Thu, 28 Feb 2008 06:31:40 +0000 Subject: [PATCH] Resolved issue 0000807: New slideshow features Fix bad in the header git-svn-id: http://piwigo.org/svn/trunk@2224 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 2 +- template/yoga/header.tpl | 5 +++-- template/yoga/picture_nav_buttons.tpl | 12 ++++++------ 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/picture.php b/picture.php index 26e461daf..052d9c325 100644 --- a/picture.php +++ b/picture.php @@ -633,7 +633,7 @@ else ) ); $template->assign_block_vars( - 'thumbnails',array('U_UP' => $url_up)); + 'up',array('U_URL' => $url_up)); } $template->assign_vars( diff --git a/template/yoga/header.tpl b/template/yoga/header.tpl index cc2353c2a..19e9e755d 100644 --- a/template/yoga/header.tpl +++ b/template/yoga/header.tpl @@ -16,7 +16,6 @@ - @@ -26,8 +25,10 @@ - + + + diff --git a/template/yoga/picture_nav_buttons.tpl b/template/yoga/picture_nav_buttons.tpl index e2d1d70de..4041f7b42 100644 --- a/template/yoga/picture_nav_buttons.tpl +++ b/template/yoga/picture_nav_buttons.tpl @@ -19,9 +19,9 @@ {lang:stop_play} - - {lang:thumbnails} - + + {lang:thumbnails} + @@ -76,9 +76,9 @@ function keyboardNavigation(e) /*End*/case 35: if (e.ctrlKey){window.location="{last.U_IMG}".replace("&","&"); return false; } break; - - /*Up*/case 38: if (e.ctrlKey){window.location="{thumbnails.U_UP}".replace("&","&"); return false; } break; - + + /*Up*/case 38: if (e.ctrlKey){window.location="{up.U_UP}".replace("&","&"); return false; } break; + /*Pause*/case 32: {window.location="{start_play.U_IMG}".replace("&","&"); return false; } break;