Fixed bug ##8505: String "Important Notice" in About Modules is hardcoded
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 1 Sep 2008 12:50:27 +0000 (12:50 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Mon, 1 Sep 2008 12:50:27 +0000 (12:50 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@4040 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/class.t3lib_befunc.php
typo3/stylesheet.css
typo3/sysext/lang/locallang_core.xml

index 8af75d4..b8f7616 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-09-01  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug ##8505: String "Important Notice" in About Modules is hardcoded
+
 2008-08-30  Stanislas Rolland  <typo3@sjbr.ca>
 
        * Fixed bug #9255: External URLs cannot be set in RTEhtmlarea anymore
index 0ebb51e..057b79a 100755 (executable)
@@ -3971,9 +3971,11 @@ final class t3lib_BEfunc {
 
                        if (count($warnings)) {
                                $style = ' style="margin-bottom:10px;"';
-                               $content = '<table border="0" cellpadding="0" cellspacing="0" class="warningbox"><tr><td>'.
-                                       $GLOBALS['TBE_TEMPLATE']->icons(3).'Important notice!<br /><ul><li'.$style.'>'.
-                                       implode('</li><li'.$style.'>', $warnings).'</li></ul>'.
+                               $content = '<table border="0" cellpadding="0" cellspacing="0" class="warningbox"><tr><td>' .
+                                       $GLOBALS['TBE_TEMPLATE']->icons(3) . '<span class="warningboxheader">' .
+                                       $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_core.xml:warning.header') .
+                                       '</span><br /><ul><li' . $style.'>' .
+                                       implode('</li><li' . $style . '>', $warnings) . '</li></ul>' .
                                        '</td></tr></table>';
 
                                unset($warnings);
index 42d55c6..b6e7234 100755 (executable)
@@ -2419,6 +2419,9 @@ div.warningbox {
        margin: 10px 0px 10px 0px;
 }
 
+span.warningboxheader {
+       margin-left: 5px;
+}
 
 /* - - - - - - - - - - - - - - - - - - - - -
 
index 602b948..a98b0ec 100755 (executable)
@@ -213,6 +213,7 @@ Would you like to save now in order to refresh the display?</label>
                        <label index="warning.install_enabled_cmd">Click to remove the file now!</label>
                        <label index="warning.install_encryption">The encryption key is not set. Set it in the %sBasic Configuration section%s of the Install Tool.</label>
                        <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&gt;DB Check%s and update the reference index.</label>
                        <label index="toolbarItems.shortcuts">Shortcuts</label>
                        <label index="toolbarItems.shortcutsGroup">Shortcut Group</label>