[TYPO3-core] create nice filenames

Ingmar Schlecht ingmar at typo3.org
Thu Nov 10 14:34:14 CET 2005


Hi Martin,

looks good to me, but maybe add:
	require_once(PATH_t3lib.'class.t3lib_cs.php');
to the beginning of the file in case it's not included yet.

Apart from that: +1

cheers,
Ingmar

Martin Kutschker schrieb:
> This is a CVS patch request.
> 
> Type: New feature
> 
> Description:
> 
> In the BE when you create new file names (or folder names) every forbidden character is replaced by a _. This is annoying, especially for UTF-8 where two _'s will be generated.
> 
> Solution:
> 
> Modify the file name cleaning routine to do an ASCII-conversion with t3lib_cs. Use the correct charset depending on context, but provide an interface for overriding.
> 
> Additionally increase the max length to 60. 30 was to short for me on many occasions (I like to have rather descriptive names for my template files).
> 
> Branches: HEAD
> 
> Masi




More information about the TYPO3-team-core mailing list