Bug #19978 » 10369.diff
t3lib/class.t3lib_befunc.php (working copy) | ||
---|---|---|
'<a href="'.$url.'">',
|
||
'</a>');
|
||
}
|
||
// Check for deprecated log (deprecation_*.log)
|
||
$logFiles = t3lib_div::getFilesInDir(PATH_typo3conf, 'log');
|
||
if (count($logFiles) > 0) {
|
||
//use first entry only
|
||
$logFileName = array_shift($logFiles);
|
||
$warnings["deprecation_log"] = sprintf(
|
||
$GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.deprecation_log'),
|
||
'<a href="alt_intro.php?showDeprecatedlog=' . rawurlencode(PATH_typo3conf . $logFileName) . '">',
|
||
t3lib_div::formatSize(filesize(PATH_typo3conf . $logFileName), $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_common.xml:byteSizeUnits', true)),
|
||
'</a>');
|
||
}
|
||
|
||
|
||
// Hook for additional warnings
|
||
if (is_array ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'])) {
|
||
foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'] as $classRef) {
|
typo3/alt_intro.php (working copy) | ||
---|---|---|
$this->content .= '
|
||
'.t3lib_BEfunc::displayWarningMessages();
|
||
|
||
// Deprecation Log
|
||
if (t3lib_div::_GP('deleteDeprecatedLog')) {
|
||
@unlink(rawurldecode(t3lib_div::_GP('deleteDeprecatedLog')));
|
||
}
|
||
if (t3lib_div::_GP('showDeprecatedlog')) {
|
||
$this->content .= '
|
||
<p>'.$LANG->getLL('showDeprecatedLog').'</p>
|
||
<div id="showDeprecatedLog"><pre>' . htmlspecialchars(file_get_contents(rawurldecode(t3lib_div::_GP('showDeprecatedlog')))) . '</pre></div>
|
||
<p><a href="alt_intro.php?deleteDeprecatedLog=' . t3lib_div::_GP('showDeprecatedlog') . '">' . $LANG->getLL('deleteDeprecatedLog') . '</a><br /><br /></p>';
|
||
|
||
}
|
||
|
||
|
||
$this->content .= '
|
||
<p>'.$LANG->getLL('introtext2').'</p>';
|
||
typo3/stylesheet.css (working copy) | ||
---|---|---|
margin-left: 10px;
|
||
}
|
||
div.typo3-alt-intro-php div#showDeprecatedLog {
|
||
overflow: scroll;
|
||
height: 300px;
|
||
background-color: white;
|
||
margin: 5px 0;
|
||
}
|
||
table#typo3-about-modules {
|
||
margin-top: 5px;
|
||
}
|
typo3/sysext/lang/locallang_alt_intro.xml (working copy) | ||
---|---|---|
<label index="introtext2">This is a brief description of the available modules:</label>
|
||
<label index="endText">Features may vary depending on your website and permissions</label>
|
||
<label index="userInfo">You're logged in as user:</label>
|
||
<label index="showDeprecatedLog">Deprecation Log:</label>
|
||
<label index="deleteDeprecatedLog">Delete Deprecation Log</label>
|
||
</languageKey>
|
||
</data>
|
||
</T3locallang>
|
typo3/sysext/lang/locallang_core.xml (working copy) | ||
---|---|---|
<label index="warning.install_update">This installation is not configured for the TYPO3 version it is running. If you did so intentionally, this message can be safely ignored. If you are unsure, visit the %sUpdate Wizard%s section of the Install Tool to see how TYPO3 would change.</label>
|
||
<label index="warning.header">Important Notice!</label>
|
||
<label index="warning.backend_reference">The Reference Index table is empty which is likely the result of a recent TYPO3 upgrade. Please go to %sTools>DB Check%s and update the reference index.</label>
|
||
<label index="warning.deprecation_log">There are deprecated functions called either from your Typoscript or from installed extensions. %sView Logfile (%s)%s </label>
|
||
<label index="toolbarItems.shortcuts">Shortcuts</label>
|
||
<label index="toolbarItems.shortcut">Shortcut</label>
|
||
<label index="toolbarItems.shortcutsGroup">Shortcut Group</label>
|
- « Previous
- 1
- 2
- Next »