From: vincent@cubedesigners.com Date: Fri, 15 Oct 2021 16:04:53 +0000 (+0000) Subject: wait #4797 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=7126a21b59ee7fe4cf704b4b8f9589fafcaac8db;p=cubeextranet.git wait #4797 @0.5 --- diff --git a/inc/ws/Util/html5/master/class.ws.html5.links.php b/inc/ws/Util/html5/master/class.ws.html5.links.php index 91cdf6b62..a11959428 100644 --- a/inc/ws/Util/html5/master/class.ws.html5.links.php +++ b/inc/ws/Util/html5/master/class.ws.html5.links.php @@ -134,6 +134,8 @@ class wsHTML5Link return new cartLink($id, $init, $compiler); } switch ($compiler->book->parametres->customLinkClass) { + case 'IntexLink': + return new intexLink($id, $init, $compiler); case 'WescoLink': return new wescoLink($id, $init, $compiler); case 'HaguenauManifLink': @@ -2250,6 +2252,19 @@ class JoueclubWishlistLink extends normalLink } } +class intexLink extends wescoLink +{ + public static function _getURL($to) + { + return self::_getURLOfType('intex', $to); + } + + public function getDefaultTooltip() + { + return 'Cliquer pour voir la page du produit'; + } +} + class wescoLink extends normalLink { protected $role = 'link';