Project

General

Profile

Feature #17628 » 20071204_nobrowser.patch

Administrator Admin, 2007-12-04 08:17

View differences:

t3lib/class.t3lib_tceforms.php (working copy)
$minitems = t3lib_div::intInRange($config['minitems'],0);
$allowed = $config['allowed'];
$disallowed = $config['disallowed'];
$noBrowser = $config['noBrowser'];
$disabled = '';
if($this->renderReadonly || $config['readOnly']) {
......
'style' => isset($config['selectedListStyle']) ? ' style="'.htmlspecialchars($config['selectedListStyle']).'"' : ' style="'.$this->defaultMultipleSelectorStyle.'"',
'info' => $info,
'thumbnails' => $thumbsnail,
'readOnly' => $disabled
'readOnly' => $disabled,
'noBrowser' => $noBrowser
);
$item.= $this->dbFileIcons($PA['itemFormElName'],'file',implode(',',$tempFT),$itemArray,'',$params,$PA['onFocus']);
......
'style' => isset($config['selectedListStyle']) ? ' style="'.htmlspecialchars($config['selectedListStyle']).'"' : ' style="'.$this->defaultMultipleSelectorStyle.'"',
'info' => $info,
'thumbnails' => $thumbsnail,
'readOnly' => $disabled
'readOnly' => $disabled,
'noBrowser' => $noBrowser
);
$item.= $this->dbFileIcons($PA['itemFormElName'],'db',implode(',',$tempFT),$itemArray,'',$params,$PA['onFocus'],$table,$field,$row['uid']);
(2-2/2)