Bug #18711 » 0008267.patch
t3lib/class.t3lib_tceforms_inline.php (Arbeitskopie) | ||
---|---|---|
}
|
||
// set the record container with data for output
|
||
$out = '<div id="'.$formFieldNames.'_header">'.$header.'</div>';
|
||
$out .= '<div id="'.$formFieldNames.'_fields"'.$appearanceStyleFields.'>'.$fields.$combination.'</div>';
|
||
$out = '<div id="'.$formFieldNames.'_header" class="inlineHeaderDiv">'.$header.'</div>';
|
||
$out.= '<div id="'.$formFieldNames.'_fields"'.$appearanceStyleFields.' class="inlineFieldsDiv">'.$fields.$combination.'</div>';
|
||
// wrap the header, fields and combination part of a child record with a div container
|
||
$class = 'inlineDiv'.($this->fObj->clientInfo['BROWSER']=='msie' ? 'MSIE' : '').($isNewRecord ? ' inlineIsNewRecord' : '');
|
||
$out = '<div id="'.$formFieldNames.'_div" class="'.$class.'">' . $out . '</div>';
|
||
... | ... | |
// Init:
|
||
$formFieldNames = $this->inlineNames['object'].'['.$foreign_table.']['.$rec['uid'].']';
|
||
$expandSingle = $config['appearance']['expandSingle'] ? 1 : 0;
|
||
$onClick = "return inline.expandCollapseRecord('".htmlspecialchars($formFieldNames)."', $expandSingle)";
|
||
$onClick = "this.blur(); return inline.expandCollapseRecord('".htmlspecialchars($formFieldNames)."', $expandSingle)";
|
||
// Pre-Processing:
|
||
$isOnSymmetricSide = t3lib_loadDBGroup::isOnSymmetricSide($parentUid, $config, $rec);
|
||
... | ... | |
// @TODO: Check the table wrapping and the CSS definitions
|
||
$header =
|
||
'<table cellspacing="0" cellpadding="0" border="0" width="100%" style="margin-right: '.$this->inlineStyles['margin-right'].'px;"'.
|
||
'<table cellspacing="0" cellpadding="0" border="0" width="100%"'.
|
||
($this->fObj->borderStyle[2] ? ' background="'.htmlspecialchars($this->backPath.$this->fObj->borderStyle[2]).'"':'').
|
||
($this->fObj->borderStyle[3] ? ' class="'.htmlspecialchars($this->fObj->borderStyle[3]).'"':'').'>' .
|
||
'<tr class="class-main12"><td width="18">'.$iconImg.'</td><td align="left"><b>'.$label.'</b></td><td align="right">'.$ctrl.'</td></tr></table>';
|
||
... | ... | |
* @return string The wrapped HTML code
|
||
*/
|
||
function wrapFormsSection($section, $styleAttrs = array(), $tableAttrs = array()) {
|
||
if (!$styleAttrs['margin-right']) $styleAttrs['margin-right'] = $this->inlineStyles['margin-right'].'px';
|
||
foreach ($styleAttrs as $key => $value) $style .= ($style?' ':'').$key.': '.htmlspecialchars($value).'; ';
|
||
if ($style) $style = ' style="'.$style.'"';
|
||
typo3/stylesheet.css (Arbeitskopie) | ||
---|---|---|
display: inline-block;
|
||
}
|
||
.typo3-TCEforms div.inlineDiv {
|
||
margin: 0 5px 5px 0;
|
||
}
|
||
.typo3-TCEforms div.inlineDiv > div.inlineFieldsDiv {
|
||
padding: 0 5px;
|
||
border-width: 0 1px 1px;
|
||
border-style: dotted;
|
||
border-color: #555;
|
||
}
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable,
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable1,
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable2,
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable3,
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable4,
|
||
.typo3-TCEforms div.inlineDiv > div.inlineHeaderDiv > table.wrapperTable5 {
|
||
margin: 0;
|
||
border: none;
|
||
}
|
||
/* Element Browser / RTE link selection: */
|
||
table#typo3-curUrl {
|
typo3/sysext/t3skin/stylesheets/typo3-TCEforms.css (Arbeitskopie) | ||
---|---|---|
TABLE.typo3-TCEforms TABLE.wrapperAttention .wrapperTable5 {
|
||
border: 1px solid #A30904;
|
||
}
|
||
/* - - - - - - - - - - - - - - - - - - - - -
|
||
TCEforms Inline-Relational-Record-Editing
|
||
- - - - - - - - - - - - - - - - - - - - - */
|
||
.typo3-TCEforms div.inlineDiv > div.inlineFieldsDiv {
|
||
border-color: #A2AAB8;
|
||
}
|