session) { $arLoginOld=$ARCurrent->session->get("ARLogin"); $arPasswordOld=$ARCurrent->session->get("ARPassword"); $arCallArgs.="&arLoginOld=".RawUrlEncode($arLoginOld); // when current user is logged on as public, then don't delete his // session. if ($AR->user && ($AR->user->data->login!="public")) { // now set the user back to 'public' $temp=$this->get("/system/users/public","system.get.phtml"); if ($temp && $temp[0]) { $AR->user=$temp[0]; $AR->user->grants=$this->GetValidGrants(); // do not update the cookie and session data // cookies must be set only by login.phtml // just kill the session // $ARCurrent->session->kill(); $ARCurrent->session->put("ARLogin","public"); $ARCurrent->session->put("ARPassword","none"); } } } if ($this->CheckConfig($arCallFunction, $arCallArgs)) { ?> Ariadne - <?php echo $arLoginMessage; ?>
path; } if (!$arReturnTemplate) { $arReturnTemplate=$function; if ($QUERY_STRING) { $arReturnTemplate.="?$QUERY_STRING"; } } ?>


 :
 :

 
" onClick="window.opener.history.back(); window.close();">  ">
session && $arLoginOld && $arPasswordOld) { $ARCurrent->session->put("ARLogin",$arLoginOld); $ARCurrent->session->put("ARPassword",$arPasswordOld); } ?>