15         $this->
getConfig()->setConfigParam(
'blAdmin', 
true);
 
   16         $this->_sThisAction = 
"login";
 
   30         if (!
$myConfig->isSsl() && strpos(
$myConfig->getConfigParam(
'sAdminSSLURL'), 
'https://') === 0) {
 
   35         $oUser = 
oxNew(
"oxuser");
 
   41         $oBaseShop = 
oxNew(
"oxshop");
 
   43         $oBaseShop->load(
$myConfig->getBaseShopId());
 
   44         $sVersion = $oBaseShop->oxshops__oxversion->value;
 
   46         $this->
getViewConfig()->setViewConfigParam(
'sShopVersion', $sVersion);
 
   86             $oUser = 
oxNew(
"oxuser");
 
   87             $oUser->login($sUser, $sPass);
 
   88             $iSubshop = (int) $oUser->oxuser__oxrights->value;
 
   95             $myUtilsView->addErrorToDisplay(
'LOGIN_ERROR');
 
   97             $this->
addTplParam(
'user', $oStr->htmlspecialchars($sUser));
 
   98             $this->
addTplParam(
'pwd', $oStr->htmlspecialchars($sPass));
 
   99             $this->
addTplParam(
'profile', $oStr->htmlspecialchars($sProfile));
 
  103             $myUtilsView->addErrorToDisplay(
'LOGIN_NO_COOKIE_SUPPORT');
 
  105             $this->
addTplParam(
'user', $oStr->htmlspecialchars($sUser));
 
  106             $this->
addTplParam(
'pwd', $oStr->htmlspecialchars($sPass));
 
  107             $this->
addTplParam(
'profile', $oStr->htmlspecialchars($sProfile));
 
  111             $myUtilsView->addErrorToDisplay($oEx);
 
  118         $oEvenHandler = 
oxNew(
"oxSystemEventHandler");
 
  122         if (isset($sProfile)) {
 
  124             if ($aProfiles && isset($aProfiles[$sProfile])) {
 
  126                 $myUtilsServer->setOxCookie(
"oxidadminprofile", $sProfile . 
"@" . implode(
"@", $aProfiles[$sProfile]), time() + 31536000, 
"/");
 
  131             $myUtilsServer->setOxCookie(
"oxidadminprofile", 
"", time() - 3600, 
"/");
 
  141         $myUtilsServer->setOxCookie(
"oxidadminlanguage", 
$aLanguages[$iLang]->abbr, time() + 31536000, 
"/");
 
  147         return "admin_start";
 
  168         return strtolower(get_class($this));
 
  179         $sDefLang = 
oxRegistry::get(
"oxUtilsServer")->getOxCookie(
'oxidadminlanguage');
 
  184             $oLang->selected = ($sDefLang == $oLang->abbr) ? 1 : 0;
 
  197         return strtolower(substr($_SERVER[
'HTTP_ACCEPT_LANGUAGE'], 0, 2));