PHP код:
[...]
function formatStr($str) {
if (is_array($this->conf['general_stdWrap.'])) {
$str = $this->local_cObj->stdWrap($str, $this->conf['general_stdWrap.']);
}
return $str;
}
[...]
$newsAuthor = $this->local_cObj->stdWrap($row['author']?$this->pi_getLL('preAuthor').' '.$row['author']:'', $lConf['author_stdWrap.']);
$markerArray['###NEWS_AUTHOR###'] = $this->formatStr($newsAuthor);