From 0fae4fe21d55178539e8a96aec8c98b79e0b1550 Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 21 Apr 2006 21:12:10 +0000 Subject: Issue ID 0000346: o Fix Picture slideshow not working Merge BSF r1246:1247 into branch-1_6 git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1248 68402e56-0260-453c-a942-63ccdbb3a9ee --- picture.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'picture.php') diff --git a/picture.php b/picture.php index 43ac99f55..3dc08ac40 100644 --- a/picture.php +++ b/picture.php @@ -363,11 +363,14 @@ $title = $picture['current']['name']; $refresh = 0; if ( isset( $_GET['slideshow'] ) and isset($page['next_item']) ) { + // $redirect_msg, $refresh, $url_link and $title are required for creating an automated + // refresh page in header.tpl $refresh= $_GET['slideshow']; $url_link = add_url_params( $picture['next']['url'], array('slideshow'=>$refresh) ); + $redirect_msg = nl2br(l10n('redirect_msg')); } $title_nb = ($page['current_rank'] + 1).'/'.$page['cat_nb_images']; -- cgit v1.2.3