Project

General

Profile

Bug #21134 » 12052_v5.diff

Administrator Admin, 2010-02-21 18:47

View differences:

typo3/sysext/lowlevel/dbint/locallang.xml (working copy)
<label index="clickToUpdateRefIndex">Click here to update reference index:</label>
<label index="updateNow">Update now!</label>
<label index="clickToTestRefIndex">Click here to test reference index:</label>
<label index="referenceIndex_description">TYPO3's reference index keeps track of the relations between records. As it can happen that the reference index contains outdated values, you can check and update it here.</label>
<label index="referenceIndex_buttonUpdate">Update reference index</label>
<label index="referenceIndex_buttonCheck">Check reference index</label>
<label index="checkNow">Check now!</label>
<label index="checkScript_headline">Using the command line interface</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="checkScript_information">If you run these commands from the command line, make sure that a BE user with the name _cli_lowlevel exists.</label>
<label index="checkScript_moreDetails">For more details see:</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>
typo3/sysext/lowlevel/dbint/index.php (working copy)
}
// 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/><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>';
$content = '<p>' . $GLOBALS['LANG']->getLL('referenceIndex_description') . '</p><br />';
$content .= '<input type="submit" name="_check" value="' . $GLOBALS['LANG']->getLL('referenceIndex_buttonCheck') . '" /> <input type="submit" name="_update" value="' . $GLOBALS['LANG']->getLL('referenceIndex_buttonUpdate') . '" /><br /><br />';
$content .= '<h3>' . $GLOBALS['LANG']->getLL('checkScript_headline') . '</h3>';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript') . '</p>';
$content.= '<h4>' . $GLOBALS['LANG']->getLL('checkScript_check_description') . '</h4>' .
'<code>php ' . PATH_typo3 . 'cli_dispatch.phpsh lowlevel_refindex -c</code><br />';
$content.= '<h4>' . $GLOBALS['LANG']->getLL('checkScript_update_description') . '</h4>' .
'<code>php ' . PATH_typo3 . 'cli_dispatch.phpsh lowlevel_refindex -e</code><br /><br />';
$content.= '<div class="typo3-message message-information"><div class="message-body">' . $GLOBALS['LANG']->getLL('checkScript_information') . '</div></div>';
$content.= '<p>' . $GLOBALS['LANG']->getLL('checkScript_moreDetails') . '<br /><a href="' . $GLOBALS['BACK_PATH'] . 'sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt" target="_new">' . PATH_typo3 . 'sysext/lowlevel/HOWTO_clean_up_TYPO3_installations.txt</a></p>';
$this->content.= $this->doc->section($GLOBALS['LANG']->getLL('updateRefIndex'), $content, false, true);
}
(2-2/2)