From b8e94789af7969321cd895d1cef5d175074afcbb Mon Sep 17 00:00:00 2001 From: Andreas Unterkircher Date: Tue, 15 Jan 2008 19:33:06 +0100 Subject: auto-move browser window up when displaying single photo and the user has scrolled far down before Signed-off-by: Andreas Unterkircher --- phpfspot.class.php | 2 ++ themes/default/templates/single_photo.tpl | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/phpfspot.class.php b/phpfspot.class.php index cf0a60c..85d276e 100644 --- a/phpfspot.class.php +++ b/phpfspot.class.php @@ -520,6 +520,8 @@ class PHPFSPOT { $this->tmpl->show("single_photo.tpl"); + print "\n"; + } // showPhoto() /** diff --git a/themes/default/templates/single_photo.tpl b/themes/default/templates/single_photo.tpl index 4bc61d1..19329cc 100644 --- a/themes/default/templates/single_photo.tpl +++ b/themes/default/templates/single_photo.tpl @@ -66,7 +66,7 @@ { if $next_url == "" } { else } - + { /if } {$image_filename} -- cgit v1.2.3-18-g5258