aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mod/connections.php2
-rwxr-xr-xmod/events.php2
-rwxr-xr-xview/tpl/nav.tpl2
3 files changed, 4 insertions, 2 deletions
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)),
diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl
index 926e5625e..352eecd42 100755
--- a/view/tpl/nav.tpl
+++ b/view/tpl/nav.tpl
@@ -97,7 +97,7 @@
{{/if}}
{{if $nav.notifications}}
- <li id="nav-notify-linkmenu" class="nav-menu fakelink">
+ <li id="nav-notify-linkmenu" class="nav-menu fakelink {{$sel.notifications}}">
<a href="{{$nav.notifications.0}}" title="{{$nav.notifications.1}}">{{$nav.notifications.1}}</a>
<span id="notify-update" class="nav-notify fakelink" rel="#nav-notify-menu"></span>
<ul id="nav-notify-menu" class="menu-popup notify-menus" rel="notify">