22 if ($soxId !=
"-1" && isset($soxId)) {
24 $oUser =
oxNew(
"oxuser");
28 $oCountry =
oxNew(
"oxCountry");
29 $oCountry->loadInLang(
oxRegistry::getLang()->getObjectTplLanguage(), $oUser->oxuser__oxcountryid->value);
30 $oUser->oxuser__oxcountry =
new oxField($oCountry->oxcountry__oxtitle->value);
32 $this->_aViewData[
"edit"] = $oUser;
36 $this->_aViewData[
'readonly'] =
true;
39 return "user_extend.tpl";
59 $oUser =
oxNew(
"oxuser");
63 $aParams[
'oxuser__oxid'] = null;
67 $aParams[
'oxuser__oxactive'] = $oUser->oxuser__oxactive->value;
70 if (isset($blNewsParams)) {
71 $oNewsSubscription = $oUser->getNewsSubscription();
72 $oNewsSubscription->setOptInStatus((
int) $blNewsParams);
73 $oNewsSubscription->setOptInEmailStatus((
int)
oxRegistry::getConfig()->getRequestParameter(
"emailfailed"));
76 $oUser->assign($aParams);