[TYPO3-core] RFC: Fix bugs #3397 (submit as image) and #2938 (editIcons)

Martin Kutschker Martin.Kutschker at n0spam-blackbox.net
Thu Jun 8 19:03:48 CEST 2006


Martin Kutschker schrieb:
> Hi!
> 
> I've already posted this by accident in CRG (without response), but here 
> we go again ...
> 
> Problem 1: graphical submit is rendered with IMAGE and a str_replace 
> which leaves unwanted image attributes in the input element. Can be 
> solved by using IMG_RESOURCE.

Attached is the new patch.

It uses IMG_RESOURCE but adds altText, titleText and params of IMAGE.

I have also modified getAltParam in a way that it may prevent the setting 
of longdesc which is only valid for img elements.

> Problem 2: editIcons have two title attributes (one is hard coded to en 
> empty string). Can be solved by removing the empty attribute.
> 
> Branches: HEAD, TYPO3_4-0

Commited.

Masi
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: tslib_content-submit2.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20060608/6958c8e4/attachment.diff 


More information about the TYPO3-team-core mailing list