Bug #22650 ยป 15423.diff
typo3/sysext/lowlevel/dbint/index.php (working copy) | ||
---|---|---|
'function' => array(
|
||
0 => $GLOBALS['LANG']->getLL('menu', true),
|
||
'records' => $GLOBALS['LANG']->getLL('recordStatistics', true),
|
||
'tree' => $GLOBALS['LANG']->getLL('totalPageTree', true),
|
||
'relations' => $GLOBALS['LANG']->getLL('databaseRelations', true),
|
||
'search' => $GLOBALS['LANG']->getLL('fullSearch', true),
|
||
'filesearch' => $GLOBALS['LANG']->getLL('findFilename', true),
|
||
... | ... | |
case 'search':
|
||
$this->func_search();
|
||
break;
|
||
case 'tree':
|
||
$this->func_tree();
|
||
break;
|
||
case 'records':
|
||
$this->func_records();
|
||
break;
|
||
... | ... | |
$content = '<dl class="t3-overview-list">';
|
||
$availableModFuncs = array('records', 'tree', 'relations', 'search', 'filesearch', 'refindex');
|
||
$availableModFuncs = array('records', 'relations', 'search', 'filesearch', 'refindex');
|
||
foreach ($availableModFuncs as $modFunc) {
|
||
$link = 'index.php?SET[function]=' . $modFunc;
|
||
$title = $GLOBALS['LANG']->getLL($modFunc);
|
||
... | ... | |
}
|
||
}
|
||
/**
|
||
* Display page tree
|
||
*
|
||
* @return void
|
||
*/
|
||
function func_tree() {
|
||
global $LANG,$BACK_PATH;
|
||
$startID = 0;
|
||
$admin = t3lib_div::makeInstance('t3lib_admin');
|
||
$admin->genTree_makeHTML=1;
|
||
$admin->backPath = $BACK_PATH;
|
||
$admin->genTree(intval($startID),'<img src="' . $BACK_PATH . 'clear.gif" width="1" height="1" align="top" alt="" />');
|
||
$this->content.= $this->doc->header($GLOBALS['LANG']->getLL('tree'));
|
||
$this->content.= $this->doc->spacer(5);
|
||
$this->content.= $this->doc->sectionEnd();
|
||
$this->content.= $admin->genTree_HTML;
|
||
$this->content.= $admin->lostRecords($admin->genTree_idlist.'0');
|
||
}
|
||
/**
|
||
* Records overview
|
||
*
|
typo3/sysext/lowlevel/dbint/locallang.xml (working copy) | ||
---|---|---|
<languageKey index="default" type="array">
|
||
<label index="menu">[ MENU ]</label>
|
||
<label index="recordStatistics">Record Statistics</label>
|
||
<label index="totalPageTree">Total Page Tree</label>
|
||
<label index="databaseRelations">Database Relations</label>
|
||
<label index="fullSearch">Full search</label>
|
||
<label index="findFilename">Find filename</label>
|
||
... | ... | |
<label index="files_no_file">Missing files:</label>
|
||
<label index="select_db">Select fields:</label>
|
||
<label index="group_db">Group fields:</label>
|
||
<label index="tree">The Page Tree:</label>
|
||
<label index="tree_description">This shows all pages in the system in one large tree. Beware that this will probably result in a very long document which will also take some time for the server to compute!</label>
|
||
<label index="records">Records Statistics:</label>
|
||
<label index="records_description">This shows some statistics for the records in the database. This runs through the entire page-tree and therefore it will also load the server heavily!</label>
|
||
<label index="search">Search whole Database</label>
|