Project

General

Profile

Bug #15313 ยป bug_2105.patch

Administrator Admin, 2006-01-06 14:04

View differences:

TYPO3core_testing/t3lib/class.t3lib_tceforms.php 2006-01-06 13:58:10.000000000 +0100
$this->resetSchemes();
// Rendering Main palette, if any
$mP = $TCA[$table]['ctrl']['mainpalette'];
if ($mP && !isset($this->palettesRendered[$this->renderDepth][$table][$mP])) {
$temp_palettesCollapsed=$this->palettesCollapsed;
$this->palettesCollapsed=0;
$out_array[$out_sheet][$out_pointer].=$this->getPaletteFields($table,$row,$mP,$this->getLL('l_generalOptions'));
$this->palettesCollapsed=$temp_palettesCollapsed;
$this->palettesRendered[$this->renderDepth][$table][$mP] = 1;
}
$this->wrapBorder($out_array[$out_sheet],$out_pointer);
$mParr = explode(',',$TCA[$table]['ctrl']['mainpalette']);
$i = 0;
foreach ($mParr as $mP) {
if ($mP && !isset($this->palettesRendered[$this->renderDepth][$table][$mP])) {
$temp_palettesCollapsed=$this->palettesCollapsed;
$this->palettesCollapsed=0;
$label = ($i==0?$this->getLL('l_generalOptions'):$this->getLL('l_generalOptions_more'));
$out_array[$out_sheet][$out_pointer].=$this->getPaletteFields($table,$row,$mP,$label);
$this->palettesCollapsed=$temp_palettesCollapsed;
$this->palettesRendered[$this->renderDepth][$table][$mP] = 1;
}
$this->wrapBorder($out_array[$out_sheet],$out_pointer);
if ($this->renderDepth) {
$this->renderDepth--;
$i++;
if ($this->renderDepth) {
$this->renderDepth--;
}
}
// Return the imploded $out_array:
TYPO3core_testing/typo3/sysext/cms/ext_tables.php 2006-01-06 13:49:29.000000000 +0100
'div' => 'tt_content_div.gif',
'html' => 'tt_content_html.gif'
),
'mainpalette' => '1',
'mainpalette' => '1,15',
'thumbnail' => 'image',
'requestUpdate' => 'list_type',
'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tbl_tt_content.php'
TYPO3core_testing/typo3/sysext/cms/tbl_tt_content.php 2006-01-06 13:48:51.000000000 +0100
bodytext;LLL:EXT:cms/locallang_ttc.php:bodytext.ALT.html;;nowrap;3-3-3')
),
'palettes' => Array (
'1' => Array('showitem' => 'hidden, starttime, endtime, fe_group'),
'1' => Array('showitem' => 'hidden, starttime, endtime'),
'15' => Array('showitem' => 'fe_group'),
'2' => Array('showitem' => 'imagecols, image_noRows, imageborder'),
'3' => Array('showitem' => 'header_position, header_layout, header_link, date'),
'4' => Array('showitem' => 'sys_language_uid, l18n_parent, colPos, spaceBefore, spaceAfter, section_frame, sectionIndex, linkToTop'),
TYPO3core_testing/typo3/sysext/lang/locallang_core.xml 2006-01-06 13:57:55.000000000 +0100
<label index="labels.clipInsert_file">Insert %s file(s) from the clipboard</label>
<label index="labels.clipInsert_db">Insert %s record(s) from the clipboard</label>
<label index="labels.generalOptions">General options:</label>
<label index="labels.generalOptions_more">General options (continued):</label>
<label index="labels.allTables">[All tables]</label>
<label index="labels.moreOptions">More options...</label>
<label index="labels.noMatchingValue">INVALID VALUE (&quot;%s&quot;)</label>
    (1-1/1)