Follow-up on feature #8899: Rename "options.fileTree.uploadFieldsInLinkBrowser" to...
authorMichael Stucki <michael.stucki@typo3.org>
Mon, 20 Oct 2008 10:34:02 +0000 (10:34 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Mon, 20 Oct 2008 10:34:02 +0000 (10:34 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4332 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/class.browse_links.php

index 705eb4f..7c0409b 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-10-20  Michael Stucki  <michael@typo3.org>
+
+       * Follow-up on feature #8899: Rename "options.fileTree.uploadFieldsInLinkBrowser" to "options.folderTree.uploadFieldsInLinkBrowser" (patch by Steffen Kamper)
+
 2008-10-20  Dmitry Dulepov  <dmitry@typo3.org>
 
        * Fixed bug #9398: Labels in Module User Administration are hardcoded (thanks to Christopher Stelmaszyk)
index 21f61d5..4236c20 100755 (executable)
@@ -2654,7 +2654,7 @@ class browse_links {
                if ($this->isReadOnlyFolder($path)) return '';
 
                        // Read configuration of upload field count
-               $userSetting = $GLOBALS['BE_USER']->getTSConfigVal('options.fileTree.uploadFieldsInLinkBrowser');
+               $userSetting = $GLOBALS['BE_USER']->getTSConfigVal('options.folderTree.uploadFieldsInLinkBrowser');
                $count = isset($userSetting) ? $userSetting : 3;
                if ($count === '0') {
                        return '';
@@ -2717,7 +2717,7 @@ class browse_links {
                if ($this->isReadOnlyFolder($path)) return '';
                
                        // Don't show Folder-create form if it's denied
-               if ($GLOBALS['BE_USER']->getTSConfigVal('options.fileTree.hideCreateFolder')) {
+               if ($GLOBALS['BE_USER']->getTSConfigVal('options.folderTree.hideCreateFolder')) {
                        return '';
                }
                        // Create header, showing upload path: