24 if ($soxId !=
"-1" && isset($soxId)) {
26 $oNews =
oxNew(
"oxnews");
29 if (!isset($iNewsLang)) {
33 $this->_aViewData[
"newslang"] = $iNewsLang;
34 $oNews->loadInLang($iNewsLang, $soxId);
37 $oLang =
new stdClass();
38 $oLang->sLangDesc = $language;
40 $this->_aViewData[
"otherlang"][$id] = clone $oLang;
44 $this->_aViewData[
"edit"] = $oNews;
48 $this->_aViewData[
"editor"] = $this->
_generateTextEditor(
"100%", 255, $oNews,
"oxnews__oxlongdesc",
"news.tpl.css");
50 return "news_text.tpl";
67 $oNews =
oxNew(
"oxnews");
71 if (!isset($iNewsLang)) {
76 $oNews->loadInLang($iNewsLang, $soxId);
78 $aParams[
'oxnews__oxid'] = null;
84 $oNews->setLanguage(0);
85 $oNews->assign($aParams);
86 $oNews->setLanguage($iNewsLang);