information about MailSite
[squirrelmail.git] / themes / shades_of_grey.php
index b92a6d42dc6ad0703d4fa225cc5ee653c7b5041b..b86f621622f53d355f68397ea971eacfb436ef3a 100755 (executable)
@@ -2,19 +2,27 @@
 
 /**
  * Name:   Shades of Grey
- * @author Jorey Bump
  * Date:   October 20, 2001
  * Comment This theme generates random colors, featuring a
  *         light greyish background with dark text.
  *
- * Copyright (c) 2000-2004 The SquirrelMail Project Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * $Id$
+ * @author Jorey Bump
+ * @copyright © 2000-2006 The SquirrelMail Project Team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
  * @package squirrelmail
  * @subpackage themes
  */
 
+/** Prevent direct script loading */
+if ((isset($_SERVER['SCRIPT_FILENAME']) && $_SERVER['SCRIPT_FILENAME'] == __FILE__) ||
+    (isset($HTTP_SERVER_SERVER['SCRIPT_FILENAME']) && $HTTP_SERVER_SERVER['SCRIPT_FILENAME'] == __FILE__) ) {
+    die();
+}
+
+/** load sq_mt_randomize() */
+include_once(SM_PATH . 'functions/strings.php');
+
 /** seed the random number generator */
 sq_mt_randomize();