From 7126a21b59ee7fe4cf704b4b8f9589fafcaac8db Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 15 Oct 2021 16:04:53 +0000 Subject: [PATCH] wait #4797 @0.5 --- inc/ws/Util/html5/master/class.ws.html5.links.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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'; -- 2.39.5