[TYPO3-german] Typo3-Mailform-Code bearbeiten!?
Fabian Koenig
koenig at bluhouse.de
Mon Apr 16 11:16:52 CEST 2007
Ah, Kommando zurueck!
Habe es gefunden..
Datei:
typo3/sysext/cms/tslib/class.tslib_content.php
Originalzeile (~2050):
$validateForm=' onsubmit="return
validateForm(\''.$formname.'\',\''.implode(',',$fieldlist).'\','.t3lib_div::quoteJSvalue($conf['goodMess']).','.t3lib_div::quoteJSvalue($conf['badMess']).','.t3lib_div::quoteJSvalue($conf['emailMess']).')"';
Zeile (mit entfernten <br>-Tags):
$validateForm=' onsubmit="return
validateForm(\''.$formname.'\',\''.implode(',',str_replace("%2A%3Cbr%3E","",$fieldlist)).'\','.t3lib_div::quoteJSvalue($conf['goodMess']).','.t3lib_div::quoteJSvalue($conf['badMess']).','.t3lib_div::quoteJSvalue($conf['emailMess']).')"';
Vieleicht hilft es ja irgendwann nochmal jemandem :)
mfg
Fabian
Fabian Koenig schrieb:
> Hi!
>
> Ich muss ein bisschen was am Typo3-Mailformular veraendern,
> dazu muss ich an die entsprechenden PHP-Dateien ran.
>
> Wo finde ich diese?
> (Ich muss die Ausgabe im Error-Popup durch ein str_replace(); jagen..)
>
> mfg
> Fabian
More information about the TYPO3-german
mailing list