From: vincent@cubedesigners.com Date: Thu, 14 Jul 2011 13:37:57 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=6522eb75900813ea3fc98be908a4fdcbbc338b02;p=cubeextranet.git --- diff --git a/inc/ws/Util/packager/html5/class.ws.packager.html5.links.php b/inc/ws/Util/packager/html5/class.ws.packager.html5.links.php index 71013df06..1b68c923a 100644 --- a/inc/ws/Util/packager/html5/class.ws.packager.html5.links.php +++ b/inc/ws/Util/packager/html5/class.ws.packager.html5.links.php @@ -109,7 +109,15 @@ class wsPackagerHTML5Link { class normalLink extends wsPackagerHTML5Link { public function getHTMLContent() { - return ''; + $class = array(); + if ($this->display_area) { + $class[] = 'displayArea'; + } + $c = ''; + if (count($class)) { + $c = ' class="' . implode(' ', $class) . '"'; + } + return ''; } public function getURL() { @@ -157,11 +165,15 @@ class mailLink extends normalLink { class internalLink extends normalLink { public function getURL() { - return '#/pages/' . $this->getPage(); + return '#/page/' . $this->getPage(); } public function getPage() { - return $this->to; + if ($this->numerotation == 'physical') { + return $this->to; + } else { + return $this->to; + } } } @@ -171,10 +183,16 @@ class videoLink extends wsPackagerHTML5Link { public function getHTMLContent() { $res = '