diff options
author | Mario Vavti <mario@mariovavti.com> | 2017-11-07 11:22:11 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2017-11-11 20:25:32 +0100 |
commit | 8260817cf702382d27a7d5006eea2c172a09b798 (patch) | |
tree | a95c17a49c8ea93d16a8f298a91ca70822ab69e6 /include | |
parent | 47d15f3bf4ce105c00bd77a0c86db9bf6350560a (diff) | |
download | volse-hubzilla-8260817cf702382d27a7d5006eea2c172a09b798.tar.gz volse-hubzilla-8260817cf702382d27a7d5006eea2c172a09b798.tar.bz2 volse-hubzilla-8260817cf702382d27a7d5006eea2c172a09b798.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 f70e5cb3b..6b98a807d 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' ]; |