<?php
+
/**
** addrbook_popup.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Frameset for the JavaScript version of the address book.
<?php
+
/**
** addrbook_search.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Handle addressbook searching in the popup window.
<?php
+
/**
** addrbook_search.php
**
<?php
+
/**
** addressbook.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Manage personal address book.
<?php
+
/**
- * compose.php
- *
- * Copyright (c) 1999-2000 The SquirrelMail development team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This code sends a mail.
- *
- * There are 4 modes of operation:
- * - Start new mail
- * - Add an attachment
- * - Send mail
- * - Save As Draft
- *
- * $Id$
+ ** compose.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This code sends a mail.
+ **
+ ** There are 4 modes of operation:
+ ** - Start new mail
+ ** - Add an attachment
+ ** - Send mail
+ ** - Save As Draft
+ **
+ ** $Id$
**/
require_once('../src/validate.php');
<?php
+
/**
** delete_message.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** 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
<?php
+
/**
** download.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Handles attachment downloads to the users computer.
/**
** draft_actions.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
**
<?php
+
/**
** empty_trash.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Handles deleting messages from the trash folder without
<?php
+
/**
** folders.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Handles all interaction between the user and the other folder
<?php
+
/**
** folders_create.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Creates folders on the IMAP server.
<?php
+
/**
** folders_delete.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Deltes folders from the IMAP server.
<?php
+
/**
** folders_rename_do.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Does the actual renaming of files on the IMAP server.
<?php
+
/**
** folders_rename_getname.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Gets folder names and enables renaming
<?php
+
/**
** folders_subscribe.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Subscribe and unsubcribe form folders.
$imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
$location = get_location();
- if ($method == "sub") {
+ if ($method == 'sub') {
for ($i=0; $i < count($mailbox); $i++) {
$mailbox[$i] = trim($mailbox[$i]);
sqimap_subscribe ($imapConnection, $mailbox[$i]);
<?php
+
/**
** help.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Displays help for the user
<?php
+
/**
** image.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This file shows an attached image
<?php
- /**
- ** index.php
+
+ /**
+ ** index.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
**
- ** This file simply takes any attempt to view index of files
- ** and sends those people to the login screen. At this
- ** point no attempt is made to see if the person is logged
- ** or not.
+ ** This file simply takes any attempt to view index of files
+ ** and sends those people to the login screen. At this
+ ** point no attempt is made to see if the person is logged
+ ** or not.
**/
header("Location:../index.php");
<?php
+
/**
- * left_main.php
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This is the code for the left bar. The left bar shows the folders
- * available, and has cookie information.
- *
- * $Id$
+ ** left_main.php
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This is the code for the left bar. The left bar shows the folders
+ ** available, and has cookie information.
+ **
+ ** $Id$
*/
require_once('../src/validate.php');
<?php
+
/**
- * load_prefs.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Loads preferences from the $username.pref file used by almost
- * every other script in the source directory and alswhere.
- *
- * $Id$
+ ** load_prefs.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Loads preferences from the $username.pref file used by almost
+ ** every other script in the source directory and alswhere.
+ **
+ ** $Id$
**/
require_once('../src/validate.php');
<?php
+
/**
- * login.php -- simple login screen
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This a simple login screen. Some housekeeping is done to clean
- * cookies and find language.
- *
- * $Id$
- */
+ ** login.php -- simple login screen
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This a simple login screen. Some housekeeping is done to clean
+ ** cookies and find language.
+ **
+ ** $Id$
+ **/
$rcptaddress = '';
if (isset($emailaddress)) {
<?php
+
/**
** move_messages.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Enables message moving between folders on the IMAP server.
<?php
-/**
- * options.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Displays the options page. Pulls from proper user preference files
- * and config.php. Displays preferences as selected and other options.
- *
- * $Id$
- */
+ /**
+ ** options.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Displays the options page. Pulls from proper user preference files
+ ** and config.php. Displays preferences as selected and other options.
+ **
+ ** $Id$
+ */
require_once('../src/validate.php');
require_once('../functions/display_messages.php');
/* Set the base uri. */
ereg ("(^.*/)[^/]+/[^/]+$", $PHP_SELF, $regs);
-$base_uri = $regs[1];
+$base_uri = $regs[1];
/* First and foremost, deal with language stuff. */
if (isset($language)) {
"</TABLE>\n";
}
-?>
+?>
\ No newline at end of file
<?php
-/**
- * options_display.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Displays all optinos about display preferences
- *
- * $Id$
- */
+ /**
+ ** options_display.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Displays all optinos about display preferences
+ **
+ ** $Id$
+ */
/* Define the group constants for the display options page. */
define('SMOPT_GRP_GENERAL', 0);
<?php
-/**
- * options_folder.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Displays all options relating to folders
- *
- * $Id$
- */
+ /**
+ ** options_folder.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Displays all options relating to folders
+ **
+ ** $Id$
+ **/
require_once('../functions/imap.php');
<?php
+
/**
** options_highlight.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Displays message highlighting options
<?php
+
/**
** options_identities.php
**
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Display Identities Options
+ **
** $Id$
**/
<?php
+
/**
** options_order.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Displays message highlighting options
<?php
-/**
- * options_personal.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Displays all options relating to personal information
- *
- * $Id$
- */
+ /**
+ ** options_personal.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Displays all options relating to personal information
+ **
+ ** $Id$
+ **/
require_once('../functions/imap.php');
require_once('../functions/array.php');
/**
** printer_friendly_bottom.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** with javascript on, it is the bottom frame of printer_friendly_main.php
/**
** printer_friendly_main.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** $Id$
/**
** printer_friendly_top.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** top frame of printer_friendly_main.php
<?php
+
/**
- * read_body.php
- *
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This file is used for reading the msgs array and displaying
- * the resulting emails in the right frame.
- *
- * $Id$
+ ** read_body.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This file is used for reading the msgs array and displaying
+ ** the resulting emails in the right frame.
+ **
+ ** $Id$
*/
require_once('../src/validate.php');
<?php
+
/**
- * redirect.php
- * Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * Prevents users from reposting their form data after a successful logout.
- *
- * $Id$
- */
+ ** redirect.php
+ ** Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Prevents users from reposting their form data after a successful logout.
+ **
+ ** $Id$
+ **/
require_once('../functions/i18n.php');
require_once('../functions/strings.php');
<?php
+
/**
** retrievalerror.php
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Submits a message which Squirrelmail couldn't handle
<?php
+
/**
- * right_main.php
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This is where the mailboxes are listed. This controls most of what
- * goes on in SquirrelMail.
- *
- * $Id$
- */
+ ** right_main.php
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This is where the mailboxes are listed. This controls most of what
+ ** goes on in SquirrelMail.
+ **
+ ** $Id$
+ **/
require_once('../src/validate.php');
require_once('../functions/imap.php');
<?php
-
/**
- * right_main.php
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * $Id$
- */
+ ** right_main.php
+ **
+ ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** $Id$
+ **/
require_once('../src/validate.php');
<?php
+
/**
** signout.php -- cleans up session and logs the user out
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Cleans up after the user. Resets cookies and terminates
<?php
+
/**
** validate.php
**
<?php
-/**
- ** vcard.php
- **
- ** Copyright (c) 1999-2001 The SquirrelMail Development Team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** This file shows an attched vcard
- **
- ** $Id$
- **/
+
+ /**
+ ** vcard.php
+ **
+ ** Copyright (c) 1999-2001 The SquirrelMail Development Team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This file shows an attched vcard
+ **
+ ** $Id$
+ **/
require_once('../src/validate.php');
require_once('../functions/date.php');
/**
** webmail.php -- Displays the main frameset
**
- ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Copyright (c) 1999-2001 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This file generates the main frameset. The files that are