GIF files changed to PNG
[squirrelmail.git] / functions / constants.php
index 4734a819a05fca6c8b2cac78c9ec401bd3f96b9f..69e8ae7c17863420eb9ff29a60e78718e8ac580a 100644 (file)
@@ -1,20 +1,39 @@
 <?php
-    /**
-     * constants.php
-     *
-     * Copyright (c) 1999-2001 The SquirrelMail Development Team
-     * Licensed under the GNU GPL. For full terms see the file COPYING.
-     *
-     * Loads constants used by the rest of the Squirrelmail source.
-     * This file is include by src/login.php, src/redirect.php and
-     * src/load_prefs.php.
-     *
-     * $Id$
-     */
-
-    /**************************************************************/
-    /* Set values for constants used by Squirrelmail preferences. */
-    /**************************************************************/
+
+/**
+ * constants.php
+ *
+ * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Loads constants used by the rest of the Squirrelmail source.
+ * This file is include by src/login.php, src/redirect.php and
+ * src/load_prefs.php.
+ *
+ * $Id$
+ */
+
+/*****************************************************************/
+/*** THIS FILE NEEDS TO HAVE ITS FORMATTING FIXED!!!           ***/
+/*** PLEASE DO SO AND REMOVE THIS COMMENT SECTION.             ***/
+/***    + Base level indent should begin at left margin, as    ***/
+/***      the require_once below.                              ***/
+/***    + All identation should consist of four space blocks   ***/
+/***    + Tab characters are evil.                             ***/
+/***    + all comments should use "slash-star ... star-slash"  ***/
+/***      style -- no pound characters, no slash-slash style   ***/
+/***    + FLOW CONTROL STATEMENTS (if, while, etc) SHOULD      ***/
+/***      ALWAYS USE { AND } CHARACTERS!!!                     ***/
+/***    + Please use ' instead of ", when possible. Note "     ***/
+/***      should always be used in _( ) function calls.        ***/
+/*** Thank you for your help making the SM code more readable. ***/
+/*****************************************************************/
+
+require_once('../functions/plugin.php');      // Required for the hook
+
+/**************************************************************/
+/* Set values for constants used by Squirrelmail preferences. */
+/**************************************************************/
 
     /* Define basic, general purpose preference constants. */
     define('SMPREF_NO', 0);
@@ -46,5 +65,5 @@
     define('SMPREF_JS_ON', 1);
     define('SMPREF_JS_AUTODETECT', 2);
 
-    do_hook("loading_constants");
+    do_hook('loading_constants');
 ?>