]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Merge pull request #2016 from fabrixxm/template_vars_hook
[friendica.git] / include / nav.php
index 935d08f524536b6272951cf643842415f071e4b5..7fa9754ef15f0e4a8e4b000c6a5ae0b4bfd1d442 100644 (file)
@@ -138,6 +138,8 @@ function nav_info(&$a) {
        elseif(get_config('system','community_page_style') == CP_GLOBAL_COMMUNITY)
                $nav['community'] = array('community', t('Community'), "", t('Conversations on the network'));
 
+       $nav['events'] = Array('events', t('Events'), "", t('Events and Calendar'));
+
        $nav['directory'] = array($gdirpath, t('Directory'), "", t('People directory'));
 
        $nav['about'] = Array('friendica', t('Information'), "", t('Information about this friendica instance'));
@@ -238,6 +240,7 @@ function nav_set_selected($item){
                'settings'              => null,
                'contacts'              => null,
                'manage'        => null,
+               'events'        => null,
                'register'      => null,
        );
        $a->nav_sel[$item] = 'selected';