[TYPO3] avoid spacer-gif and br
Ilaria De Marinis
ilaria.demarinis at caspur.it
Fri Aug 10 15:16:57 CEST 2007
Ok,
thank you very much for your suggestions!!!
Best regards
Ilaria
Tapio Markula wrote:
> Ilaria De Marinis kirjoitti:
>
>> I commented these two lines in
>> typo3/sysext/cms/tslib/class.tslib_content.php
>>
>> /function wrapSpace($content, $wrap) {
>> $result = $content;
>> if (trim($wrap)) {
>> $wrapArray = explode('|',$wrap);
>> $wrapBefore = intval($wrapArray[0]);
>> $wrapAfter = intval($wrapArray[1]);
>> if ($wrapBefore) {/
>> * #ILARIA$result = '<img
>> src="'.$GLOBALS['TSFE']->absRefPrefix.'clear.gif" width="1"
>> height="'.$wrapBefore.'"'.$this->getBorderAttr('* border="0"').'
>> class="spacer-gif" alt="" title="" /><br />'.$result;
>> / }
>> if ($wrapAfter) {/
>> * #ILARIA$result.='<img
>> src="'.$GLOBALS['TSFE']->absRefPrefix.'clear.gif" width="1"
>> height="'.$wrapAfter.'"'.$this->getBorderAttr('* border="0"').'
>> class="spacer-gif" alt="" title="" /><br />';
>> /}
>> }
>> return $result;
>> }/
>> I think I won't need anytime these two tags.
>> Hope help someone
>>
>
> that's bad practise. wpapBefore and and wrapAfter are in some
> TS Template - and they should be defined using approriate Template setup.
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
--
------------------------------------------------
Ilaria De Marinis
Settore Automazione Biblioteche
Phone: +3906-44486052
CASPUR - Via dei Tizii ,6 - 00185 Roma
e-mail: demarinis at caspur.it
------------------------------------------------
More information about the TYPO3-english
mailing list