23 if ($soxId !=
"-1" && isset($soxId)) {
25 $oGroup =
oxNew(
"oxgroups");
26 $oGroup->loadInLang($this->_iEditLang, $soxId);
28 $oOtherLang = $oGroup->getAvailableInLangs();
29 if (!isset($oOtherLang[$this->_iEditLang])) {
31 $oGroup->loadInLang(key($oOtherLang), $soxId);
34 $this->_aViewData[
"edit"] = $oGroup;
40 $this->_aViewData[
"posslang"] =
$aLang;
43 foreach ($oOtherLang as $id => $language) {
44 $oLang =
new stdClass();
45 $oLang->sLangDesc = $language;
47 $this->_aViewData[
"otherlang"][$id] = clone $oLang;
51 $oUsergroupMainAjax =
oxNew(
'usergroup_main_ajax');
52 $this->_aViewData[
'oxajax'] = $oUsergroupMainAjax->getColumns();
54 return "popups/usergroup_main.tpl";
57 return "usergroup_main.tpl";
73 if (!isset($aParams[
'oxgroups__oxactive'])) {
74 $aParams[
'oxgroups__oxactive'] = 0;
77 $oGroup =
oxNew(
"oxgroups");
79 $oGroup->load($soxId);
81 $aParams[
'oxgroups__oxid'] = null;
84 $oGroup->setLanguage(0);
85 $oGroup->assign($aParams);
86 $oGroup->setLanguage($this->_iEditLang);