Project

General

Profile

Feature #22627 ยป bug_14356.diff

Administrator Admin, 2010-05-14 17:36

View differences:

trunk_modified/t3lib/class.t3lib_tceforms.php 2010-05-14 17:33:05.000000000 +0200
'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']);
......
$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),
......
' 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(
......
}
// Creating the element:
$noList = isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'list');
$params = array(
'size' => $size,
'dontShowMoveIcons' => ($maxitems<=1),
......
'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']);
    (1-1/1)