[TYPO3-core] RFC: #7891: Docheader Class with Hook for dynamic change of docheaders

Martin Kutschker martin.kutschker-n0spam at no5pam-blackbox.net
Tue Mar 25 15:50:15 CET 2008


Tapio Markula schrieb:
> Tapio Markula
>> Please look my proposal - it has a hook and it allows very flexible 
>> configuration
> 
> my previos patch didn't have exaclty the code style, which core team 
> requires. New patch has the same code style as Typo3 in general.
> No functionality changes.

>  				// replace the marker with the template and remove all line breaks (for IE compat)
> -			$markers['BUTTONLIST_' . strtoupper($key)] = str_replace("\n", '', $buttonTemplate);
> -		}
> +			$markers['BUTTONLIST_' . strtoupper($key)] = str_replace("\n", '', $buttonList);
> + 		}


Just hopping into this thread.

Please use t3lib_div::strtoupper(). One never knows if for some reason a 
Turkish locale is in effect.

Masi


More information about the TYPO3-team-core mailing list