End year on Enano copyright dates is dynamic now
authorDan
Wed, 06 Jan 2010 02:03:20 -0500
changeset 1208 438f36013432
parent 1207 044b0062e3bf
child 1209 944d2fe1fb1e
End year on Enano copyright dates is dynamic now
language/english/core.json
plugins/SpecialPageFuncs.php
--- a/language/english/core.json	Wed Jan 06 02:03:10 2010 -0500
+++ b/language/english/core.json	Wed Jan 06 02:03:20 2010 -0500
@@ -40,7 +40,7 @@
       tz: 'Time zones',
       plural: 's',
       enano_about_th: 'About the Enano Content Management System',
-      enano_about_poweredby: '<p>This website is powered by <a href="http://enanocms.org/">Enano</a>, the lightweight and open source CMS that everyone can use. Enano is copyright &copy; 2006-2009 Dan Fuhry. For legal information, along with a list of libraries that Enano uses, please see <a href="http://enanocms.org/Legal_information">Legal Information</a>.</p><p>The developers and maintainers of Enano strongly believe that software should not only be free to use, but free to be modified, distributed, and used to create derivative works. To help achieve this goal, we use licensing terms that require you to pass on the freedoms we give you when you share Enano. For more information about Free Software, check out the <a href="http://en.wikipedia.org/wiki/Free_Software" onclick="window.open(this.href); return false;">Wikipedia page</a> or the <a href="http://www.fsf.org/" onclick="window.open(this.href); return false;">Free Software Foundation\'s</a> homepage.</p>',
+      enano_about_poweredby: '<p>This website is powered by <a href="http://enanocms.org/">Enano</a>, the lightweight and open source CMS that everyone can use. Enano is copyright &copy; 2006-%year% Dan Fuhry. For legal information, along with a list of libraries that Enano uses, please see <a href="http://enanocms.org/Legal_information">Legal Information</a>.</p><p>The developers and maintainers of Enano strongly believe that software should not only be free to use, but free to be modified, distributed, and used to create derivative works. To help achieve this goal, we use licensing terms that require you to pass on the freedoms we give you when you share Enano. For more information about Free Software, check out the <a href="http://en.wikipedia.org/wiki/Free_Software" onclick="window.open(this.href); return false;">Wikipedia page</a> or the <a href="http://www.fsf.org/" onclick="window.open(this.href); return false;">Free Software Foundation\'s</a> homepage.</p>',
       enano_about_gpl: '<p>This program is Free Software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p><p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for details.</p><p>You should have received <a href="%gpl_link%">a copy of the GNU General Public License</a> along with this program; if not, write to:</p><p style="margin-left 2em;">Free Software Foundation, Inc.,<br />51 Franklin Street, Fifth Floor<br />Boston, MA 02110-1301, USA</p><p>Alternatively, you can <a href="http://www.gnu.org/licenses/old-licenses/gpl-2.0.html">read it online</a>.</p>',
       enano_about_lbl_enanoversion: '<a href="http://enanocms.org">Enano</a> version:',
       enano_about_lbl_webserver: 'Web server:',
--- a/plugins/SpecialPageFuncs.php	Wed Jan 06 02:03:10 2010 -0500
+++ b/plugins/SpecialPageFuncs.php	Wed Jan 06 02:03:20 2010 -0500
@@ -398,7 +398,9 @@
       <tr><th colspan="2" style="text-align: left;"><?php echo $lang->get('meta_enano_about_th'); ?></th></tr>
       <tr><td colspan="2" class="row3">
         <?php
-        echo $lang->get('meta_enano_about_poweredby');
+        echo $lang->get('meta_enano_about_poweredby', array(
+            'year'     => date('Y')
+          ));
         $subst = array(
             'gpl_link' => makeUrlNS('Special', 'GNU_General_Public_License')
           );
@@ -410,8 +412,8 @@
         <h3>(English)</h3>
         <p>
           This website is powered by <a href="http://enanocms.org/">Enano</a>, the lightweight and open source CMS that everyone can use.
-          Enano is copyright &copy; 2006-2009 Dan Fuhry. For legal information, along with a list of libraries that Enano uses, please
-          see <a href="http://enanocms.org/Legal_information">Legal Information</a>.
+          Enano is copyright &copy; 2006-<?php echo date('Y'); ?> Dan Fuhry. For legal information, along with a list of libraries that
+          Enano uses, please see <a href="http://enanocms.org/Legal_information">Legal Information</a>.
         </p>
         <p>
           The developers and maintainers of Enano strongly believe that software should not only be free to use, but free to be modified,