aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-11-07 11:22:11 +0100
committerMario Vavti <mario@mariovavti.com>2017-11-07 11:22:11 +0100
commit47fbdda40951be5109c739f63331e2bb95ebd64a (patch)
treeef425faa148dd59d83d77e4ea2fdefee6d889324 /include
parent1bb6dfc9a03550063d5b25fd804e586d45eb61fa (diff)
downloadvolse-hubzilla-47fbdda40951be5109c739f63331e2bb95ebd64a.tar.gz
volse-hubzilla-47fbdda40951be5109c739f63331e2bb95ebd64a.tar.bz2
volse-hubzilla-47fbdda40951be5109c739f63331e2bb95ebd64a.zip
rename channel app events to calendar and add nav_set_selected() to /cal
Diffstat (limited to 'include')
-rw-r--r--include/nav.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/nav.php b/include/nav.php
index 42c42e881..9df50c9fe 100644
--- a/include/nav.php
+++ b/include/nav.php
@@ -440,10 +440,10 @@ function channel_apps($is_owner = false, $nickname = null) {
if($p['view_stream'] && $cal_link) {
$tabs[] = [
- 'label' => t('Events'),
+ 'label' => t('Calendar'),
'url' => z_root() . $cal_link,
- 'sel' => ((argv(0) == 'cal' || argv(0) == 'events') ? 'active' : ''),
- 'title' => t('Events'),
+ 'sel' => ((argv(0) == 'cal') ? 'active' : ''),
+ 'title' => t('Calendar'),
'id' => 'event-tab',
'icon' => 'calendar'
];