diff --git a/common.inc.php b/common.inc.php index b5676b70..e92bec4f 100644 --- a/common.inc.php +++ b/common.inc.php @@ -420,8 +420,8 @@ if(substr(getcwd(),-6)=="/admin" || substr(getcwd(),-7)=="/config") "; -echo "

".i18n($config['fairname'])."

"; +echo "

".i18n($config['fairname'])."

"; echo "
"; if(isset($_SESSION['users_type'])) { $types = array('volunteer' => 'Volunteer', 'judge' => 'Judge', @@ -431,7 +431,11 @@ if(isset($_SESSION['users_type'])) { echo i18n($types[$_SESSION['users_type']]); } echo " {$_SESSION['email']}: "; + if($_SESSION['multirole']) { + echo "[".i18n('Switch Roles')."] "; + } echo "[".i18n("Logout")."]"; + } else if(isset($_SESSION['email'])) { /* Backwards compatible login settings */ /* Check for committee */