Code cleanup brigage...
[squirrelmail.git] / functions / array.php
index f65b8f86cf857dac0680daecb6548496ef91dbae..2ff83b41899b76afa2a2cf653dc88843d935ceac 100644 (file)
@@ -1,19 +1,34 @@
 <?php
 
-   /**
   *  array.php
   *
   *   Copyright (c) 1999-2001 The Squirrelmail Development Team
   *   Licensed under the GNU GPL. For full terms see the file COPYING.
   *
   *  This contains functions that work with array manipulation.  They
   *  will help sort, and do other types of things with arrays
   *
   *   $Id$
   */
+/**
* array.php
+ *
* Copyright (c) 1999-2001 The Squirrelmail Development Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
* This contains functions that work with array manipulation.  They
* will help sort, and do other types of things with arrays
+ *
* $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 first line of the function definition 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. ***/
+/*****************************************************************/
 
-   function ary_sort($ary,$col, $dir = 1){
+function ary_sort($ary,$col, $dir = 1){
       // The globals are used because USORT determines what is passed to comp2
       // These should be $this->col and $this->dir in a class
       // Would beat using globals