introduce new constant SM_COPYRIGHT that has the copyright years
authorkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Apr 2008 23:56:56 +0000 (23:56 +0000)
committerkink <kink@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Mon, 21 Apr 2008 23:56:56 +0000 (23:56 +0000)
for display in the interface.

git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@13063 7612ce4b-ef26-0410-bec9-ea0150e637f0

include/constants.php
src/about.php
templates/default/message_list.tpl

index 79fcaba..0cf49de 100644 (file)
  */
 define('SM_VERSION', '1.5.2 [SVN]');
 
+/**
+ * Year interval for copyright notices in the interface
+ * @since 1.5.2
+ */
+define('SM_COPYRIGHT', '1999-2008');
+
 /**************************************************************/
 /* Set values for constants used by SquirrelMail preferences. */
 /**************************************************************/
index b5a8d5c..e591f80 100644 (file)
@@ -86,7 +86,7 @@ if ( isset($plugins) && count ($plugins) > 0 ) {
 </small>
 <br /><br />
 </td></tr>
-<tr><td align="center">&copy; 1999 - 2008 The SquirrelMail Project Team</td></tr>
+<tr><td align="center">&copy; <?php echo SM_COPYRIGHT ?> The SquirrelMail Project Team</td></tr>
 </table></p>
 <?php
 $oTemplate->display('footer.tpl');
index 4ff0bfd..1dc6864 100644 (file)
@@ -551,5 +551,5 @@ if ($non_clicked_class != 'even' && $non_clicked_class != 'odd'
 </div>
 
 <?php if (!$hide_sm_attributions): ?>
-<p class="sqm_squirrelcopyright">&copy; 1999-2008 The SquirrelMail Project Team - <a href="about.php">About SquirrelMail</a></p>
+<p class="sqm_squirrelcopyright">&copy; <?php echo SM_COPYRIGHT ?> The SquirrelMail Project Team - <a href="about.php">About SquirrelMail</a></p>
 <?php endif; ?>