Project

General

Profile

Feature #17704 » hardcodedfuncs2.diff

Administrator Admin, 2007-10-20 22:28

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$longDesc = trim($this->stdWrap($conf['longdescURL'],$conf['longdescURL.']));
// "alt":
$altParam = ' alt="'.htmlspecialchars(strip_tags($altText)).'"';
$altParam = ' alt="'.htmlspecialchars($altText).'"';
// "title":
$emptyTitleHandling = 'useAlt';
......
$emptyTitleHandling = $conf['emptyTitleHandling'];
}
if ($titleText || $emptyTitleHandling == 'keepEmpty') {
$altParam.= ' title="'.htmlspecialchars(strip_tags($titleText)).'"';
$altParam.= ' title="'.htmlspecialchars($titleText).'"';
} elseif (!$titleText && $emptyTitleHandling == 'useAlt') {
$altParam.= ' title="'.htmlspecialchars(strip_tags($altText)).'"';
$altParam.= ' title="'.htmlspecialchars($altText).'"';
}
// "longDesc" URL
typo3/sysext/css_styled_content/static/setup.txt (working copy)
altText = TEXT
altText {
field = altText
stripHtml = 1
split.token.char = 10
split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
split.returnKey.data = register : IMAGE_NUM_CURRENT
(2-2/2)