2010-12-17 Ingo Renner <ingo@typo3.org>
* Fixed bug #16599: Radio Selector for content to show on mount pages not displaying the selected value, credits Joh Hasenau
2010-12-17 Ingo Renner <ingo@typo3.org>
* Fixed bug #16599: Radio Selector for content to show on mount pages not displaying the selected value, credits Joh Hasenau
+ * Fixed issue #16389: Inconsistent styling of the DB integrity checks overview
2010-12-17 Steffen Kamper <steffen@typo3.org>
2010-12-17 Steffen Kamper <steffen@typo3.org>
+ * Creates the overview menu.
- 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) {
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');
$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
+ . '" />';
+
- <dt><a href="' . $link . '">' . $title . '</a></dt>
+ <dt><a href="' . $link . '">' . $icon . $title . '</a></dt>
<dd>' . $description . '</dd>
';
}
$content .= '</dl>';
<dd>' . $description . '</dd>
';
}
$content .= '</dl>';
- $this->content .= $content;
+
+ $this->content .= $this->doc->section($moduleTitle, $content, false, true);
<label index="label">Label</label>
<label index="tablename">Table name</label>
<label index="total_lost">Records total / lost</label>
<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="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="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>
<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>