+2009-02-06 Ingo Renner <ingo@typo3.org>
+
+ * Fixed bug #10357: Add gp as an alternative to gpvar in TS getText for a more consistent naming scheme
+
2009-02-05 Francois Suter <francois@typo3.org>
* Fixed bug #10346: l10n_display option abusively hides field for "All" languages when set to defaultAsReadonly
$key = trim($parts[1]);
if ((string)$key!='') {
switch(strtolower(trim($parts[0]))) {
+ case 'gp':
case 'gpvar':
list($firstKey, $rest) = explode('|', $key, 2);
if (strlen(trim($firstKey))) {
// Check that output is not an array:
if (is_array($retVal)) $retVal = '';
}
+ t3lib_div::deprecationLog('Using gpvar in TypoScript getText is deprecated since TYPO3 4.3 - Use gp instead of gpvar.');
break;
case 'tsfe':
$retVal = $this->getGlobal ('TSFE|'.$key);