Пример #1
0
 function SetPanelSettings()
 {
     if (IsCheckingOut()) {
         $GLOBALS['CreateAccountHeading'] = GetLang("CreateAnAccount");
         $GLOBALS['CreateAccountButtonText'] = GetLang("ContinueRaquo");
         $_SESSION['IsCheckingOut'] = true;
     } else {
         $GLOBALS['CreateAccountHeading'] = GetLang("CreateAnAccount");
         $GLOBALS['CreateAccountButtonText'] = GetLang("CreateMyAccount");
     }
 }
Пример #2
0
 function SetPanelSettings()
 {
     if (IsCheckingOut()) {
         // Show messages specific to checking out
         $GLOBALS['NewAccountHeading'] = GetLang("NewCustomer");
         $GLOBALS['ExistingUserHeading'] = GetLang("ReturningCustomer");
         $GLOBALS['LoginMessage'] = GetLang('SignInForFastCheckout');
         $GLOBALS['HideLoginNewAccountIntro'] = "none";
     } else {
         // Show the default messages on the login screen
         $GLOBALS['NewAccountHeading'] = GetLang("CreateANewAccount");
         $GLOBALS['ExistingUserHeading'] = GetLang("LoginToYourAccount");
         $GLOBALS['HideNewCustomerButton'] = "none";
     }
 }