[TYPO3] <img> in locallang.xml

Stanislav Yefimenko efsv at ukr.net
Wed Jun 21 15:57:18 CEST 2006


Hi!
My previous post is wrong.
The replacement string should be

"$this->pi_getLL('pi_list_browseresults_prev','&lt; Previous')"

of course

I am sorry

> Hi,
> 
> May be this is because output is passed through htmlspecialchars()
> 
> If you have access to extension files, search in file
> "...ext\indexed_search\pi\class.tx_indexedsearch.php" string
> 
> "$this->pi_getLL('pi_list_browseresults_prev','< Previous',1)"
> 
> and change it to
> 
> "$this->pi_getLL('pi_list_browseresults_prev','< Previous')"
> 
> Perhaps, it will help
> 
> Joern Bock wrote:
>> Hi list,
>> I'm used to add little images in some locallang files. E.g. to give 
>> links an arrow or to replace text with a button. Works fine with most 
>> of the extensions like that
>>
>> plugin.tt_news  {
>>   _LOCAL_LANG.de {
>>     more = <img src="fileadmin/more-arrow.gif">more
>>   }
>> }
>>
>> But there are some extensions like the indexed_search where these 
>> method doesn't work. I have that example:
>>
>> plugin.tx_indexedsearch {
>>   _LOCAL_LANG.de {
>>     pi_list_browseresults_prev = <img src="fileadmin/prev.gif">previous
>>   }
>> }
>>
>> the output is sadly:
>> <img src="fileadmin/prev.gif">previous Page1 Page2 ...
>>
>> I tried
>> pi_list_browseresults_prev = &lt;img src="fileadmin/prev.gif"&gt;
>> that doesn't work as well.
>>
>> How could I possibly add an image to the locallang.xml in the 
>> indexed_search? Are there some settings to be done?
>> Best regards
>> Joern



More information about the TYPO3-english mailing list