Project

General

Profile

Bug #19910 » bug10259_trunk.patch

Administrator Admin, 2009-02-22 21:32

View differences:

typo3/sysext/lowlevel/dbint/index.php (working copy)
*
* This module lets you check if all pages and the records relate properly to each other
*
* $Id$
*
* @author Kasper Skaarhoj <kasperYYYY@typo3.com>
* @coauthor Jo Hasenau <info@cybercraft.de>
*/
......
// Output content:
$content = $GLOBALS['LANG']->getLL('clickToUpdateRefIndex') . ' <input type="submit" name="_update" value="' . $GLOBALS['LANG']->getLL('updateNow') . '" /><br/>';
$content.= $GLOBALS['LANG']->getLL('clickToTestRefIndex') . ' <input type="submit" name="_check" value="' . $GLOBALS['LANG']->getLL('checkNow') . '" /><br/>';
$content.= $GLOBALS['LANG']->getLL('checkScript') . '<br/>' . t3lib_extMgm::extPath('lowlevel').'dbint/cli/refindex_cli.phpsh';
$content.= $GLOBALS['LANG']->getLL('clickToTestRefIndex') . ' <input type="submit" name="_check" value="' . $GLOBALS['LANG']->getLL('checkNow') . '" /><br/><br/>';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript') . '</p><br />';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_check_description') . '<br />' .
$GLOBALS['LANG']->getLL('checkScript_check_example') . '</p><br />';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_update_description') . '<br />' .
$GLOBALS['LANG']->getLL('checkScript_update_example') . '</p><br />';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_more') . '</p>';
$this->content.= $this->doc->section($GLOBALS['LANG']->getLL('updateRefIndex'), $content, false, true);
}
typo3/sysext/lowlevel/dbint/locallang.xml (working copy)
<label index="updateNow">Update now!</label>
<label index="clickToTestRefIndex">Click here to test reference index:</label>
<label index="checkNow">Check now!</label>
<label index="checkScript">You can also run the check as a shell script if the processing takes longer than the PHP max_execution_time allows:</label>
<label index="checkScript">You can also run the check as a shell script using CLI if the processing takes longer than the PHP max_execution_time allows.</label>
<label index="checkScript_check_description">To check the reference index use:</label>
<label index="checkScript_check_example">php /path/to/your/typo3/cli_dispatch.phpsh lowlevel_refindex -c</label>
<label index="checkScript_update_description">To update the reference index use:</label>
<label index="checkScript_update_example">php /path/to/your/typo3/cli_dispatch.phpsh lowlevel_refindex -e</label>
<label index="checkScript_more">Make sure that a BE user with the name _cli_lowlevel exists. For more details see: /path/to/your/typo3/sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt</label>
<label index="updateRefIndex">Update reference index</label>
<label index="showSQL">Show SQL parts</label>
<label index="useFormattedStrings">Use formatted strings, labels and dates instead of original values for results</label>
(1-1/2)