[TYPO3-dev] Harmful code

Chris Wittmann [Swift Lizard] chris at swift-lizard.com
Thu Apr 6 15:16:44 CEST 2006


Hi Folks,

> I would be nice to get rid of this kind of code
>     // "New" and "Paste" icon:
>                         $newIcon = 
> '<img'.t3lib_iconWorks::skinImg($this->doc->backPath,'gfx/new_el.gif','').' 
> style="text-align: center; vertical-align: middle;" vspace="5" 
> hspace="1" border="0" title="'.$LANG->getLL ('createnewrecord').'" 
> alt="" />';

also tapios comments are sometimes anoying, at this case he is right,..
we should get rid of code like this (and there are many of those 
snipplets in typo3_src and extensions).

The complete line ( style="text-align: center; vertical-align: middle;" 
vspace="5"  hspace="1" border="0" ) could be replaced by a simple class 
to make skinning much easier for all of us,...

what do you think,...

from 18.April on i could spent some hours in the evening to help to get 
rid of those old and obsolete parts, i someone wants some help at this 
case..


chris




More information about the TYPO3-dev mailing list