Project

General

Profile

Bug #21274 » 12239.diff

Administrator Admin, 2009-10-14 23:21

View differences:

typo3/sysext/lowlevel/dbint/index.php (working copy)
}
</script>
';
$this->doc->tableLayout = Array (
'defRow' => Array (
'0' => Array('<td valign="top">','</td>'),
'1' => Array('<td valign="top">','</td>'),
'defCol' => Array('<td><img src="'.$this->doc->backPath.'clear.gif" width="15" height="1" alt="" /></td><td valign="top">','</td>')
$this->doc->table_TABLE = '<table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist" style="width:400px!important;">';
$this->doc->tableLayout = array (
'0' => array (
'defCol' => array('<td class="c-headLineTable"><img src="' . $this->doc->backPath . 'clear.gif" width="10" height="1" alt="" /></td><td valign="top" class="c-headLineTable"><b>', '</b></td>')
),
'defRow' => array (
'0' => array('<td valign="top">','</td>'),
'1' => array('<td valign="top">','</td>'),
'defCol' => array('<td><img src="'.$this->doc->backPath.'clear.gif" width="15" height="1" alt="" /></td><td valign="top">','</td>')
)
);
}
......
$this->content.= $this->doc->spacer(5);
// Pages stat
$codeArr=Array();
$codeArr=array();
$codeArr['tableheader'] = array('', $GLOBALS['LANG']->getLL('count'));
$i++;
$codeArr[$i][]='<img' . t3lib_iconWorks::skinImg($BACK_PATH,'gfx/i/pages.gif','width="18" height="16"') . ' hspace="4" align="top" alt="" />';
$codeArr[$i][]=$GLOBALS['LANG']->getLL('total_pages');
......
$this->content.=$this->doc->section($GLOBALS['LANG']->getLL('pages'), $this->doc->table($codeArr), false, true);
// Doktype
$codeArr=Array();
$codeArr=array();
$codeArr['tableheader'] = array($GLOBALS['LANG']->getLL('doktype_value'), $GLOBALS['LANG']->getLL('count'));
$doktype= $TCA['pages']['columns']['doktype']['config']['items'];
if (is_array($doktype)) {
reset($doktype);
......
$admin->lostRecords($id_list);
}
$codeArr = Array();
$this->doc->table_TABLE = '<table border="0" cellspacing="0" cellpadding="0" class="typo3-dblist" style="width:700px!important;">';
$codeArr = array();
$codeArr['tableheader'] = array(
$GLOBALS['LANG']->getLL('label'),
$GLOBALS['LANG']->getLL('tablename'),
$GLOBALS['LANG']->getLL('total_lost'),
''
);
$countArr = $admin->countRecords($id_list);
if (is_array($TCA)) {
reset($TCA);
while(list($t)=each($TCA)) {
if ($TCA[$t]['ctrl']['hideTable']) {
continue;
}
$codeArr[$t][]=t3lib_iconWorks::getIconImage($t,array(),$BACK_PATH,'hspace="4" align="top"');
$codeArr[$t][]=$LANG->sL($TCA[$t]['ctrl']['title']);
$codeArr[$t][]=$t;
typo3/sysext/lowlevel/dbint/locallang.xml (working copy)
<label index="searchingForFilenames">Searching for filenames:</label>
<label index="fixLostRecord">Click to move this lost record to rootlevel (pid=0)</label>
<label index="doktype">Document types:</label>
<label index="doktype_value">Document types (value)</label>
<label index="pages">Pages:</label>
<label index="total_pages">Total number of pages:</label>
<label index="deleted_pages">Marked-deleted pages:</label>
<label index="hidden_pages">Hidden pages:</label>
<label index="count">Count</label>
<label index="label">Lable</label>
<label index="tablename">Tablename</label>
<label index="total_lost">Records total / lost</label>
<label index="relations">Relations:</label>
<label index="relations_description">This will analyse the content of the tables and check if there are 'empty' relations between records or if files are missing from their expected position.</label>
<label index="files_many_ref">Files referenced from more than one record:</label>
(1-1/3)