22 if ( $soxId !=
"-1" && isset( $soxId)) {
24 $oNewsletter =
oxNew(
"oxnewsletter" );
25 $oNewsletter->load( $soxId);
26 $this->_aViewData[
"edit"] = $oNewsletter;
32 $oNewsletter->prepare( $sUserID, $this->
getConfig()->getConfigParam(
'bl_perfLoadAktion' ) );
34 $this->_aViewData[
"previewhtml"] = $oNewsletter->getHtmlText();
35 $this->_aViewData[
"previewtext"] = $oNewsletter->getPlainText();
38 return "newsletter_preview.tpl";