aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-04-21 21:12:10 +0000
committerrub <rub@piwigo.org>2006-04-21 21:12:10 +0000
commit0fae4fe21d55178539e8a96aec8c98b79e0b1550 (patch)
treec8b4c454118d2991e72e5a4b4ad43baefa52e0e4 /picture.php
parent4c28c9f2ea3fa6d0b533086d36bbee9bf3e2d69b (diff)
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
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php3
1 files changed, 3 insertions, 0 deletions
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'];