From 8edd199c0e14286eaeb214d79f8d3a7b56a7c976 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Mon, 7 Feb 2011 17:04:54 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.url.php | 26 +++++++++++++++++++++++--- 1 file changed, 23 insertions(+), 3 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.url.php b/inc/ws/Controlleur/class.ws.url.php index 907dfe257..248795827 100644 --- a/inc/ws/Controlleur/class.ws.url.php +++ b/inc/ws/Controlleur/class.ws.url.php @@ -32,6 +32,7 @@ class wsUrl { global $core; cubePage::truePopup(); cubePage::autocomplete(); + cubePage::contextMenu(); $droits = wsDroits::getDroits(); @@ -113,6 +114,25 @@ class wsUrl { return $res; } + public static function contextBookDownload() + { + global $core; + $res = '
'; + $res .= '
'; + return $res; + } + public static function traductions($args) { global $core; @@ -331,6 +351,7 @@ html{height:100%}' . "\n"; global $js; global $standard; global $meta; + global $jsvar; $dao = new wsDAOBook($core->con); @@ -352,7 +373,6 @@ html{height:100%}' . "\n"; $standard = 'XHTML 1.0 Transitional'; $css = $js = array(); $css[] = $webcompile . 'style.css'; - // $fv = array('base' => WEBROOT . '/fluidbook/books/final/' . $e[0]); $fv = array(); $res = ''; @@ -372,13 +392,13 @@ html{height:100%}' . "\n"; $res .= ''; $res .= cubeMedia::flash2('index.swf', '100%', '100%', $fv, 'fluidbook', '', 10, '#' . $theme->parametres->loadingBackColor, '', 'true', 'noscale', 'gpu', array('allowScriptAccess' => 'always')); $js = array($webcompile . 'fluidbook.js'); - $jsvar=array(); + $jsvar = array(); $gacodes = array(GA); if ($book->parametres->googleAnalytics != '') { $gacodes[] = $book->parametres->googleAnalytics; } - // $res .= cubePage::googleAnalytics($gacodes, false); + $res .= cubePage::googleAnalytics($gacodes, false); $res .= ''; $res .= ''; -- 2.39.5