CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.6 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Bug #6524

abbr tag not visible

Added by Katja Lampela over 3 years ago. Updated over 2 years ago.

Status:New Start date:2010-02-19
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Votes: 0

Description

There was a need for abbr tag in the weekdays in a thai site. I noticed it was there in the source, but in a way it is not visible due to the fact that it was realized this way in the pi1/class.tx_newscalendar_pi1.php row 595:

$calendar .= '<th abbr="'.$this->convertSpecialCharacters($d).'">'.$this->convertSpecialCharacters($day_name_length <= 4 ? $GLOBALS['TSFE']->csConvObj->substr($GLOBALS['TSFE']->renderCharset,$d,0,$day_name_length) : $d).'</th>';

I changed it to:

$calendar .= '<th><abbr title="'.$this->convertSpecialCharacters($d).'">'.$this->convertSpecialCharacters($day_name_length <= 4 ? $GLOBALS['TSFE']->csConvObj->substr($GLOBALS['TSFE']->renderCharset,$d,0,$day_name_length) : $d).'</abbr></th>';

and it shows.

Also available in: Atom PDF