Feature #17704 » hardcodedfuncs2.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="'.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
|
- « Previous
- 1
- 2
- Next »