Project

General

Profile

Feature #23827 » t3lib_tceforms_v3.diff

Administrator Admin, 2010-10-23 17:34

View differences:

t3lib/class.t3lib_tceforms.php (Arbeitskopie)
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'])))) {
$thumbnails = '<div class="imagethumbs">'. $this->wrapLabels($params['thumbnails']) .'</div>';
} else {
$thumbnails = $this->wrapLabels($params['thumbnails']);
}
$str='<table border="0" cellpadding="0" cellspacing="0" width="1">
'.($params['headers']?'
<tr>
......
<tr>
<td valign="top">'.
$selector.
($params['noList'] ? '' : '<br />'.$this->wrapLabels($params['info'])) .
'</td>
($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']).
$thumbnails .
'</td>
</tr>
</table>';
typo3/sysext/t3skin/stylesheets/structure/element_tceforms.css (Arbeitskopie)
padding-top: 6px;
}
table.typo3-TCEforms div.imagethumbs {
white-space: normal;
width: 253px;
display: inline-block;
vertical-align:top;
}
table.typo3-TCEforms div.imagethumbs br {
display: none;
}
table.typo3-TCEforms div.imagethumbs .nobr {
display: inline-block;
width: 60px;
height: 60px;
overflow: hidden;
margin-right: 3px;
margin-bottom: 1px;
text-align: center;
}
table.typo3-TCEforms div.imagethumbs .nobr a {
display: block;
width: 60px;
height: 60px;
line-height: 58px;
text-align: center;
}
table.typo3-TCEforms div.imagethumbs .nobr a img {
display: inline;
margin-right: auto;
vertical-align: middle;
margin-left: auto;
}
table.typo3-TCEforms div.imagethumbs .nobr span {
display: none;
}
table.typo3-TCEforms span.filetypes {
display: block;
margin-top: 6px;
white-space: normal;
width: 250px;
}
.typo3-TCEforms select.tceforms-multiselect {
min-height: 85px;
display:inline-block;
}
.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 (Arbeitskopie)
border:none;
}
table.typo3-TCEforms div.imagethumbs .nobr {
background-color: #CCC;
}
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;
(2-2/3)