X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=src%2Fabout.php;h=cd20c2633260dc67837899ecdbf16ac81cb6984c;hb=3dc5d88f42f1e5a83d74e00c2ed8f47e92943857;hp=34738dd96f5c6ae19aa63d792c1944651765302e;hpb=4356be7f6e72a4fa5d319af6c54396eba1f3bcbf;p=squirrelmail.git
diff --git a/src/about.php b/src/about.php
index 34738dd9..cd20c263 100644
--- a/src/about.php
+++ b/src/about.php
@@ -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,18 +10,16 @@
* - 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
*/
/**
- * Path for SquirrelMail required files.
- * @ignore
+ * Include the SquirrelMail initialization file.
*/
-define('SM_PATH','../');
-
-/* SquirrelMail required files. */
-require_once(SM_PATH . 'include/validate.php');
+require('../include/init.php');
displayPageHeader($color, 'None' );
@@ -33,9 +28,9 @@ displayPageHeader($color, 'None' );
- | |
@@ -55,6 +50,10 @@ echo " \n \n"; // i18n: %s tags are used in order to remove html URL attributes from translation 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."),'',''); +// add space between two sentences. +// Don't want to join two sprintf strings. +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."),'',''); ?> @@ -69,7 +68,7 @@ echo sprintf(_("You are using SquirrelMail version: %s"),$version); echo " \n"; echo _("The administrator installed the following plugins:"); echo " \n"; -if ( count ($plugins) > 0 ) { +if ( isset($plugins) && count ($plugins) > 0 ) { sort($plugins); echo "
| |
© 1999 - 2005 The SquirrelMail Project Team | |
© 1999 - 2006 The SquirrelMail Project Team |