Project

General

Profile

Bug #24055 ยป 16389.diff

Administrator Admin, 2010-11-14 21:06

View differences:

typo3/sysext/lowlevel/dbint/index.php (working copy)
}
/**
* Menu
* Creates the overview menu.
*
* @return void
*/
function func_default() {
$this->content .= $this->doc->header($GLOBALS['LANG']->getLL('title'));
protected function func_default() {
$availableModFuncs = array('records', 'relations', 'search', 'filesearch', 'refindex');
$content = '<dl class="t3-overview-list">';
$moduleTitle = $GLOBALS['LANG']->getLL('title');
$content = '<dl class="t3-overview-list">';
$availableModFuncs = array('records', 'relations', 'search', 'filesearch', 'refindex');
foreach ($availableModFuncs as $modFunc) {
$link = 'index.php?SET[function]=' . $modFunc;
$title = $GLOBALS['LANG']->getLL($modFunc);
$link = 'index.php?SET[function]=' . $modFunc;
$title = $GLOBALS['LANG']->getLL($modFunc);
$description = $GLOBALS['LANG']->getLL($modFunc . '_description');
$icon = '<img src="'
. t3lib_iconworks::skinImg($GLOBALS['BACK_PATH'], 'MOD:tools_dbint/db.gif', '', 1)
. '" width="16" height="16" title="' . $title . '" alt="' . $title
. '" />';
$content .= '
<dt><a href="' . $link . '">' . $title . '</a></dt>
<dt><a href="' . $link . '">' . $icon . $title . '</a></dt>
<dd>' . $description . '</dd>
';
}
$content .= '</dl>';
$this->content .= $content;
$this->content .= $this->doc->section($moduleTitle, $content, false, true);
}
typo3/sysext/lowlevel/dbint/locallang.xml (working copy)
<label index="label">Label</label>
<label index="tablename">Table name</label>
<label index="total_lost">Records total / lost</label>
<label index="relations">Relations:</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>
<label index="files_no_ref">Files with no references at all (delete them!):</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">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>
<label index="search_description">This searches through all database tables and records for a text string.</label>
    (1-1/1)