Incoproated template config file. Templates can now include their own javascript...
[squirrelmail.git] / src / about.php
index 23ab8fdcf9a75f5cf296a7fac08ebec0f4b8564d..b0577b9a82da8f4b57a9ab4b13ff659a7c4b0345 100644 (file)
@@ -3,9 +3,6 @@
 /**
  * about.php
  *
- * Copyright (c) 1999-2005 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
  * An "about box" detailing SquirrelMail info.
  *
  * TODO:
@@ -13,6 +10,8 @@
  * - What more information is needed?
  * - Display of system information might be restricted
  *
+ * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
  */
@@ -24,7 +23,7 @@
 define('SM_PATH','../');
 
 /* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+include_once(SM_PATH . 'include/validate.php');
 
 displayPageHeader($color, 'None' );
 
@@ -33,9 +32,9 @@ displayPageHeader($color, 'None' );
 <img src="../images/sm_logo.png" width="308" height="111"
     alt="SquirrelMail Logo" /><br />
 <table align="center" width="80%" cellpadding="1" cellspacing="2" border="0">
-<tr><td bgcolor="#dcdcdc" align="center"><center><b>
+<tr><td bgcolor="#dcdcdc" align="center"><div style="text-align: center;"><b>
 <?php echo sprintf(_("About SquirrelMail %s"),$version); ?>
-</b></center></td></tr>
+</b></div></td></tr>
 <tr><td>
 <br />
 <?php echo _("SquirrelMail is the name of the program that provides access to your email via the web."); ?>
@@ -56,7 +55,7 @@ echo "<br />\n<br />\n";
 echo sprintf(_("SquirrelMail is a feature rich, standards compliant webmail application written in PHP. It was made by a group of volunteers united in the SquirrelMail Project Team and is released as open source, free software under the %sGNU General Public License%s."),'<a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">','</a>');
 
 // add space between two sentences.
-// Don't want to join two sprintf strings. 
+// Don't want to join two sprintf strings.
 echo ' ';
 
 // i18n: %s tags are used in order to remove html URL attributes from translation
@@ -83,10 +82,13 @@ if ( count ($plugins) > 0 ) {
 } else {
     echo '<em>'._("none installed")."</em>\n\n";
 }
+
 ?>
 </small>
 <br /><br />
 </td></tr>
-<tr><td align="center">&copy; 1999 - 2005 The SquirrelMail Project Team</td></tr>
+<tr><td align="center">&copy; 1999 - 2006 The SquirrelMail Project Team</td></tr>
 </table></p>
-</body></html>
+<?php
+$oTemplate->display('footer.tpl');
+?>
\ No newline at end of file