function reinitParams() { if ($this->editorNo) { $pArr = explode('|', $this->bparams); $pArr[1] = implode(':', array($this->editorNo, $this->contentTypo3Language, $this->contentTypo3Charset)); $pArr[2] = $this->RTEtsConfigParams; $this->bparams = implode('|', $pArr); } parent::reinitParams(); }
/** * We need to pass along some RTE parameters * * @return void */ function reinitParams() { if ($this->editorNo) { $pArr = explode('|', $this->bparams); $pArr[1] = implode(':', array($this->editorNo, $this->sys_language_content)); $pArr[2] = $this->RTEtsConfigParams; if ($this->act == 'dragdrop' || $this->act == 'plain') { $pArr[3] = 'jpg,jpeg,gif,png'; } $this->bparams = implode('|', $pArr); } parent::reinitParams(); }