[BUGFIX] Copyright year in HTML comment is hardcoded
authorAndreas Wolf <andreas.wolf@ikt-werk.de>
Mon, 10 Oct 2011 12:05:33 +0000 (14:05 +0200)
committerXavier Perseguers <xavier@typo3.org>
Mon, 10 Oct 2011 13:10:51 +0000 (15:10 +0200)
The copyright year in the HTML comment is hardcoded as 1998-2009. This
should be changed to using the constant.

Change-Id: Idd07e50b515fc495512295c5557c4aeafbc8b549
Resolves: #30725
Releases: 4.4, 4.5, 4.6
Reviewed-on: http://review.typo3.org/5668
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/template.php

index f4d5785..f66ba81 100644 (file)
@@ -1282,7 +1282,7 @@ $str.=$this->docBodyTagBegin().
         * @return      string          <meta> tag with name "generator"
         */
        function generator()    {
-               $str = 'TYPO3 '.TYPO3_branch.', ' . TYPO3_URL_GENERAL . ', &#169; Kasper Sk&#229;rh&#248;j 1998-2009, extensions are copyright of their respective owners.';
+               $str = 'TYPO3 '.TYPO3_branch.', ' . TYPO3_URL_GENERAL . ', &#169; Kasper Sk&#229;rh&#248;j ' . TYPO3_copyright_year . ', extensions are copyright of their respective owners.';
                return '<meta name="generator" content="'.$str .'" />';
        }