diff options
author | z0rglub <z0rglub@piwigo.org> | 2003-09-15 19:24:18 +0000 |
---|---|---|
committer | z0rglub <z0rglub@piwigo.org> | 2003-09-15 19:24:18 +0000 |
commit | 5257091c37867829e2695f07a8837401061a2658 (patch) | |
tree | c2e227f359c7b7e4428f45e9fb5991e24e5875e6 /picture.php | |
parent | d8218ec443547a5953a9aae7b706a2409c2177dd (diff) |
Using the real asked slideshow refresh time instead of the hard coded "2"
value
git-svn-id: http://piwigo.org/svn/trunk@118 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r-- | picture.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/picture.php b/picture.php index 4af9ce5ed..7208063d0 100644 --- a/picture.php +++ b/picture.php @@ -530,7 +530,7 @@ if ( $page['num'] < $page['cat_nb_images']-1 ) if ( isset( $_GET['slideshow'] ) ) { $vtp->addSession( $handle, 'refresh' ); - $vtp->setVar( $handle, 'refresh.time', 2 ); + $vtp->setVar( $handle, 'refresh.time', $_GET['slideshow'] ); $url = $url_link.'&slideshow='.$_GET['slideshow']; $vtp->setVar( $handle, 'refresh.url', add_session_id( $url ) ); $vtp->closeSession( $handle, 'refresh' ); |