Bug #6524
abbr tag not visible
| 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.