[TYPO3-core] Bugfix 2457 (was Advice needed: move getBorderAttr into t3lib_div?)

Michael Scharkow michael at underused.org
Sun Feb 12 14:37:48 CET 2006


Peter Niederlag wrote:

>>From my point of view tslib_menu seems to be used from tslib_content
> anyway so it should be possible to call tslib_cObj::getBorderAttr()
> static. Just to be very sure you could put in a require_once but imho it
> might not be needed.

Thanks Peter, you're right. Here comes the patch.

CVS Patch request
TYPE: Bugfix (http://bugs.typo3.org/view.php?id=2457)

Problem: the border attributes for images are not taken into account in 
GMENUs

Solution: Replace the hardcoded border=0 in tslib_menu with 
tslib_cObj::getBorderAttr()

Greetings,
Michael
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tslib_menu.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060212/739d1a48/attachment.diff 


More information about the TYPO3-team-core mailing list