From 7a7167d3f5de9a59e1b536e53de54d62d344e7b2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?St=C3=A9phane=20Jacob?= Date: Sat, 17 Jul 2010 00:18:42 +0200 Subject: [PATCH] Fixes link to referent file in profile edition. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Jacob --- modules/profile/mentor.inc.php | 1 + templates/profile/mentor.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/profile/mentor.inc.php b/modules/profile/mentor.inc.php index dc0492a..17d9cdd 100644 --- a/modules/profile/mentor.inc.php +++ b/modules/profile/mentor.inc.php @@ -171,6 +171,7 @@ class ProfileSettingMentor extends ProfilePage $page->assign('countryList', XDB::iterator("SELECT iso_3166_1_a2, countryFR FROM geoloc_countries ORDER BY countryFR")); + $page->assign('hrpid', $this->profile->hrpid); } } diff --git a/templates/profile/mentor.tpl b/templates/profile/mentor.tpl index 52688b9..44ea740 100644 --- a/templates/profile/mentor.tpl +++ b/templates/profile/mentor.tpl @@ -20,7 +20,7 @@ {* *} {**************************************************************************} -
{icon name=information title="Afficher ma fiche référent"}Tu peux consulter ta fiche référent qui n'est accessible que par les X. +
{icon name=information title="Afficher ma fiche référent"}Tu peux consulter ta fiche référent qui n'est accessible que par les X.
{if (!$expertise)||(!($sectors|@count))}
-- 2.1.4