From b4f206c6db7a73635140a48eb804cd868397d859 Mon Sep 17 00:00:00 2001 From: james Date: Wed, 21 Jul 2010 19:27:50 +0000 Subject: [PATCH] Migrate stuff out of primarynav into the login box --- common.inc.php | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/common.inc.php b/common.inc.php index 5785ef5..f64b0af 100644 --- a/common.inc.php +++ b/common.inc.php @@ -187,7 +187,16 @@ if(!$_SESSION['conferences_id']) { "; + echo "
\n"; + echo "My: ".i18n("Account").""; + echo " | "; + echo "".i18n("Profile").""; + echo " | "; + echo "".i18n("Main").""; + echo "
"; + echo "
\n"; echo "".i18n("Logout").""; + echo "
"; } else if(isset($_SESSION['email'])) { /* Backwards compatible login settings */ @@ -304,11 +313,6 @@ if(is_array($_SESSION['roles'])) { ?> ".i18n("Main Page").''; - echo "
  • ".i18n("My Profile").'
  • '; - if(in_array('committee', $_SESSION['roles'])) { -// echo "
  • ".i18n("Committee Home").'
  • '; - } if(in_array('admin', $_SESSION['roles'])) { echo "
  • ".i18n("Administration").' (old)
  • '; }