]> git.mxchange.org Git - friendica.git/blobdiff - include/nav.php
Wrong variable name
[friendica.git] / include / nav.php
old mode 100644 (file)
new mode 100755 (executable)
index 16ec941..511ca07
@@ -114,7 +114,11 @@ function nav(&$a) {
                /* only show friend requests for normal pages. Other page types have automatic friendship. */
 
                if($_SESSION['page_flags'] == PAGE_NORMAL) {
-                       $nav['notifications'] = array('notifications',  t('Notifications'), "", t('Friend requests'));
+                       $nav['introductions'] = array('notifications/intros',   t('Introductions'), "", t('Friend Requests'));
+                       $nav['notifications'] = array('notifications',  t('Notifications'), "", t('Notifications'));
+                       $nav['notifications']['all']=array('notifications/system', t('See all notifications'), "", "");
+                       $nav['notifications']['mark'] = array('', t('Mark all system notifications seen'), '','');
+
                }
 
                $nav['messages'] = array('message', t('Messages'), "", t('Private mail'));
@@ -145,7 +149,7 @@ function nav(&$a) {
        $banner = get_config('system','banner');
 
        if($banner === false) 
-               $banner .= '<a href="http://project.friendika.com"><img id="logo-img" src="images/friendika-32.png" alt="logo" /></a><span id="logo-text"><a href="http://project.friendika.com">Friendika</a></span>';
+               $banner .= '<a href="http://friendica.com"><img id="logo-img" src="images/friendica-32.png" alt="logo" /></a><span id="logo-text"><a href="http://friendica.com">Friendica</a></span>';
 
 
        $tpl = get_markup_template('nav.tpl');
@@ -175,11 +179,14 @@ function nav_set_selected($item){
                'network'               => null,
                'home'                  => null,
                'profiles'              => null,
+               'introductions' => null,
                'notifications' => null,
                'messages'              => null,
-               'directory'     => null,
+               'directory'         => null,
                'settings'              => null,
                'contacts'              => null,
+               'manage'        => null,
+               'register'      => null,
        );
        $a->nav_sel[$item] = 'selected';
 }