From b00132339018efe95902900cbe0dabe5e2bbad0e Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 3 Jan 2013 17:36:03 -0800 Subject: make the menu consistent and eliminate redundancy - though we need icons for mail and events (sorry Thomas if this breaks your themes in a bad way, but at least the menus make sense now). --- include/nav.php | 7 +++---- view/theme/redbasic/css/style.css | 3 ++- view/tpl/nav.tpl | 18 +++++++++--------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/include/nav.php b/include/nav.php index da42dee95..5b5d80b17 100644 --- a/include/nav.php +++ b/include/nav.php @@ -72,8 +72,9 @@ EOT; // user menu $nav['usermenu'][] = Array('channel/' . $channel['channel_address'], t('Status'), "", t('Your posts and conversations')); - $nav['usermenu'][] = Array('profile/' . $channel['channel_address'], t('Profile'), "", t('Your profile page')); - + $nav['usermenu'][] = Array('profile/' . $channel['channel_address'], t('View Profile'), "", t('Your profile page')); + if(feature_enabled(local_user(),'multi_profiles')) + $nav['usermenu'] = Array('profiles', t('Edit Profiles'),"", t('Manage/Edit Profiles')); $nav['usermenu'][] = Array('photos/' . $channel['channel_address'], t('Photos'), "", t('Your photos')); // $nav['usermenu'][] = Array('events/', t('Events'), "", t('Your events')); @@ -151,8 +152,6 @@ EOT; $nav['manage'] = array('manage', t('Channel Select'), "", t('Manage Your Channels')); $nav['settings'] = array('settings', t('Settings'),"", t('Account/Channel Settings')); - if(feature_enabled(local_user(),'multi_profiles')) - $nav['profiles'] = array('profiles', t('Profiles'),"", t('Manage/Edit Profiles')); $nav['contacts'] = array('connections', t('Connections'),"", t('Manage/Edit Friends and Connections')); } diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index de51da983..0b3d35f24 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -214,7 +214,7 @@ header #banner #logo-text { -.nav-commlink, .nav-login-link { +.nav-commlink { display: block; height: 15px; margin-top: 67px; @@ -3618,6 +3618,7 @@ nav .nav-notify.show { display: block; } nav #nav-help-link, +nav #nav-login-link, nav #nav-search-link, nav #nav-directory-link, nav #nav-apps-link, diff --git a/view/tpl/nav.tpl b/view/tpl/nav.tpl index fda16540c..f8f9e1c06 100644 --- a/view/tpl/nav.tpl +++ b/view/tpl/nav.tpl @@ -59,19 +59,16 @@ {{ endif }} - - + {{ endif }} {{ if $userinfo }}
  • $usermenu.1
  • {{ endfor }} - - {{ if $nav.notifications }}
  • $nav.notifications.1
  • {{ endif }} - {{ if $nav.messages }}
  • $nav.messages.1
  • {{ endif }} + {{ if $nav.profiles }}
  • $nav.profiles.1
  • {{ endif }} + {{ if $nav.manage }}
  • $nav.manage.1
  • {{ endif }} + {{ if $nav.contacts }}
  • $nav.contacts.1
  • {{ endif }} + {{ if $nav.logout }}
  • $nav.logout.1
  • {{ endif }} + {{ endif }} {{ endif }} + {{ if $nav.login }}
  • {{ endif }} {{ if $nav.help }}