diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-07 11:22:11 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-11-07 11:22:11 +0100 |
commit | 47fbdda40951be5109c739f63331e2bb95ebd64a (patch) | |
tree | ef425faa148dd59d83d77e4ea2fdefee6d889324 /include | |
parent | 1bb6dfc9a03550063d5b25fd804e586d45eb61fa (diff) | |
download | volse-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.php | 6 |
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' ]; |