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 79fcabaa1f75708834495dc264d79165bb0716be..0cf49dee7549724dba3ca44cb9635b22faa6d38d 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 b5a8d5c34cc112edbacceb55cdd8e1b1bca2ee3b..e591f806198b4c8f8c92ebc631dfa2cd69eb865b 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 4ff0bfddd6f22b4da898f5db7f25da3149b6ca8c..1dc68642d7ec8f23f5d73a16a2a111b2aadf3301 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; ?>