Project

General

Profile

Bug #24462 » 16902_v3.diff

Administrator Admin, 2011-01-22 15:25

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_image.php (Arbeitskopie)
* @return string Output
*/
public function render($conf = array()) {
if ($this->cObj->checkIf($conf['if.'])) {
if (isset($conf['if.']) && $this->cObj->checkIf($conf['if.'])) {
$theValue = $this->cObj->cImage($conf['file'], $conf);
if (isset($conf['stdWrap.'])) {
$theValue = $this->cObj->stdWrap($theValue, $conf['stdWrap.']);
typo3/sysext/cms/tslib/content/class.tslib_content_phpscriptinternal.php (Arbeitskopie)
* @return string Output
*/
public function render($conf = array()) {
if (!is_array($conf) || empty($conf['scriptSuffix'])) {
throw new InvalidArgumentException('Expected parameter $conf[\'scriptSuffix\'] was not given.', 1295705938);
}
$ext = $conf['scriptSuffix'];
unset($conf['scriptSuffix']);
typo3/sysext/cms/tslib/content/class.tslib_content_text.php (Arbeitskopie)
* @return string Output
*/
public function render($conf = array()) {
$content = $conf['value'];
unset($conf['value']);
$content = '';
if (is_array($conf) && isset($conf['value'])) {
unset($conf['value']);
}
if(count($conf)) {
$content = $this->cObj->stdWrap($content, $conf);
}
(4-4/4)