Cache $PHP_SELF value, add ability to make custom changes to $PHP_SELF by putting...
[squirrelmail.git] / src / about.php
index cd20c2633260dc67837899ecdbf16ac81cb6984c..445388cd53024a541bef61b0b8140e15c2403a2d 100644 (file)
  * - What more information is needed?
  * - Display of system information might be restricted
  *
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
 
+/** This is the about page */
+define('PAGE_NAME', 'about');
+
 /**
  * Include the SquirrelMail initialization file.
  */
 require('../include/init.php');
 
-displayPageHeader($color, 'None' );
+displayPageHeader($color);
 
 ?>
 <p align="center">
@@ -29,7 +32,7 @@ displayPageHeader($color, 'None' );
     alt="SquirrelMail Logo" /><br />
 <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
 <tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
-<?php echo sprintf(_("About SquirrelMail %s"),$version); ?>
+<?php echo sprintf(_("About SquirrelMail %s"), SM_VERSION); ?>
 </b></div></td></tr>
 <tr><td>
 <br />
@@ -55,7 +58,7 @@ echo sprintf(_("SquirrelMail is a feature rich, standards compliant webmail appl
 echo ' ';
 
 // i18n: %s tags are used in order to remove html URL attributes from translation
-echo sprintf(_("For more information about SquirrelMail and the SquirrelMail Project Team, see %sthe SquirrelMail website%s."),'<a href="http://www.squirrelmail.org/" target="_blank">','</a>');
+echo sprintf(_("For more information about SquirrelMail and the SquirrelMail Project Team, see %sthe SquirrelMail website%s."),'<a href="http://squirrelmail.org/" target="_blank">','</a>');
 ?>
 <br />
 <br /><br />
@@ -64,7 +67,7 @@ echo sprintf(_("For more information about SquirrelMail and the SquirrelMail Pro
 </b><br/><br/>
 <small>
 <?php
-echo sprintf(_("You are using SquirrelMail version: %s"),$version);
+echo sprintf(_("You are using SquirrelMail version: %s"), SM_VERSION);
 echo "<br />\n";
 echo _("The administrator installed the following plugins:");
 echo "<br />\n";
@@ -83,8 +86,7 @@ if ( isset($plugins) && count ($plugins) > 0 ) {
 </small>
 <br /><br />
 </td></tr>
-<tr><td align="center">&copy; 1999 - 2006 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');
-?>
\ No newline at end of file