From d725b3d3af69e08ac40c14833c7b758d40665f13 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 27 Feb 2012 12:28:57 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 342282263..c2527a117 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -702,6 +702,8 @@ html{height:100%}' . "\n"; + + $newurl = null; if (count($e) == 2 || $e[2] < TIME - 10) { $e[2] = TIME; @@ -709,8 +711,13 @@ html{height:100%}' . "\n"; exit; } + + $book_id = $e[0]; + + + $wmode = $wmode != '' ? $wmode : 'default'; echo self::commonViewer($book_id, $e[1], false, $wmode, $newurl, '1'); @@ -793,6 +800,14 @@ html{height:100%}' . "\n"; $fv['monitoring'] = '1'; } + + if ($version == 1) { + $fv['id'] = $book_id; + $fv['mail'] = '0'; + $fv['onlineFlag'] = '1'; + $fv['loaderColor'] = $theme->parametres->loadingBackColor; + } + $res = ''; $res .= ''; $res .= '' . $book->parametres->title . ''; -- 2.39.5