* Added type path to getText function
authorChristian Jul Jensen <christian.jensen@typo3.org>
Fri, 29 Apr 2005 12:48:05 +0000 (12:48 +0000)
committerChristian Jul Jensen <christian.jensen@typo3.org>
Fri, 29 Apr 2005 12:48:05 +0000 (12:48 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@697 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/class.tslib_content.php

index 1a9d6ae..908241b 100755 (executable)
@@ -4674,6 +4674,9 @@ class tslib_cObj {
                                        case 'lll':
                                                $retVal = $GLOBALS['TSFE']->sL('LLL:'.$key);
                                        break;
+                                       case 'path':
+                                               $retVal = $GLOBALS['TSFE']->tmpl->getFileName($key);
+                                       break;
                                        case 'cobj':
                                                switch((string)$key)    {
                                                        case 'parentRecordNumber':