[TYPO3-core] RFC #15741: Feature: PageRenderer should be able to include locallang-files as JS-InlineLabels

Steffen Kamper info at sk-typo3.de
Sun Sep 19 13:44:38 CEST 2010


Hi,

Jigal van Hemert schrieb:
> 
> In this case t3lib_div::readLLfile() will return either an array (maybe 
> empty) or FALSE in case of an error. So a check for FALSE would be enough:
> 
> if ($labels !== FALSE) {
>     foreach...
> 

yes, that's the best.

+1 by reading and testing of v3

vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 15741_v3.diff
Type: text/x-diff
Size: 2098 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20100919/f4ae8637/attachment.diff>


More information about the TYPO3-team-core mailing list