[TYPO3-core] bug in getBorderAttr()
rupert germann
rupi at gmx.li
Thu Oct 20 17:06:46 CEST 2005
On Thursday 20 October 2005 23:50, Bernhard Kraft wrote:
> Didn't test for syntax errors, but if what you want to achieve that the
> border attr doesn't get returned when: either doctype is set to an XHTML
> type
> OR
> disableImgBorderAttr is set
>
> then it looks okay for me ...
exactly this was the plan.
> > - if
> > (!t3lib_div::inList('xhtml_strict,xhtml_11,xhtml_2',$GLOBALS['TSFE']->co
> >nfig['config']['doctype']) ||
>
> !$GLOBALS['TSFE']->config['config']['disableImgBorderAttr']) {
>
> PS: Did you know that:
> !a || !b == !(a && b)
not yet. Sometimes I have the feeling that I must have been ill or absent when
we had this Boolean algebra stuff in school - long time ago ;-)
greets
rupert
More information about the TYPO3-team-core
mailing list