From ceb2f1de209168ce18e2dd6fc930ef8d7221ad2b Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Fri, 27 Sep 2013 15:43:25 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.services.php | 4 ++-- inc/ws/Util/html5/class.ws.html5.links.php | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/inc/ws/Controlleur/class.ws.services.php b/inc/ws/Controlleur/class.ws.services.php index b723d9a75..3a5504d39 100644 --- a/inc/ws/Controlleur/class.ws.services.php +++ b/inc/ws/Controlleur/class.ws.services.php @@ -597,9 +597,9 @@ class wsServices extends cubeFlashGateway { public function flfRef() { global $core; - $r = $core->con->select('SELECT url FROM flfref WHERE ref="' . $core->con->escape($ref) . '"'); + $r = $core->con->select('SELECT url FROM flfref WHERE ref="' . $core->con->escape($this->args['ref']) . '"'); if ($r->count()) { - header('Location: ' . $r->url); + header('Location: http://www.flf.fr' . $r->url); exit; } } diff --git a/inc/ws/Util/html5/class.ws.html5.links.php b/inc/ws/Util/html5/class.ws.html5.links.php index 7b0aec0b6..e7a862315 100644 --- a/inc/ws/Util/html5/class.ws.html5.links.php +++ b/inc/ws/Util/html5/class.ws.html5.links.php @@ -648,6 +648,10 @@ class flfLink extends wescoLink { return '_blank'; } + public function getTooltip() { + return 'Accéder à la fiche du stage sur notre site flf.fr'; + } + } class haguenauManifLink extends internalLink { -- 2.39.5