[TYPO3-core] RFC: Add support for UNC paths in typolinks
    Ingmar Schlecht 
    ingmar at typo3.org
       
    Sun Aug 27 20:55:52 CEST 2006
    
    
  
Hi Stucki,
the inline documentation is wrong:
Michael Stucki wrote:
> +	/**
> +	 * Creates a href attibute for given $mailAddress.
> +	 * The function uses spamProtectEmailAddresses and Jumpurl functionality for encoding the mailto statement.
> +	 * If spamProtectEmailAddresses is disabled, it'll just return a string like "mailto:user at example.tld".
> +	 *
> +	 * @param	string		UNC path
> +	 * @param	string		The link text
> +	 * @return	string		Returns a numerical array with three elements: a) URL, string ready to be inserted into the href attribute of the <a> tag, b) the JavaScript command to open the UNC path (this is not possible via HREF), c) $linktxt: The string between starting and ending <a> tag.
> +	 */
> +	function getUNClink($path,$linktxt='')	{
Anyway, I'm neither against nor in favor of the change, so +-0.
cheers
Ingmar
    
    
More information about the TYPO3-team-core
mailing list