/**
** addrbook_popup.php
**
+ ** Copyright (c) 1999-2000 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.
**
**/
/**
** addrbook_search.php
**
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
** Handle addressbook searching in the popup window.
**
** NOTE: A lot of this code is similar to the code in
/**
** addrbook_search.php
**
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
** Handle addressbook searching with pure html.
** This file is included from compose.php
**
/**
** addressbook.php
**
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
** Manage personal address book.
**
**/
<?php
-/*
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- */
- /****************************************************************
- **
- ** csvimport.php
- ** copyright 2000 Lewis Bergman - lbergman@abi.tconline.net
+ /**
+ ** addressbook_csvimport.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Import csv files for address book
** This takes a comma delimited file uploaded from addressbook.php
** and allows the user to rearrange the field order to better
** fit the address book. A subset of data is manipulated to save time.
**
- ****************************************************************/
+ **/
session_start();
<?php
- /** This code sends a mail.
+ /**
+ ** 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 3 modes of operation:
** - Start new mail
<?php
+ /**
+ ** delete_message.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Deletes a meesage from the IMAP server
+ **
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** download.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Handles attachment downloads to the users computer.
+ ** Also allows displaying of attachments when possible.
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** empty_trash.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Handles deleting messages from the trash folder without
+ ** deleting subfolders.
+ **/
+
session_start();
include("../config/config.php");
<?php
+ /**
+ ** folders.php
+ **
+ ** Copyright (c) 1999-2000 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
+ ** scripts which do most of the work. Also handles the Special
+ ** Folders.
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** folders_create.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Creates folders on the IMAP server.
+ ** Called from folders.php
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** folders_delete.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Deltes folders from the IMAP server.
+ ** Called from the folders.php
+ **/
+
session_start();
/*
<?php
+ /**
+ ** folders_rename_do.php
+ **
+ ** Copyright (c) 1999-2000 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.
+ ** Called from the folders.php
+ **/
+
+ session_start();
+
+ if (!isset($config_php))
+ include("../config/config.php");
+ if (!isset($strings_php))
+ include("../functions/strings.php");
+ if (!isset($page_header_php))
+ include("../functions/page_header.php");
+ if (!isset($imap_php))
+ include("../functions/imap.php");
+ if (!isset($display_messages_php))
+ include("../functions/display_messages.php");
+
+ include("../src/load_prefs.php");
+
+ $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0);
+ $dm = sqimap_get_delimiter($imapConnection);
+
+ if ($method == "sub") {
+ $mailbox = trim($mailbox);
+ sqimap_subscribe ($imapConnection, $mailbox);
+ } else {
+ sqimap_unsubscribe ($imapConnection, $mailbox);
+ }
+
+ displayPageHeader($color, "None");
+ echo "<BR><BR><BR><CENTER><B>";
+ if ($method == "sub") {
+ echo _("Subscribed Successfully!");
+ echo "</B><BR><BR>";
+ echo _("You have been successfully subscribed.");
+ } else {
+ echo _("Unsubscribed Successfully!");
+ echo "</B><BR><BR>";
+ echo _("You have been successfully unsubscribed.");
+ }
+ echo "<BR><A HREF=\"webmail.php?right_frame=folders.php\" TARGET=_top>";
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** folders_rename_getname.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Gets folder names and enables renaming
+ ** Called from folders.php
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** folders_subscribe.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Subscribe and unsubcribe form folders.
+ ** Called from folders.php
+ **/
+
session_start();
if (!isset($config_php))
<?php
-/**
- ** help.php
- **
- ** This checks if the user's preferred language has a directory and file present
- ** then loads it or english if preferred is not found.
- **
- **/
+ /**
+ ** help.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This checks if the user's preferred language has a directory and file present
+ ** then loads it or english if preferred is not found.
+ **
+ **/
if (!isset($config_php))
include("../config/config.php");
/**
** left_help.php
**
- ** This is the code for the left bar. The left bar normally shows the folders
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This is the code for the left help bar. The left bar normally shows the folders
** available, and has cookie information. This file is only used for the help system.
** To be used, webmail must be called with ?help.php.
**
<?php
/**
** left_main.php
+ ** Copyright (c) 1999-2000 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.
<?php
+ /**
+ ** load_prefs.php
+ **
+ ** Copyright (c) 1999-2000 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.
+ **
+ **/
+
if (!isset($config_php))
include("../config/config.php");
if (!isset($prefs_php))
<?php
+ /**
+ ** move_messages.php
+ **
+ ** Copyright (c) 1999-2000 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.
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** msg_highlight.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** Called from the options page, this script presents the user with
+ ** the available choices and entry fields associated with the
+ ** highlighting option.
+ **/
+
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** options.php
+ **
+ ** Copyright (c) 1999-2000 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.
+ **
+ **/
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** options_submit.php
+ **
+ ** Copyright (c) 1999-2000 The SquirrelMail development team
+ ** Licensed under the GNU GPL. For full terms see the file COPYING.
+ **
+ ** This script saves all the options to the proper file when the
+ ** submit button is pressed. Also displays conformation message.
+ **/
+
+
session_start();
if (!isset($config_php))
<?php
+ /**
+ ** read_body.php
+ **
+ ** Copyright (c) 1999-2000 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.
+ **/
+
+
+
+
+
+
session_start();
if (!isset($config_php))