Feature #20520 » t3lib_tceforms.diff
t3lib/class.t3lib_tceforms.php (revision ) | ||
---|---|---|
if(!$disabled && !(isset($config['disable_controls']) && t3lib_div::inList($config['disable_controls'], 'upload'))) {
|
||
// Adding the upload field:
|
||
if ($this->edit_docModuleUpload && $config['uploadfolder']) {
|
||
$item .= '<input type="file" name="' . $PA['itemFormElName_file'] . '"' . $this->formWidth() . ' size="60" onchange="' . implode('', $PA['fieldChangeFunc']) . '" />';
|
||
$item .= '<input type="file" name="' . $PA['itemFormElName_file'] . '" size="60" onchange="' . implode('', $PA['fieldChangeFunc']) . '" />';
|
||
}
|
||
}
|
||
break;
|
||
... | ... | |
t3lib_iconWorks::getSpriteIcon('actions-selection-delete', array('title' => htmlspecialchars($this->getLL('l_remove_selected')))) .
|
||
'</a>';
|
||
}
|
||
if(trim($params['info']) == strtoupper(str_replace(',',' ',trim($GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])))) {
|
||
$rightbox = '';
|
||
$thumbnails = '<div class="imagethumbs">'. $this->wrapLabels($params['thumbnails']) .'</div>';
|
||
} else {
|
||
$rightbox = $this->wrapLabels($params['thumbnails']);
|
||
$thumbnails = '';
|
||
}
|
||
|
||
$str='<table border="0" cellpadding="0" cellspacing="0" width="1">
|
||
'.($params['headers']?'
|
||
... | ... | |
<tr>
|
||
<td valign="top">'.
|
||
$selector.
|
||
($params['noList'] ? '' : '<br />'.$this->wrapLabels($params['info'])) .
|
||
'</td>
|
||
$thumbnails.
|
||
($params['noList'] ? '' : '<span class="filetypes">'. $this->wrapLabels($params['info'])) .
|
||
'</span></td>
|
||
<td valign="top" class="icons">'.
|
||
implode('<br />',$icons['L']).'</td>
|
||
<td valign="top" class="icons">'.
|
||
implode('<br />',$icons['R']).'</td>
|
||
<td valign="top" class="thumbnails">'.
|
||
$this->wrapLabels($params['thumbnails']).
|
||
$rightbox.
|
||
'</td>
|
||
</tr>
|
||
</table>';
|
typo3/sysext/t3skin/stylesheets/structure/element_tceforms.css (revision ) | ||
---|---|---|
padding-top: 6px;
|
||
}
|
||
|
||
table.typo3-TCEforms div.imagethumbs {
|
||
padding-top: 6px;
|
||
white-space: normal;
|
||
width: 250px;
|
||
}
|
||
|
||
table.typo3-TCEforms div.imagethumbs br {
|
||
display: none;
|
||
}
|
||
|
||
table.typo3-TCEforms div.imagethumbs .nobr {
|
||
display: inline-block;
|
||
width: 56px;
|
||
height: 56px;
|
||
overflow: hidden;
|
||
margin-right: 1px;
|
||
margin-bottom: 1px;
|
||
}
|
||
|
||
table.typo3-TCEforms span.filetypes {
|
||
display: block;
|
||
margin-top: 6px;
|
||
white-space: normal;
|
||
width: 250px;
|
||
}
|
||
|
||
.typo3-TCEforms select.tceforms-multiselect {
|
||
min-height: 85px;
|
||
}
|
||
|
||
.typo3-TCEforms-palette .typo3-csh-link img {
|
||
padding-top: 3px;
|
||
vertical-align: top;
|
||
}
|
||
|
||
.typo3-TCEforms-palette selct.select {
|
||
.typo3-TCEforms-palette select.select,
|
||
.t3-form-palette-field-container select.select {
|
||
margin-top: 2px;
|
||
}
|
||
|
typo3/sysext/t3skin/stylesheets/visual/element_tceforms.css (revision ) | ||
---|---|---|
border:none;
|
||
}
|
||
|
||
table.typo3-TCEforms div.imagethumbs .nobr {
|
||
background-color: #DDD;
|
||
}
|
||
|
||
table.typo3-TCEforms span.filetypes {
|
||
font-size:0.8em;
|
||
}
|
||
|
||
input.typo3-TCEforms-suggest-search {
|
||
background-image: url('../../icons/gfx/zoom.gif');
|
||
background-position: 2px center;
|