21         if ( $soxId != 
"-1" && isset( $soxId ) ) {
 
   23             $oUser = 
oxNew( 
"oxuser" );
 
   24             $oUser->load( $soxId );
 
   27             $oCountry = 
oxNew( 
"oxCountry" );
 
   28             $oCountry->loadInLang( 
oxRegistry::getLang()->getObjectTplLanguage(), $oUser->oxuser__oxcountryid->value );
 
   29             $oUser->oxuser__oxcountry = 
new oxField( $oCountry->oxcountry__oxtitle->value);
 
   31             $this->_aViewData[
"edit"] =  $oUser;
 
   35             $this->_aViewData[
'readonly'] = 
true;
 
   38         return "user_extend.tpl";
 
   57         $oUser = 
oxNew( 
"oxuser" );
 
   58         if ( $soxId != 
"-1" ) {
 
   59             $oUser->load( $soxId );
 
   61             $aParams[
'oxuser__oxid'] = null;
 
   65         $aParams[
'oxuser__oxactive'] = $oUser->oxuser__oxactive->value;
 
   68         if ( isset( $blNewsParams ) ) {
 
   69             $oNewsSubscription = $oUser->getNewsSubscription();
 
   70             $oNewsSubscription->setOptInStatus( (
int) $blNewsParams );
 
   74         $oUser->assign( $aParams );