Developers:
-----------
- Paul Joseph Thompson <captbunzo@squirrelmail.org>
+ Paul Thompson <captbunzo@squirrelmail.org>
Luke Ehresman <luke@squirrelmail.org> http://www.css.tayloru.edu/~lehresma
Tyler Akins
Lewis Bergman
Finnish Teemu Junnila <teejun@vallcom.com>
French Ali Nedjimi <lrdfrx@club-internet.fr>
Nicolas Cartron <nc@ncartron.com>
- Olivier Piquerez <piquerez@topd.ch>
+ Olivier Piquerez <piquerez@topd.ch>
German Roland Bauerschmidt <rb@debian.org>
Ralf Hildebrandt <Ralf.Hildebrandt@charite.de>
- Klaus Brunner <klaus@winf.at>
+ Klaus Brunner <klaus@winf.at>
Hungarian István-Attila András <bergkatten@netscape.net>
Icelandic Karl Heiðar <karlh@macho.is>
Indonesian Arief S Fitrianto <arief@fisika.ui.ac.id>
-***************************************************************
-*** Squirrelmail Development Series 1.1 and 1.1 Pre-Releases ***
-****************************************************************
+**************************************
+*** Squirrelmail Stable Series 1.2 ***
+**************************************
-Version 1.2.0-rc4 -- December ??, 2001 (PENDING)
+Version 1.2.0 -- December 25, 2001 (PENDING)
------------------------------------------------
- Cleanup of the paginator code, improving display style.
+ - Cleanup of configuration file code, a bit.
+ - Introduction of sent_subfolders plugin as Official Plugin.
+
+
+***************************************************************
+*** Squirrelmail Development Series 1.1 and 1.1 Pre-Releases ***
+****************************************************************
Version 1.2.0-rc3 -- December 2, 2001
-------------------------------------
<?php
+
/**
- ** index.php
- **
- ** This file simply takes any attempt to view source 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.
- **/
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
header("Location:../index.php");
-/** pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>
/**
* abook_database.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The Squirrelmail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Backend for personal addressbook stored in a database,
/**
* abook_local_file.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The Squirrelmail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Backend for addressbook as a pipe separated file
/**
* abook_ldap_server.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The Squirrelmail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Address book backend for LDAP server
/**
* abook_local_file.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Backend for addressbook as a pipe separated file
/**
* addressbook.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Functions and classes for the addressbook system.
}
-?>
\ No newline at end of file
+?>
/**
* array.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions that work with array manipulation. They
/**
* attachment_common.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file provides the handling of often-used attachment types.
/**
* auth.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Contains functions used to do authentication.
/**
* constants.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Loads constants used by the rest of the Squirrelmail source.
do_hook('loading_constants');
-?>
\ No newline at end of file
+?>
/**
* date.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Takes a date and parses it into a usable format. The form that a
<?php
+
/**
* db_prefs.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions for manipulating user preferences
/**
* display_messages.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains all messages, including information, error, and just
echo '</TABLE>';
}
-?>
\ No newline at end of file
+?>
/**
* gettext.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Alternate to the system's built-in gettext.
/**
* i18n.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file contains variuos functions that are needed to do
/**
* imap.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This just includes the different sections of the imap functions.
<?php
/**
- * imap.php
+ * imap.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This implements all functions that do general imap functions.
+ * This implements all functions that do general imap functions.
*
- * $Id$
+ * $Id$
*/
require_once('../functions/page_header.php');
$tmp = fgets ($imap_stream, 1024);
}
-?>
\ No newline at end of file
+?>
/**
* imap_mailbox.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This impliments all functions that manipulate mailboxes
/**
* imap_messages.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This implements functions that manipulate messages
<?php
/**
- * imap_search.php
+ * imap_search.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * IMAP search routines
+ * IMAP search routines
*
- * $Id$
+ * $Id$
*/
require_once('../functions/imap.php');
}
}
-?>
\ No newline at end of file
+?>
<?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.
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * This file simply takes any attempt to view source 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 source 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.
*
- * $Id$
+ * $Id$
*/
header("Location:../index.php");
/**
* mailbox_display.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions that display mailbox information, such as the
/**
* mime.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains the functions necessary to detect and decode MIME
/**
* options.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Functions needed to display the options pages.
/**
* page_header.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Prints the page header (duh)
/**
* prefs.php
*
- * Copyright (c) 1999-2002 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains functions for manipulating user preferences
/**
* smtp.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This contains all the functions needed to send messages through
/**
* strings.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
}
}
-?>
\ No newline at end of file
+?>
/**
* tree.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
/**
* url_parser.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code provides various string manipulation functions that are
<?php
+
/**
- ** index.php
- **
- ** This file simply takes any attempt to view source 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.
- **/
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
header("Location:../index.php");
-/** pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>
/**
* index.php -- Displays the main frameset
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Redirects to the login page.
<?php
+
/**
- ** index.php
- **
- ** This file simply takes any attempt to view source 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.
- **/
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
header("Location:../index.php");
-/** pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>
--- /dev/null
+Installing Plugins
+==================
+Simply untar the file in the plugins directory, and make sure it is
+in its own directory, and that the name of the directory is the name
+of the plugin. Example below uses "plug_demo" as the name of the
+plugin:
+
+ $ cd plugins
+ $ tar -zxvf /usr/archives/plug_demo.tar.gz
+
+Then go to your config directory and run conf.pl. Choose option
+8 and add the plugin. Save and exit, then that should be all
+if the plugin was made correctly. :)
+
+ $ cd ../config
+ $ ./conf.pl
--- /dev/null
+Bug Reporter -- Version 1.0
+
+Need to submit a bug? Need to know valuable system information? Need
+to be accurate? This should do it for you.
+
+
+Features
+========
+
+* You save yourself a lot of typing
+* By default, this is not enabled.
+* Provides detailed setup information to help diagnose your problem
+* Has some warnings that can help out the person submitting the bug report
+
+
+Description
+===========
+
+When people stumble across a bug, which may happen in a work-in-progress,
+often times they would like to help out the software and get rid of the bug.
+Sometimes, these people don't know much about the system and how it is set
+up -- they know enough to make the bug happen for them. This bug report
+plugin is designed to gather all of the non-private information for the user
+automatically, so that the user doesn't need to know more than how to trigger
+the bug.
+
+
+Future Work
+===========
+
+* Add more data
+* Add more warnings
+
+
+Installation
+============
+
+As with other plugins, just uncompress the archive in the plugins
+directory, go back to the main directory, run configure and add the plugin.
+
+Questions/comments/flames/etc can be sent to
+ Tyler Akins <fidian@tiny.net>
+
+
+Changes
+=======
+1.0 -> 1.1
+ * Added a bit more data to the report
+ * Cleaned up some HTML
+ * Altered link in menu bar to look good with other plugins
+ * User-selectable list for where message gets sent to
\ No newline at end of file
--- /dev/null
+<?php
+
+/**
+ * bug_report.php
+ *
+ * This generates the bug report data, gives information about where
+ * it will be sent to and what people will do with it, and provides
+ * a button to show the bug report mail message in order to actually
+ * send it.
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This is a standard Squirrelmail-1.2 API for plugins.
+ *
+ * $Id$
+ */
+
+ chdir("..");
+
+ session_start();
+
+ if (!isset($config_php))
+ /* '_once' Added by ri_once */ include_once("../config/config.php");
+ if (!isset($strings_php))
+ /* '_once' Added by ri_once */ include_once("../functions/strings.php");
+ if (!isset($page_header_php))
+ /* '_once' Added by ri_once */ include_once("../functions/page_header.php");
+ if (!isset($display_messages_php))
+ /* '_once' Added by ri_once */ include_once("../functions/display_messages.php");
+ if (!isset($imap_php))
+ /* '_once' Added by ri_once */ include_once("../functions/imap.php");
+ if (!isset($array_php))
+ /* '_once' Added by ri_once */ include_once("../functions/array.php");
+ if (!isset($i18n_php))
+ /* '_once' Added by ri_once */ include_once("../functions/i18n.php");
+
+
+ /* '_once' Added by ri_once */ include_once("../src/load_prefs.php");
+ displayPageHeader($color, "None");
+
+
+ function Show_Array($array)
+ {
+ foreach ($array as $key => $value)
+ {
+ if ($key != 0 || $value != '')
+ {
+ $str .= " * $key = $value\n";
+ }
+ }
+ if ($str == '')
+ return " * Nothing listed\n";
+ return $str;
+ }
+
+ $body_top .= "I subscribe to the squirrelmail-list mailing list.\n";
+ $body_top .= " [ ] True - No need to CC me when replying\n";
+ $body_top .= " [ ] False - Please CC me when replying\n";
+ $body_top .= "\n";
+ $body_top .= "This bug occurs when I ...\n";
+ $body_top .= " ... view a particular message\n";
+ $body_top .= " ... use a specific plugin/function\n";
+ $body_top .= " ... try to do/view/use ....\n";
+ $body_top .= "\n\n\n";
+ $body_top .= "The description of the bug:\n\n\n";
+ $body_top .= "I can reproduce the bug by:\n\n\n";
+ $body_top .= "(Optional) I got bored and found the bug occurs in:\n\n\n";
+ $body_top .= "(Optional) I got really bored and here's a fix:\n\n\n";
+ $body_top .= "----------------------------------------------\n";
+
+
+ $body .= "\nMy browser information:\n";
+ $body .= " $HTTP_USER_AGENT\n";
+ $body .= " get_browser() information (List)\n";
+ $browser = get_browser();
+ $body .= Show_Array((array) $browser);
+
+ $body .= "\nMy web server information:\n";
+ $body .= " PHP Version " . phpversion() . "\n";
+ $body .= " PHP Extensions (List)\n";
+ $body .= Show_Array(get_loaded_extensions());
+ // Apache version?
+
+ $body .= "\nSquirrelMail-specific information:\n";
+ $body .= " Version: $version\n";
+ $body .= " Plugins (List)\n";
+ $body .= Show_Array($plugins);
+ if ($ldap_server[0] && ! extension_loaded('ldap'))
+ {
+ $warning = 1;
+ $warnings['ldap'] = "LDAP server defined in SquirrelMail config, " .
+ "but the module is not loaded in PHP";
+ $corrections['ldap'][] = "Reconfigure PHP with the option '--with-ldap'";
+ $corrections['ldap'][] = "Then recompile PHP and reinstall";
+ $corrections['ldap'][] = "-- OR --";
+ $corrections['ldap'][] = "Reconfigure SquirrelMail to not use LDAP";
+ }
+
+ $body .= "\nMy IMAP server information:\n";
+ $body .= " Server type: $imap_server_type\n";
+ $imap_stream = fsockopen ($imapServerAddress, $imapPort, &$error_number, &$error_string);
+ $server_info = fgets ($imap_stream, 1024);
+ if ($imap_stream)
+ {
+ // SUPRESS HOST NAME
+ $list = explode(' ', $server_info);
+ $list[2] = '[HIDDEN]';
+ $server_info = implode(' ', $list);
+ $body .= " Server info: $server_info";
+ fputs ($imap_stream, "a001 CAPABILITY\r\n");
+ $read = fgets($imap_stream, 1024);
+ $list = explode(' ', $read);
+ array_shift($list);
+ array_shift($list);
+ $read = implode(' ', $list);
+ $body .= " Cabailities: $read";
+ fputs ($imap_stream, "a002 LOGOUT\r\n");
+ fclose($imap_stream);
+ }
+ else
+ {
+ $body .= " Unable to connect to IMAP server to get information.\n";
+ $warning = 1;
+ $warnings['imap'] = "Unable to connect to IMAP server";
+ $corrections['imap'][] = "Make sure you specified the correct mail server";
+ $corrections['imap'][] = "Make sure the mail server is running IMAP, not POP";
+ $corrections['imap'][] = "Make sure the server responds to port $imapPort";
+ }
+
+ $warning_num = 0;
+ if ($warning)
+ {
+ foreach ($warnings as $key => $value)
+ {
+ if ($warning_num == 0)
+ {
+ $body_top .= "WARNINGS WERE REPORTED WITH YOUR SETUP:\n";
+ $body_top = "WARNINGS WERE REPORTED WITH YOUR SETUP -- SEE BELOW\n\n$body_top";
+ $warning_html = "<h1>Warnings were reported with your setup:</h1>\n<dl>\n";
+ }
+ $warning_num ++;
+ $warning_html .= "<dt><b>$value</b></dt>\n";
+ $body_top .= "\n$value\n";
+ foreach ($corrections[$key] as $corr_val)
+ {
+ $body_top .= " * $corr_val\n";
+ $warning_html .= "<dd>* $corr_val</dd>\n";
+ }
+ }
+ $warning_html .= "</dl>\n<p>$warning_num warning(s) reported.</p>\n<hr>\n";
+ $body_top .= "\n$warning_num warning(s) reported.\n";
+ $body_top .= "----------------------------------------------\n";
+ }
+
+ $body = htmlspecialchars($body_top . $body);
+
+?>
+ <br>
+ <table width=95% align=center border=0 cellpadding=2 cellspacing=0><tr><td bgcolor="<?php echo $color[0] ?>">
+ <center><b>Submit a Bug Report</b></center>
+ </td></tr></table>
+
+ <?PHP echo $warning_html; ?>
+
+ <p><font size="+1">Before you send your bug report</font>, please make sure to
+ check this checklist for any common problems.</p>
+
+ <ul>
+ <li>Make sure that you are running the most recent copy of
+ <a href="http://www.squirrelmail.org/">SquirrelMail</a>. You are currently
+ using version <?PHP echo $version ?>.</li>
+ <li>Check to see if you bug is already listed in the
+ <a href="http://sourceforge.net/bugs/?group_id=311">Bug List</a> on SourceForge.
+ If it is, we already know about it and are trying to fix it.</li>
+ <li>Try to make sure that you can repeat it. If the bug happens
+ sporatically, try to document what you did when it happened. If it
+ always occurs when you view a specific message, keep that message around
+ so maybe we can see it.</li>
+ <li>If there were warnings displayed above, try to resolve them yourself.
+ Read the guides in the <tt>doc/</tt> directory where SquirrelMail was
+ installed.</li>
+ </ul>
+
+ <p>Pressing the button below will start a mail message to the developers
+ of SquirrelMail that will contain a lot of information about your system,
+ your browser, how SquirrelMail is set up, and your IMAP server. It will
+ also prompt you for information. Just fill out the sections at the top.
+ If you like, you can scroll down in the message to see what else is being
+ sent.</p>
+
+ <p>Please make sure to fill out as much information as you possibly can to
+ give everyone a good chance of finding and removing the bug. Submitting
+ your bug like this will not have it automatically added to the bug list on
+ SourceForge, but someone who gets your message may add it for you.</p>
+
+ <form action="../../src/compose.php" method=post>
+ <table align=center border=0>
+ <tr>
+ <td>
+ This bug involves: <select name="send_to">
+ <option value="squirrelmail-list@lists.sourceforge.net">the general program</option>
+ <option value="squirrelmail-plugins@lists.sourceforge.net">a specific plugin</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td align=center>
+ <input type="hidden" name="send_to_cc" value="">
+ <input type="hidden" name="send_to_bcc" value="">
+ <input type="hidden" name="subject" value="Bug Report">
+ <input type="hidden" name="body" value="<?PHP echo $body ?>">
+ <input type="submit" value="Start Bug Report Form">
+ </td>
+ </tr>
+ </table>
+ </form>
+</body></html>
--- /dev/null
+<?php
+
+/**
+ * setup.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This is a standard Squirrelmail-1.2 API for plugins.
+ *
+ * $Id$
+ */
+
+/* This button fills out a form with your setup information already
+ gathered -- all you have to do is type. */
+
+
+/* Initialize the bug report plugin */
+function squirrelmail_plugin_init_bug_report()
+{
+ global $squirrelmail_plugin_hooks;
+
+ $squirrelmail_plugin_hooks['menuline']['bug_report'] = 'bug_report_button';
+ $squirrelmail_plugin_hooks['options_display_inside']['bug_report'] = 'bug_report_options';
+ $squirrelmail_plugin_hooks['options_display_save']['bug_report'] = 'bug_report_save';
+ $squirrelmail_plugin_hooks['loading_prefs']['bug_report'] = 'bug_report_load';
+}
+
+
+/* Show the button in the main bar */
+function bug_report_button()
+{
+ global $color, $bug_report_visible;
+
+ if (! $bug_report_visible)
+ return;
+
+ displayInternalLink('plugins/bug_report/bug_report.php', 'Bug', '');
+ echo " \n";
+}
+
+
+function bug_report_save()
+{
+ global $username,$data_dir;
+ global $bug_report_bug_report_visible;
+
+ if (isset($bug_report_bug_report_visible))
+ {
+ setPref($data_dir, $username, 'bug_report_visible', '1');
+ }
+ else
+ {
+ setPref($data_dir, $username, 'bug_report_visible', '');
+ }
+}
+
+
+function bug_report_load()
+{
+ global $username, $data_dir;
+ global $bug_report_visible;
+
+ $bug_report_visible = getPref($data_dir, $username, 'bug_report_visible');
+}
+
+
+function bug_report_options()
+{
+ global $bug_report_visible;
+
+ echo "<tr><td align=right nowrap>Bug Reports:</td>\n";
+ echo "<td><input name=\"bug_report_bug_report_visible\" type=CHECKBOX";
+ if ($bug_report_visible)
+ echo " CHECKED";
+ echo "> Show button in toolbar</td></tr>\n";
+}
+
+?>
<?php
- /**
- ** Message and Spam Filter Plugin
- **
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** This plugin filters your inbox into different folders based upon given
- ** criteria. It is most useful for people who are subscibed to mailing lists
- ** to help organize their messages. The argument stands that filtering is
- ** not the place of the client, which is why this has been made a plugin for
- ** SquirrelMail. You may be better off using products such as Sieve or
- ** Procmail to do your filtering so it happens even when SquirrelMail isn't
- ** running.
- **
- ** If you need help with this, or see improvements that can be made, please
- ** email me directly at the address above. I definately welcome suggestions
- ** and comments. This plugin, as is the case with all SquirrelMail plugins,
- ** is not directly supported by the developers. Please come to me off the
- ** mailing list if you have trouble with it.
- **
- ** Also view plugins/README.plugins for more information.
- **
- **/
+/**
+ * Message and Spam Filter Plugin
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This plugin filters your inbox into different folders based upon given
+ * criteria. It is most useful for people who are subscibed to mailing lists
+ * to help organize their messages. The argument stands that filtering is
+ * not the place of the client, which is why this has been made a plugin for
+ * SquirrelMail. You may be better off using products such as Sieve or
+ * Procmail to do your filtering so it happens even when SquirrelMail isn't
+ * running.
+ *
+ * If you need help with this, or see improvements that can be made, please
+ * email me directly at the address above. I definately welcome suggestions
+ * and comments. This plugin, as is the case with all SquirrelMail plugins,
+ * is not directly supported by the developers. Please come to me off the
+ * mailing list if you have trouble with it.
+ *
+ * Also view plugins/README.plugins for more information.
+ *
+ * $Id$
+ */
function filters_sqimap_read_data ($imap_stream, $pre, $handle_errors, &$response, &$message) {
global $color, $squirrelmail_language, $imap_general_debug;
/**
** index.php -- Displays the main frameset
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Redirects to the login page.
header("Location: $location/src/login.php\n\n");
exit();
-?>
\ No newline at end of file
+?>
<?php
- /**
- * Message and Spam Filter Plugin
- *
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
- *
- * This plugin filters your inbox into different folders based upon given
- * criteria. It is most useful for people who are subscibed to mailing lists
- * to help organize their messages. The argument stands that filtering is
- * not the place of the client, which is why this has been made a plugin for
- * SquirrelMail. You may be better off using products such as Sieve or
- * Procmail to do your filtering so it happens even when SquirrelMail isn't
- * running.
- *
- * If you need help with this, or see improvements that can be made, please
- * email me directly at the address above. I definately welcome suggestions
- * and comments. This plugin, as is the case with all SquirrelMail plugins,
- * is not directly supported by the developers. Please come to me off the
- * mailing list if you have trouble with it.
- *
- * Also view plugins/README.plugins for more information.
- *
- */
+
+/**
+ * Message and Spam Filter Plugin
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This plugin filters your inbox into different folders based upon given
+ * criteria. It is most useful for people who are subscibed to mailing lists
+ * to help organize their messages. The argument stands that filtering is
+ * not the place of the client, which is why this has been made a plugin for
+ * SquirrelMail. You may be better off using products such as Sieve or
+ * Procmail to do your filtering so it happens even when SquirrelMail isn't
+ * running.
+ *
+ * If you need help with this, or see improvements that can be made, please
+ * email me directly at the address above. I definately welcome suggestions
+ * and comments. This plugin, as is the case with all SquirrelMail plugins,
+ * is not directly supported by the developers. Please come to me off the
+ * mailing list if you have trouble with it.
+ *
+ * Also view plugins/README.plugins for more information.
+ *
+ * $Id$
+ */
chdir ('..');
require_once('../src/validate.php');
<?php
- /**
- ** Message and Spam Filter Plugin
- **
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** This plugin filters your inbox into different folders based upon given
- ** criteria. It is most useful for people who are subscibed to mailing lists
- ** to help organize their messages. The argument stands that filtering is
- ** not the place of the client, which is why this has been made a plugin for
- ** SquirrelMail. You may be better off using products such as Sieve or
- ** Procmail to do your filtering so it happens even when SquirrelMail isn't
- ** running.
- **
- ** If you need help with this, or see improvements that can be made, please
- ** email me directly at the address above. I definately welcome suggestions
- ** and comments. This plugin, as is the case with all SquirrelMail plugins,
- ** is not directly supported by the developers. Please come to me off the
- ** mailing list if you have trouble with it.
- **
- ** Also view plugins/README.plugins for more information.
- **
- ** $Id$
- **
- **/
+/**
+ * Message and Spam Filter Plugin
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This plugin filters your inbox into different folders based upon given
+ * criteria. It is most useful for people who are subscibed to mailing lists
+ * to help organize their messages. The argument stands that filtering is
+ * not the place of the client, which is why this has been made a plugin for
+ * SquirrelMail. You may be better off using products such as Sieve or
+ * Procmail to do your filtering so it happens even when SquirrelMail isn't
+ * running.
+ *
+ * If you need help with this, or see improvements that can be made, please
+ * email me directly at the address above. I definately welcome suggestions
+ * and comments. This plugin, as is the case with all SquirrelMail plugins,
+ * is not directly supported by the developers. Please come to me off the
+ * mailing list if you have trouble with it.
+ *
+ * Also view plugins/README.plugins for more information.
+ *
+ * $Id$
+ */
// Set this to true if you have problems -- check the README file
// Note: This doesn't work all of the time (No idea why)
<?php
- /**
- ** Message and Spam Filter Plugin
- **
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** This plugin filters your inbox into different folders based upon given
- ** criteria. It is most useful for people who are subscibed to mailing lists
- ** to help organize their messages. The argument stands that filtering is
- ** not the place of the client, which is why this has been made a plugin for
- ** SquirrelMail. You may be better off using products such as Sieve or
- ** Procmail to do your filtering so it happens even when SquirrelMail isn't
- ** running.
- **
- ** If you need help with this, or see improvements that can be made, please
- ** email me directly at the address above. I definately welcome suggestions
- ** and comments. This plugin, as is the case with all SquirrelMail plugins,
- ** is not directly supported by the developers. Please come to me off the
- ** mailing list if you have trouble with it.
- **
- ** Also view plugins/README.plugins for more information.
- **
- **/
+/**
+ * Message and Spam Filter Plugin
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This plugin filters your inbox into different folders based upon given
+ * criteria. It is most useful for people who are subscibed to mailing lists
+ * to help organize their messages. The argument stands that filtering is
+ * not the place of the client, which is why this has been made a plugin for
+ * SquirrelMail. You may be better off using products such as Sieve or
+ * Procmail to do your filtering so it happens even when SquirrelMail isn't
+ * running.
+ *
+ * If you need help with this, or see improvements that can be made, please
+ * email me directly at the address above. I definately welcome suggestions
+ * and comments. This plugin, as is the case with all SquirrelMail plugins,
+ * is not directly supported by the developers. Please come to me off the
+ * mailing list if you have trouble with it.
+ *
+ * Also view plugins/README.plugins for more information.
+ *
+ * $Id$
+ */
chdir ('..');
require_once('../src/validate.php');
<?php
+
/**
- ** index.php
- **
- ** This file simply takes any attempt to view source 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.
- **/
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
header("Location:../index.php");
-/** pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>
-<?php /* Modified at 1 places by ri_once */ ?>
-<?php /* 'php' Added by ri_once */
+<?php
/**
- ** mail_fetch/setup.php
- **
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** Copyright (c) 1999 - CDI (cdi@thewebmasters.net) All Rights Reserved
- ** Modified by Philippe Mingo 2001 mingo@rotedic.com
- ** An RFC 1939 compliant wrapper class for the POP3 protocol.
- **
- ** pop3 class
- **
- ** $Id$
- **/
+ * mail_fetch/setup.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ *
+ * Copyright (c) 1999 CDI (cdi@thewebmasters.net) All Rights Reserved
+ * Modified by Philippe Mingo 2001 mingo@rotedic.com
+ * An RFC 1939 compliant wrapper class for the POP3 protocol.
+ *
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * pop3 class
+ *
+ * $Id$
+ */
class POP3 {
var $ERROR = ''; // Error string.
/**
** mail_fetch/fetch.php
**
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Fetch code.
?>
</center>
</body>
-</html>
\ No newline at end of file
+</html>
/**
** mail_fetch/functions.php
**
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Functions for the mailfetch plugin.
return $tmp;
}
-?>
\ No newline at end of file
+?>
/**
** mail_fetch/options.php
**
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Setup of the mailfetch plugin.
}
?>
-</body></html>
\ No newline at end of file
+</body></html>
/**
** mail_fetch/setup.php
**
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Setup of the mailfetch plugin.
/**
** newmail.php
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ **
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Displays all options relating to new mail sounds
"</script>\n".
"</BODY></HTML>\n";
-?>
\ No newline at end of file
+?>
/**
** newmails_opt.php
- ** Copyright (c) 1999-2001 The Squirrelmail Development Team
+ **
+ ** Copyright (c) 1999-2002 The SquirrelMail Project Team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Displays all options relating to new mail sounds
'</td></tr></table>'.
'</body></html>';
-?>
\ No newline at end of file
+?>
<?php
/**
- * newmail.php
- * (c)2000 by Michael Huttinger
+ * newmail.php
*
- * Quite a hack -- but my first attempt at a plugin. We were
- * looking for a way to play a sound when there was unseen
- * messages to look at. Nice for users who keep the squirrel
- * mail window up for long periods of time and want to know
- * when mail arrives.
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Copyright (c) 2000 by Michael Huttinger
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
- * Basically, I hacked much of left_main.php into a plugin that
- * goes through each mail folder and increments a flag if
- * there are unseen messages. If the final count of unseen
- * folders is > 0, then we play a sound (using the HTML at the
- * far end of this script).
+ * Quite a hack -- but my first attempt at a plugin. We were
+ * looking for a way to play a sound when there was unseen
+ * messages to look at. Nice for users who keep the squirrel
+ * mail window up for long periods of time and want to know
+ * when mail arrives.
*
- * This was tested with IE5.0 - but I hear Netscape works well,
- * too (with a plugin).
+ * Basically, I hacked much of left_main.php into a plugin that
+ * goes through each mail folder and increments a flag if
+ * there are unseen messages. If the final count of unseen
+ * folders is > 0, then we play a sound (using the HTML at the
+ * far end of this script).
*
- * $Id$
+ * This was tested with IE5.0 - but I hear Netscape works well,
+ * too (with a plugin).
*
+ * $Id$
*/
function CheckNewMailboxSound($imapConnection, $mailbox, $real_box, $delimeter, $unseen, &$total_unseen) {
<?php
- /**
- ** testsound.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 new mail sounds
- **
- ** $Id$
- **
- **/
+/**
+ * testsound.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Displays all options relating to new mail sounds
+ *
+ * $Id$
+ */
chdir ("../");
require_once('../src/validate.php');
'</CENTER>'.
'</BODY></HTML>';
-?>
\ No newline at end of file
+?>
<?php
- /**
- ** index.php -- Displays the main frameset
- **
- ** Copyright (c) 1999-2001 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** Redirects to the login page.
- **
- ** $Id$
- **/
+/**
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
- require_once('../../functions/strings.php');
+header("Location:../../index.php");
- $location = get_location();
- header("Location: $location/src/login.php\n\n");
- exit();
+/* pretty impressive huh? */
-?>
\ No newline at end of file
+?>
/**
** check_me.mod.php -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module is the main workhorse of SquirrelSpell. It submits
/**
** crypto.mod.php -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module handles the encryption/decryption of the user dictionary
/**
** CRYPTO_BADKEY.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module tries to decrypt the user dictionary with a newly provided
exit;
}
-?>
\ No newline at end of file
+?>
/**
** EDIT_DIC.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module handles the encryption/decryption of the user dictionary
sqspell_makePage(_("Edit your Personal Dictionary"), null, $msg);
}
-?>
\ No newline at end of file
+?>
/**
** ENC_SETUP.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module shows the user a nice invitation to encrypt or decypt
}
sqspell_makePage(_("Personal Dictionary Crypto Settings"), "crypto_settings.js", $msg);
-?>
\ No newline at end of file
+?>
/**
** FORGET_ME.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module deletes the words from the user dictionary. Called
/**
** FORGET_ME_NOT.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module saves the added words into the user dictionary. Called
_("Close") . ' " onclick="self.close()"></div></form>';
sqspell_makeWindow($onload, _("Personal Dictionary Updated"), null, $msg);
-?>
\ No newline at end of file
+?>
/**
** INIT.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Initial loading of the popup window interface.
$msg .="</form>\n";
sqspell_makeWindow($onload, _("SquirrelSpell Initiating"), "init.js", $msg);
-?>
\ No newline at end of file
+?>
/**
** LANG_CHANGE.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module changes the international dictionaries selection
sqspell_writeWords($words);
sqspell_makePage(_("International Dictionaries Preferences Updated"), null, $msg);
-?>
\ No newline at end of file
+?>
/**
** LANG_SETUP.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This module displays available dictionaries to the user and lets
$msg .= "</p></blockquote><p><input type=\"submit\" value=\" " . _("Make these changes") . " \"></p>";
sqspell_makePage(_("Add International Dictionaries"), null, $msg);
-?>
\ No newline at end of file
+?>
/**
** OPTIONS_MAIN.MOD.PHP -- Squirrelspell module
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Default page called when accessing SquirrelSpell's options.
$msg .= "</ul>\n";
sqspell_makePage( _("SquirrelSpell Options Menu"), null, $msg);
-?>
\ No newline at end of file
+?>
/**
** setup.php -- Squirrelspell setup file
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This is a standard Squirrelmail-1.2 API for plugins.
/**
* sqspell_config.php -- SquirrelSpell Configuration file.
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
- * Licensed under the GNU GPL. For full terms see the file COPYING.
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
*
*
*
<?php
- /**
- ** sqspell_functions.php -- All SquirrelSpell-wide functions are in this file.
- **
- ** Copyright (c) 1999-2001 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- **
- **
- ** $Id$
- **/
+/**
+ * sqspell_functions.php -- All SquirrelSpell-wide functions are in this file.
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail development team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
function sqspell_makePage($title, $scriptsrc, $body){
/*
**/
$SQSPELL_VERSION="v0.3.5";
-?>
\ No newline at end of file
+?>
/**
** sqspell_interface.php -- Main wrapper for the pop-up.
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** This is a main wrapper for the pop-up window interface of
}
/* fetch the module now. */
require_once("$SQSPELL_DIR/modules/$MOD.mod.php");
-?>
\ No newline at end of file
+?>
/**
** sqspell_options.php -- Main wrapper for the options interface.
**
- ** Copyright (c) 1999-2001 The SquirrelMail development team
+ ** Copyright (c) 1999-2002 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
**
}
/* load the stuff already. */
require_once("$SQSPELL_DIR/modules/$MOD.mod.php");
-?>
\ No newline at end of file
+?>
<?php
/**
- ** options.php
- **
- ** Pick your translator to translate the body of incoming mail messages
- **
- **/
+ * options.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * Pick your translator to translate the body of incoming mail messages
+ *
+ * $Id$
+ */
chdir('..');
'</form>'.
"</body></html>\n";
-?>
\ No newline at end of file
+?>
<?php
+/**
+ * setup.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
/* Easy plugin that sends the body of the message to a new browser
window using the specified translator. It can also translate your
outgoing message if you send it to someone in a different country.
/**
* addrbook_popup.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Handle addressbook searching in the popup window.
/**
* addrbook_search_html.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Handle addressbook searching with pure html.
/**
* addressbook.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Manage personal address book.
/**
* compose.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This code sends a mail.
/**
* delete_message.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Deletes a meesage from the IMAP server
/**
* download.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
/**
* empty_trash.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Handles deleting messages from the trash folder without
/**
* folders.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Handles all interaction between the user and the other folder
/**
* folders_create.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Creates folders on the IMAP server.
/**
* folders_delete.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Deltes folders from the IMAP server.
/**
* folders_rename_do.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Does the actual renaming of files on the IMAP server.
/**
* folders_rename_getname.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Gets folder names and enables renaming
/**
* folders_subscribe.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Subscribe and unsubcribe form folders.
/**
* help.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays help for the user
/**
* image.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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.
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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 source 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.
+ *
+ * $Id$
*/
header("Location:../index.php");
-/* pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>
/**
* left_main.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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
/**
* load_prefs.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Loads preferences from the $username.pref file used by almost
/**
* login.php -- simple login screen
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This a simple login screen. Some housekeeping is done to clean
/**
* move_messages.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Enables message moving between folders on the IMAP server.
/**
* options.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays the options page. Pulls from proper user preference files
/**
* options_display.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays all optinos about display preferences
/**
* options_folder.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays all options relating to folders
/**
* options_highlight.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays message highlighting options
/**
* options_identities.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Display Identities Options
/**
* options_order.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays message highlighting options
/**
* options_personal.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Displays all options relating to personal information
/**
* printer_friendly_bottom.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
/**
* printer_friendly_top.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* top frame of printer_friendly_main.php
/**
* read_body.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file is used for reading the msgs array and displaying
* redirect.php
* Derived from webmail.php by Ralf Kraudelt <kraude@wiwi.uni-rostock.de>
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Prevents users from reposting their form data after a successful logout.
/**
* retrievalerror.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Submits a message which Squirrelmail couldn't handle
/**
* right_main.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project 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
/**
* right_main.php
*
- * Copyright (c) 1999-2001 The Squirrelmail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
echo '</body></html>';
-?>
\ No newline at end of file
+?>
/**
* signout.php -- cleans up session and logs the user out
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Cleans up after the user. Resets cookies and terminates session.
/**
* validate.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
/**
* vcard.php
*
- * Copyright (c) 1999-2001 The SquirrelMail Development Team
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* This file shows an attched vcard
<?php
/**
- ** webmail.php -- Displays the main frameset
- **
- ** 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
- ** shown can be given as parameters. If the user is not logged in
- ** this file will verify username and password.
- **
- ** $Id$
- **/
+ * webmail.php -- Displays the main frameset
+ *
+ * Copyright (c) 1999-2002 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
+ * shown can be given as parameters. If the user is not logged in
+ * this file will verify username and password.
+ *
+ * $Id$
+ */
require_once('../functions/strings.php');
require_once('../config/config.php');
session_start();
is_logged_in();
-/*
+/**
* We'll need this to later have a noframes version
*
* Check if the user has a language preference, but no cookie.
-
For information on creating themes, please read doc/themes.txt
-
<?php
- /** Author: Ray Black
- Date: August 15, 2000
- Theme Name: "Black Bean Burrito"
- **/
- global $color;
- $color[0] = "#595959"; // (mid-dark gray) TitleBar
- $color[1] = "#F88888"; // (light red) Quoted Replies in Emails
- $color[2] = "#ff7171"; // (pinkish) Warning/Error Messages
- $color[3] = "#000000"; // (black) Left Bar Background
- $color[4] = "#000000"; // (black) Normal Background
- $color[5] = "#373700"; // (dark yellow-green) Table Headers
- $color[6] = "#D0D0D0"; // (off-white) Text on left bar
- $color[7] = "#cfcfa0"; // (very dull yellow) Links
- $color[8] = "#D0D0D0"; // (off-white) Normal text
- $color[9] = "#414141"; // (dark gray) Darker version of #0
- $color[10] = "#292929"; // (darker gray) Darker version of #9
- $color[11] = "#AAAA44"; // (gold) Special Folders color
- $color[12] = "#202020"; // (dark gray) Alternate color for message backround in index table
- $color[13] = "#FF7733"; // (orange-ish) Single-quoted text
- $color[14] = "#FF3377"; // (pink-ish) 2 or more quotes
+/**
+ * black_bean_burrito_theme.php
+ * Name: Black Bean Burrito
+ * Author: Ray Black
+ * Date: August 15, 2000
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#595959"; // (mid-dark gray) TitleBar
+$color[1] = "#F88888"; // (light red) Quoted Replies in Emails
+$color[2] = "#ff7171"; // (pinkish) Warning/Error Messages
+$color[3] = "#000000"; // (black) Left Bar Background
+$color[4] = "#000000"; // (black) Normal Background
+$color[5] = "#373700"; // (dark yellow-green) Table Headers
+$color[6] = "#D0D0D0"; // (off-white) Text on left bar
+$color[7] = "#cfcfa0"; // (very dull yellow) Links
+$color[8] = "#D0D0D0"; // (off-white) Normal text
+$color[9] = "#414141"; // (dark gray) Darker version of #0
+$color[10] = "#292929"; // (darker gray) Darker version of #9
+$color[11] = "#AAAA44"; // (gold) Special Folders color
+$color[12] = "#202020"; // (dark gray) Alternate color
+$color[13] = "#FF7733"; // (orange-ish) Single-quoted text
+$color[14] = "#FF3377"; // (pink-ish) 2 or more quotes
+
?>
<?php
- /** Author: M.J. Prinsen
- Date: July 20, 2001
- Theme Name: "Blue-grey"
- Deep Ocean is a theme that is very blue with a dark grey background.
- **/
+/**
+ * blue_grey_theme.php
+ * Name: Blue-grey
+ * Author: M.J. Prinsen
+ * Date: July 20, 2001
+ *
+ * Copyright (c) 2001-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#6188A9"; // (middle blue) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#294763"; // (dark blue) Left Bar Background
+$color[4] = "#929292"; // (dark grey) Normal Background or C0C0C0
+$color[5] = "#597D9D"; // (middle blue) Table Headers
+$color[6] = "#FFFFFF"; // (white) Text on left bar
+$color[7] = "#FFFFFF"; // (white) Links
+$color[8] = "#FFFFFF"; // (white) Normal text
+$color[9] = "#587B99"; // (middle gray) Darker version of #0
+$color[10] = "#496E8B"; // (dark gray) Darker version of #9
+$color[11] = "#A7C5F3"; // (light blue) Special Folders color
+$color[12] = "#7092B4";
- global $color;
- $color[0] = "#6188A9"; // (middle blue) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#294763"; // (dark blue) Left Bar Background
- $color[4] = "#929292"; // (dark grey) Normal Background or C0C0C0
- $color[5] = "#597D9D"; // (middle blue) Table Headers
- $color[6] = "#FFFFFF"; // (white) Text on left bar
- $color[7] = "#FFFFFF"; // (white) Links
- $color[8] = "#FFFFFF"; // (white) Normal text
- $color[9] = "#587B99"; // (middle gray) Darker version of #0
- $color[10] = "#496E8B"; // (dark gray) Darker version of #9
- $color[11] = "#A7C5F3"; // (light blue) Special Folders color
- $color[12] = "#7092B4";
?>
-)
<?php
- /** Author: Ray Black
- Date: August 15, 2000
- Theme Name: "BluesNews"
- Comments: In the long tradition of mimicing popular sites, I bring
- you the 'inspired by BluesNews.com' theme. Simple, high-
- contrast colorset, easy to read with very little eye strain.
- **/
- global $color;
- $color[0] = "#181818"; // (off-black) TitleBar
- $color[1] = "#A0A0A0"; // (gray) Quoted Replies in Emails
- $color[2] = "#800000"; // (red) Warning/Error Messages
- $color[3] = "#000000"; // (black) Left Bar Background
- $color[4] = "#000000"; // (black) Normal Background
- $color[5] = "#000080"; // (bright blue) Table Headers
- $color[6] = "#FFFF80"; // (bright yellow) Text on left bar
- $color[7] = "#FFFF80"; // (bright yellow) Links
- $color[8] = "#FFFFFF"; // (white) Normal text
- $color[9] = "#000080"; // (bright blue) Darker version of #0
- $color[10] = "#000080"; // (bright blue) Darker version of #9
- $color[11] = "#3333FF"; // (dull blue) Special Folders color
- $color[12] = "#808080"; // Alternate rows
+/**
+ * black_bean_burrito_theme.php
+ * Name: BluesNews
+ * Author: Ray Black
+ * Date: August 15, 2000
+ * Comment: In the long tradition of mimicing popular sites, I bring
+ * you the 'inspired by BluesNews.com' theme. Simple, high-
+ * contrast colorset, easy to read with very little eye strain.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#181818"; // (off-black) TitleBar
+$color[1] = "#A0A0A0"; // (gray) Quoted Replies in Emails
+$color[2] = "#800000"; // (red) Warning/Error Messages
+$color[3] = "#000000"; // (black) Left Bar Background
+$color[4] = "#000000"; // (black) Normal Background
+$color[5] = "#000080"; // (bright blue) Table Headers
+$color[6] = "#FFFF80"; // (bright yellow) Text on left bar
+$color[7] = "#FFFF80"; // (bright yellow) Links
+$color[8] = "#FFFFFF"; // (white) Normal text
+$color[9] = "#000080"; // (bright blue) Darker version of #0
+$color[10] = "#000080"; // (bright blue) Darker version of #9
+$color[11] = "#3333FF"; // (dull blue) Special Folders color
+$color[12] = "#808080"; // Alternate rows
+
?>
<?php
- /** Author: Luke Ehresman
- Date: January 2, 2000
- Theme Name: "Default Theme"
- This is the default theme that comes standard with SquirrelMail.
- Most of the colors were taken from mail.yahoo.com's theme on their
- site.
+/**
+ * bluesteel_theme.php
+ * Name: Default Theme
+ * Author: Luke Ehresman
+ * Date: January 2, 2000
+ * Comment: This is the default theme that comes standard with
+ * SquirrelMail. Most of the colors were taken from
+ * mail.yahoo.com's theme on their site.
+ *
+ * To create a new theme, just copy this file, and edit the colors.
+ * Be sure to rename the file and keep the original, just in case.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * NOTE: Please email any themes you create to captbunzo@squirrelmail.org
+ * for inclusion in further releases of SquirrelMail and for download
+ * from the web page.
+ *
+ * $Id$
+ */
- To create a new theme, just copy this file, and edit the colors.
- Be sure to rename the file and keep the original, just in case.
+global $color;
+$color[0] = "#A8A8A8"; // (darkish grey) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#475A94"; // (darkish blue) Left Bar Background
+$color[4] = "#DEDFDF"; // (grey) Normal Background
+$color[5] = "#FFFFCC"; // (light yellow) Table Headers
+$color[6] = "#000000"; // (black) Text on left bar
+$color[7] = "#0000CC"; // (blue) Links
+$color[8] = "#000000"; // (black) Normal text
+$color[9] = "#ABABAB"; // (mid-gray) Lighter version of #0
+$color[10] = "#666666"; // (dark gray) Darker version of #0
+$color[11] = "#770000"; // (dark red) Special Folders color
- NOTE:
- Please email any themes you create to luke@usa.om.org for inclusion
- in further releases of SquirrelMail and for download from the web
- page.
- **/
-
- global $color;
- $color[0] = "#A8A8A8"; // (darkish grey) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#475A94"; // (darkish blue) Left Bar Background
- $color[4] = "#DEDFDF"; // (grey) Normal Background
- $color[5] = "#FFFFCC"; // (light yellow) Table Headers
- $color[6] = "#000000"; // (black) Text on left bar
- $color[7] = "#0000CC"; // (blue) Links
- $color[8] = "#000000"; // (black) Normal text
- $color[9] = "#ABABAB"; // (mid-gray) Lighter version of #0
- $color[10] = "#666666"; // (dark gray) Darker version of #0
- $color[11] = "#770000"; // (dark red) Special Folders color
?>
<?php
- /** Author: Justin Miller
- Date: July 24, 2000
- Theme Name: "Dark Grey"
- **/
- global $color;
- $color[0] = "#B2B2B2"; // (gray) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#929292"; // (light gray) Left Bar Background
- $color[4] = "#FFFFFF"; // (white) Normal Background
- $color[5] = "#C0C0C0"; // (lighter grey) Table Headers
- $color[6] = "#000000"; // (black) Text on left bar
- $color[7] = "#303030"; // (dark gray) Links
- $color[8] = "#000000"; // (black) Normal text
- $color[9] = "#929292"; // (mid-gray) Darker version of #0
- $color[10] = "#505050"; // (dark gray) Darker version of #9
- $color[11] = "#770010"; // (dark red) Special Folders color
+/**
+ * dark_grey_theme.php
+ * Name: Dark Grey
+ * Author: Justin Miller
+ * Date: July 24, 2000
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#B2B2B2"; // (gray) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#929292"; // (light gray) Left Bar Background
+$color[4] = "#FFFFFF"; // (white) Normal Background
+$color[5] = "#C0C0C0"; // (lighter grey) Table Headers
+$color[6] = "#000000"; // (black) Text on left bar
+$color[7] = "#303030"; // (dark gray) Links
+$color[8] = "#000000"; // (black) Normal text
+$color[9] = "#929292"; // (mid-gray) Darker version of #0
+$color[10] = "#505050"; // (dark gray) Darker version of #9
+$color[11] = "#770010"; // (dark red) Special Folders color
+
?>
-<?PHP
- /** Author: M.J. Prinsen
- Date: May 23, 2000
- Theme Name: "Deep Ocean 2"
+<?php
- Deep Ocean 2 is a theme that is very blue with white background.
- **/
+/**
+ * deepocean2_theme.php
+ * Name: Deep Ocean 2
+ * Author: M.J. Prinsen
+ * Date: May 23, 2000
+ * Comment: Deep Ocean 2 is very blue with a white background.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#6188A9"; // (light gray) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#294763"; // (green-blue) Left Bar Background
+$color[4] = "#FFFFFF"; // (white) Normal Background
+$color[5] = "#597D9D"; // (light yellow) Table Headers
+$color[6] = "#FFFFFF"; // (black) Text on left bar
+$color[7] = "#000000"; // (blue) Links
+$color[8] = "#000000"; // (black) Normal text
+$color[9] = "#587B99"; // (mid-gray) Darker version of #0
+$color[10] = "#496E8B"; // (dark gray) Darker version of #9
+$color[11] = "#A7C5F3"; // (dark red) Special Folders color
+$color[12] = "#7092B4";
- global $color;
- $color[0] = "#6188A9"; // (light gray) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#294763"; // (green-blue) Left Bar Background
- $color[4] = "#FFFFFF"; // (white) Normal Background
- $color[5] = "#597D9D"; // (light yellow) Table Headers
- $color[6] = "#FFFFFF"; // (black) Text on left bar
- $color[7] = "#000000"; // (blue) Links
- $color[8] = "#000000"; // (black) Normal text
- $color[9] = "#587B99"; // (mid-gray) Darker version of #0
- $color[10] = "#496E8B"; // (dark gray) Darker version of #9
- $color[11] = "#A7C5F3"; // (dark red) Special Folders color
- $color[12] = "#7092B4";
?>
<?php
- /** Author: Luke Ehresman
- Date: January 3, 2000
- Theme Name: "Deep Blue"
- Deep Ocean is a theme that is very blue.
- **/
+/**
+ * deepocean_theme.php
+ * Name: Deep Ocean
+ * Author: M.J. Prinsen
+ * Date: January 3, 2000
+ * Comment: Deep Ocean is a theme that is very blue.
+ *
+ * Copyright (c) 2000-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * $Id$
+ */
+
+global $color;
+$color[0] = "#6188A9"; // (light gray) TitleBar
+$color[1] = "#800000"; // (red)
+$color[2] = "#CC0000"; // (light red) Warning/Error Messages
+$color[3] = "#294763"; // (green-blue) Left Bar Background
+$color[4] = "#7A9CBF"; // (white) Normal Background
+$color[5] = "#597D9D"; // (light yellow) Table Headers
+$color[6] = "#FFFFFF"; // (black) Text on left bar
+$color[7] = "#014070"; // (blue) Links
+$color[8] = "#000000"; // (black) Normal text
+$color[9] = "#587B99"; // (mid-gray) Darker version of #0
+$color[10] = "#496E8B"; // (dark gray) Darker version of #9
+$color[11] = "#A7C5F3"; // (dark red) Special Folders color
+$color[12] = "#7092B4";
- global $color;
- $color[0] = "#6188A9"; // (light gray) TitleBar
- $color[1] = "#800000"; // (red)
- $color[2] = "#CC0000"; // (light red) Warning/Error Messages
- $color[3] = "#294763"; // (green-blue) Left Bar Background
- $color[4] = "#7A9CBF"; // (white) Normal Background
- $color[5] = "#597D9D"; // (light yellow) Table Headers
- $color[6] = "#FFFFFF"; // (black) Text on left bar
- $color[7] = "#014070"; // (blue) Links
- $color[8] = "#000000"; // (black) Normal text
- $color[9] = "#587B99"; // (mid-gray) Darker version of #0
- $color[10] = "#496E8B"; // (dark gray) Darker version of #9
- $color[11] = "#A7C5F3"; // (dark red) Special Folders color
- $color[12] = "#7092B4";
?>
<?php
+
/**
- ** index.php
- **
- ** This file simply takes any attempt to view source 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.
- **/
+ * index.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
+ *
+ * This file simply takes any attempt to view source 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.
+ *
+ * $Id$
+ */
header("Location:../index.php");
-/** pretty impressive huh? **/
+/* pretty impressive huh? */
+
?>