diff -ru typo3/trunk/t3lib/class.t3lib_tceforms.php trunk_modified/t3lib/class.t3lib_tceforms.php --- typo3/trunk/t3lib/class.t3lib_tceforms.php 2010-05-14 14:10:34.000000000 +0200 +++ trunk_modified/t3lib/class.t3lib_tceforms.php 2010-05-14 17:33:05.000000000 +0200 @@ -2202,7 +2202,7 @@ 'thumbnails' => $thumbsnail, 'readOnly' => $disabled, 'noBrowser' => $noList || isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'browser'), - 'noList' => $noList, + 'noList' => $noList ); $item.= $this->dbFileIcons($PA['itemFormElName'],'file',implode(',',$tempFT),$itemArray,'',$params,$PA['onFocus']); @@ -2219,6 +2219,7 @@ $itemArray = t3lib_div::trimExplode(',', $PA['itemFormElValue'], 1); // Creating the element: + $noList = isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'list'); $params = array( 'size' => $size, 'dontShowMoveIcons' => ($maxitems <= 1), @@ -2228,7 +2229,9 @@ ' style="'.htmlspecialchars($config['selectedListStyle']).'"' : ' style="'.$this->defaultMultipleSelectorStyle.'"', 'info' => $info, - 'readOnly' => $disabled + 'readOnly' => $disabled, + 'noBrowser' => $noList || isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'browser'), + 'noList' => $noList ); $item.= $this->dbFileIcons( @@ -2289,6 +2292,7 @@ } // Creating the element: + $noList = isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'list'); $params = array( 'size' => $size, 'dontShowMoveIcons' => ($maxitems<=1), @@ -2297,7 +2301,9 @@ 'style' => isset($config['selectedListStyle']) ? ' style="'.htmlspecialchars($config['selectedListStyle']).'"' : ' style="'.$this->defaultMultipleSelectorStyle.'"', 'info' => $info, 'thumbnails' => $thumbsnail, - 'readOnly' => $disabled + 'readOnly' => $disabled, + 'noBrowser' => $noList || isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'browser'), + 'noList' => $noList ); $item.= $this->dbFileIcons($PA['itemFormElName'],'db',implode(',',$tempFT),$itemArray,'',$params,$PA['onFocus'],$table,$field,$row['uid']);