From 08827e1ae0b2f5ee2c0db6fd1104da1d6f9636b8 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Sat, 24 Oct 2015 23:36:48 +0200 Subject: [PATCH] Menu : highlight selected menu --- include/profile.inc.php | 13 +++++++++++++ include/template/profile_menu_display_module.php | 16 ++++------------ 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/include/profile.inc.php b/include/profile.inc.php index e1ace5e49..e2c57daca 100644 --- a/include/profile.inc.php +++ b/include/profile.inc.php @@ -436,4 +436,17 @@ if (isset($_POST['delete_profil'])) + \ No newline at end of file diff --git a/include/template/profile_menu_display_module.php b/include/template/profile_menu_display_module.php index 67db6a9e2..27a058ed9 100644 --- a/include/template/profile_menu_display_module.php +++ b/include/template/profile_menu_display_module.php @@ -24,10 +24,11 @@ * Profile_Menu */ ?> -
+
"; continue; } - $style=" tool "; + $style=($dep == $row['pm_id'])?" selectedcell":" tool "; $url="XX"; if ( $row['me_url']!='') { @@ -101,13 +102,4 @@
- \ No newline at end of file + \ No newline at end of file