Project

General

Profile

Bug #19910 » bug10259_2_trunk.patch.txt

Administrator Admin, 2009-02-23 20:11

 
Index: typo3/sysext/lowlevel/dbint/index.php
===================================================================
--- typo3/sysext/lowlevel/dbint/index.php (revision 5055)
+++ typo3/sysext/lowlevel/dbint/index.php (working copy)
@@ -373,8 +373,13 @@
// 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);
}
Index: typo3/sysext/lowlevel/dbint/locallang.xml
===================================================================
--- typo3/sysext/lowlevel/dbint/locallang.xml (revision 5055)
+++ typo3/sysext/lowlevel/dbint/locallang.xml (working copy)
@@ -24,7 +24,12 @@
<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>
(2-2/2)