Bug #17961 » 7070-label.diff
typo3/class.db_list_extra.inc (copie de travail) | ||
---|---|---|
// Init
|
||
$addWhere = '';
|
||
$titleCol = $TCA[$table]['ctrl']['label'];
|
||
$label = $TCA[$table]['ctrl']['label'];
|
||
$titleCol = ($label ? $label : 'pid');
|
||
$thumbsCol = $TCA[$table]['ctrl']['thumbnail'];
|
||
$l10nEnabled = $TCA[$table]['ctrl']['languageField'] && $TCA[$table]['ctrl']['transOrigPointerField'] && !$TCA[$table]['ctrl']['transOrigPointerTable'];
|
||
... | ... | |
}
|
||
$out.=$this->addelement(0,'',$theData,'class="c-table-row-spacer"',$this->leftMargin);
|
||
}
|
||
$theTitle = $GLOBALS['LANG']->sL($TCA[$table]['ctrl']['title'],1);
|
||
if ($theTitle == '') {
|
||
$theTitle = $table;
|
||
}
|
||
// Header line is drawn
|
||
$theData = Array();
|
||
if ($this->disableSingleTableView) {
|
||
$theData[$titleCol] = '<span class="c-table">'.$GLOBALS['LANG']->sL($TCA[$table]['ctrl']['title'],1).'</span> ('.$this->totalItems.')';
|
||
$theData[$titleCol] = '<span class="c-table">'.$theTitle.'</span> ('.$this->totalItems.')';
|
||
} else {
|
||
$theData[$titleCol] = $this->linkWrapTable($table,'<span class="c-table">'.$GLOBALS['LANG']->sL($TCA[$table]['ctrl']['title'],1).'</span> ('.$this->totalItems.') <img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/'.($this->table?'minus':'plus').'bullet_list.gif','width="18" height="12"').' hspace="10" class="absmiddle" title="'.$GLOBALS['LANG']->getLL(!$this->table?'expandView':'contractView',1).'" alt="" />');
|
||
$theData[$titleCol] = $this->linkWrapTable($table,'<span class="c-table">'.$theTitle.'</span> ('.$this->totalItems.') <img'.t3lib_iconWorks::skinImg($this->backPath,'gfx/'.($this->table?'minus':'plus').'bullet_list.gif','width="18" height="12"').' hspace="10" class="absmiddle" title="'.$GLOBALS['LANG']->getLL(!$this->table?'expandView':'contractView',1).'" alt="" />');
|
||
}
|
||
// CSH:
|
- « Previous
- 1
- 2
- Next »