From 5257091c37867829e2695f07a8837401061a2658 Mon Sep 17 00:00:00 2001 From: z0rglub Date: Mon, 15 Sep 2003 19:24:18 +0000 Subject: 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 --- picture.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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' ); -- cgit v1.2.3