Feature #17704 » hardcodedfuncs.diff
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="'.$altText.'"';
|
||
// "title":
|
||
$emptyTitleHandling = 'useAlt';
|
||
... | ... | |
$emptyTitleHandling = $conf['emptyTitleHandling'];
|
||
}
|
||
if ($titleText || $emptyTitleHandling == 'keepEmpty') {
|
||
$altParam.= ' title="'.htmlspecialchars(strip_tags($titleText)).'"';
|
||
$altParam.= ' title="'.$titleText.'"';
|
||
} elseif (!$titleText && $emptyTitleHandling == 'useAlt') {
|
||
$altParam.= ' title="'.htmlspecialchars(strip_tags($altText)).'"';
|
||
$altParam.= ' title="'.$altText.'"';
|
||
}
|
||
// "longDesc" URL
|
||
if ($longDesc) {
|
||
$altParam.= ' longdesc="'.htmlspecialchars(strip_tags($longDesc)).'"';
|
||
$altParam.= ' longdesc="'.$longDesc.'"';
|
||
}
|
||
return $altParam;
|
typo3/sysext/css_styled_content/static/setup.txt (working copy) | ||
---|---|---|
altText = TEXT
|
||
altText {
|
||
field = altText
|
||
stripHtml = 1
|
||
htmlSpecialChars = 1
|
||
split.token.char = 10
|
||
split.token.if.isTrue = {$styles.content.imgtext.imageTextSplit}
|
||
split.returnKey.data = register : IMAGE_NUM_CURRENT
|