Code cleanup brigage...
[squirrelmail.git] / src / delete_message.php
index d4c6f86050c18eb4ca7370bd8ff54ea8348a0580..b58f37539b278987faa13b1d2953b85771b8051a 100644 (file)
@@ -1,19 +1,35 @@
 <?php
 
-   /**
   **  delete_message.php
   **
   **  Copyright (c) 1999-2001 The SquirrelMail development team
   **  Licensed under the GNU GPL. For full terms see the file COPYING.
   **
   **  Deletes a meesage from the IMAP server 
   **
   **  $Id$
   **/
+/**
* delete_message.php
+ *
* Copyright (c) 1999-2001 The Squirrelmail Development Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
* Deletes a meesage from the IMAP server 
+ *
* $Id$
+ */
 
-   require_once('../src/validate.php');
-   require_once('../functions/display_messages.php');
-   require_once('../functions/imap.php');
+/*****************************************************************/
+/*** 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 looks.                        ***/
+/***    + 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('../src/validate.php');
+require_once('../functions/display_messages.php');
+require_once('../functions/imap.php');
 
    $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
 
@@ -30,4 +46,4 @@
       header ("Location: $location/right_main.php?sort=$sort&startMessage=$startMessage&mailbox=".urlencode($mailbox));
 
    sqimap_logout($imapConnection);
-?>
\ No newline at end of file
+?>