Changeset View
Changeset View
Standalone View
Standalone View
branches/5.2.x/core/units/images/image_tag_processor.php
Show First 20 Lines • Show All 456 Lines • ▼ Show 20 Line(s) | |||||
if ( !$object->isLoaded() && !$this->SelectParam($params, 'default_image,DefaultImage') ) { | if ( !$object->isLoaded() && !$this->SelectParam($params, 'default_image,DefaultImage') ) { | ||||
return ''; | return ''; | ||||
} | } | ||||
// TODO: consider escaping in template instead | // TODO: consider escaping in template instead | ||||
$params['alt'] = kUtil::escape($params['alt']); | $params['alt'] = kUtil::escape($params['alt']); | ||||
$this->Application->Parser->DataExists = true; | |||||
return $this->Application->ParseBlock($params); | return $this->Application->ParseBlock($params); | ||||
} | } | ||||
/** | /** | ||||
* Returns url for image in case when image source is url (for admin) | * Returns url for image in case when image source is url (for admin) | ||||
* | * | ||||
* @param Array $params | * @param Array $params | ||||
* @return string | * @return string | ||||
Show All 31 Lines |