From e5c53c8a5c3f3bc77f58838081dcb82f6c758e0c Mon Sep 17 00:00:00 2001 From: fisharebest Date: Fri, 29 Oct 2010 11:00:37 +0000 Subject: #667699 - Wrong login URL in FAB and Colors theme svn 9719 --- themes/colors/header.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'themes/colors') diff --git a/themes/colors/header.php b/themes/colors/header.php index eab5123e76..53e2a38539 100644 --- a/themes/colors/header.php +++ b/themes/colors/header.php @@ -120,7 +120,7 @@ if ($view!='simple') { if (WT_USER_ID) { echo '
  • ', getUserFullName(WT_USER_ID), '
  • ', - ' |
  • ', i18n::translate('Logout'), '
  • '; + ' |
  • ', logout_link(), '
  • '; if (WT_USER_GEDCOM_ADMIN) { echo ' |
  • ', i18n::translate('Administration'), '
  • '; } @@ -128,13 +128,7 @@ if ($view!='simple') { echo ' |
  • ', i18n::translate('Pending Changes'), '
  • '; } } else { - $LOGIN_URL=get_site_setting('LOGIN_URL'); - if (WT_SCRIPT_NAME==$LOGIN_URL) { - echo '
  • ', i18n::translate('Login'), '
  • '; - } else { - $QUERY_STRING = normalize_query_string($QUERY_STRING.'&logout='); - echo '
  • ', i18n::translate('Login'), '
  • '; - } + echo '
  • ', login_link(), '
  • '; } echo ' | ', MenuBar::getFavoritesMenu()->getMenuAsList(); $language_menu=MenuBar::getLanguageMenu(); -- cgit v1.3