From: vincent@cubedesigners.com Date: Thu, 27 Jun 2013 10:17:34 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f5da129d49beb1a30f428a90b5874ae182cca41d;p=cubeextranet.git --- diff --git a/inc/ws/Util/html5/class.ws.html5.links.php b/inc/ws/Util/html5/class.ws.html5.links.php index 04cc859b4..8bad840b2 100644 --- a/inc/ws/Util/html5/class.ws.html5.links.php +++ b/inc/ws/Util/html5/class.ws.html5.links.php @@ -52,6 +52,8 @@ class wsHTML5Link { case 7: if ($compiler->book->parametres->customLinkClass == 'WescoLink') { return new wescoLink($id, $init, $compiler); + } else if ($compiler->book->parametres->customLinkClass == 'HaguenauManifLink') { + return new haguenauManifLink($id, $init, $compiler); } case 8: case 9: @@ -481,4 +483,17 @@ class wescoLink extends normalLink { } +class haguenauManifLink extends internalLink { + + public function getPage() { + $fiches = array( + "1" => 7, "2" => 8, "3" => 14, "4" => 16, "5" => 17, "6" => 18, "7" => 19, "8" => 20, "9" => 22, "10" => 23, "11" => 24, "12" => 27 + , "13" => 29, "14" => 32, "15" => 34, "16" => 37, "17" => 38, "18" => 41, "19" => 43, + "20" => 45, "21" => 46, "22" => 52, "23" => 53, "24" => 54, "25" => 56, "26" => 59, "27" => 60 + ); + return $fiches[$this->to]; + } + +} + ?>