From 47de80ead428934fd6cba7894dd3119017ae6379 Mon Sep 17 00:00:00 2001 From: marijus Date: Thu, 1 Aug 2013 13:26:57 +0200 Subject: make "selected" class work on all navigation menu items --- mod/connections.php | 2 +- mod/events.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/connections.php b/mod/connections.php index 88291ba8d..2ba65fc0e 100644 --- a/mod/connections.php +++ b/mod/connections.php @@ -159,7 +159,7 @@ function connections_content(&$a) { $sort_type = 0; $o = ''; - nav_set_selected('connections'); + nav_set_selected('intros'); if(! local_user()) { diff --git a/mod/events.php b/mod/events.php index 44f7522ad..f43a99cba 100755 --- a/mod/events.php +++ b/mod/events.php @@ -135,6 +135,8 @@ function events_content(&$a) { return; } + nav_set_selected('all_events'); + if((argc() > 2) && (argv(1) === 'ignore') && intval(argv(2))) { $r = q("update event set ignore = 1 where id = %d and uid = %d limit 1", intval(argv(2)), -- cgit v1.2.3