aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2006-04-21 21:09:47 +0000
committerrub <rub@piwigo.org>2006-04-21 21:09:47 +0000
commit9b7af6889525e49dc083179722d5843b7bb3a555 (patch)
tree30cf021dabdea02d47891821337daccc1b07f7ec
parent6a52288d629008e86a211a17968cd03dc4150c77 (diff)
Issue ID 0000346:
o Fix Picture slideshow not working git-svn-id: http://piwigo.org/svn/trunk@1247 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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'];