Fixed bug #17402: Error page should use TYPO3_copyright_year constant (Thanks to...
authorErnesto Baschny <ernst@cron-it.de>
Mon, 31 Jan 2011 10:15:23 +0000 (10:15 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Mon, 31 Jan 2011 10:15:23 +0000 (10:15 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-5@10354 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/message/class.t3lib_message_errorpagemessage.php
typo3/sysext/t3skin/templates/errorpage-message.html

index 02e6ede..a500662 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-01-31  Ernesto Baschny  <ernst@cron-it.de>
+
+       * Fixed bug #17402: Error page should use TYPO3_copyright_year constant (Thanks to Johannes Feustel)
+
 2011-01-30  Steffen Kamper  <steffen@typo3.org>
 
        * Fixed bug #17371: Typo in MEDIA renders wrong height
index 621b903..57728d8 100644 (file)
@@ -99,6 +99,7 @@ class t3lib_message_ErrorpageMessage extends t3lib_message_AbstractMessage {
                        '###MESSAGE###'       => $this->message,
                        '###BASEURL###'       => t3lib_div::getIndpEnv('TYPO3_SITE_URL'),
                        '###TYPO3_mainDir###' => TYPO3_mainDir,
+                       '###TYPO3_copyright_year###' => TYPO3_copyright_year,
                );
 
                $content = t3lib_div::getUrl(PATH_site . $this->htmlTemplate);
index 7973906..6c3cbf5 100644 (file)
@@ -33,7 +33,7 @@
 <div id="t3-footer">
        <div id="t3-copyright-notice">
                TYPO3 is an open source content management system. To maintain the quality of the system and to improve it, please help us by donating.
-               TYPO3 CMS. Copyright © 1998-2010 Kasper Skårhøj. Extensions are copyright of their respective owners. Go to http://typo3.com/ for details.
+               TYPO3 CMS. Copyright © ###TYPO3_copyright_year### Kasper Skårhøj. Extensions are copyright of their respective owners. Go to http://typo3.com/ for details.
                TYPO3 comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it under certain conditions. Obstructing the appearance of this notice is prohibited by law.
        </div>
 </div>