summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
96d985e)
Added @package and @subpackage tags.
Some cases of define() for SM_PATH were tagged @ignore to reduce the number of phpdocumentor warnings - this may need to be done everywhere else, or removed where I've done it so far. We'll see.
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@6030
7612ce4b-ef26-0410-bec9-
ea0150e637f0
67 files changed:
+ * @package plugins
+ * @subpackage abook_take
+/**
+ * If SM_PATH isn't defined, define it. Required to include files.
+ * @ignore
+ */
if (!defined('SM_PATH')) {
define('SM_PATH','../../');
}
if (!defined('SM_PATH')) {
define('SM_PATH','../../');
}
/* SquirrelMail required files. */
require_once(SM_PATH . 'functions/url_parser.php');
/* SquirrelMail required files. */
require_once(SM_PATH . 'functions/url_parser.php');
+/**
+ * Initialize the plugin
+ */
function squirrelmail_plugin_init_abook_take()
{
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_abook_take()
{
global $squirrelmail_plugin_hooks;
* the To, Cc, From and Reply-To headers.
*
* $Id$
* the To, Cc, From and Reply-To headers.
*
* $Id$
+ * @package plugins
+ * @subpackage abook_take
-/* Path for SquirrelMail required files. */
+/**
+ * Path for SquirrelMail required files.
+ * @ignore */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* This function tell other modules what users have access
* to the plugin.
*
* Philippe Mingo
*
* $Id$
* This function tell other modules what users have access
* to the plugin.
*
* Philippe Mingo
*
* $Id$
+ * @package plugins
+ * @subpackage administrator
function adm_check_user() {
global $PHP_SELF;
require_once(SM_PATH . 'functions/global.php');
function adm_check_user() {
global $PHP_SELF;
require_once(SM_PATH . 'functions/global.php');
* Philippe Mingo
*
* $Id$
* Philippe Mingo
*
* $Id$
+ * @package plugins
+ * @subpackage administrator
require_once( SM_PATH . 'functions/constants.php' );
/* Define constants for the various option types. */
require_once( SM_PATH . 'functions/constants.php' );
/* Define constants for the various option types. */
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage administrator
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* Philippe Mingo
*
* $Id$
* Philippe Mingo
*
* $Id$
+ * @package plugins
+ * @subpackage administrator
+/**
+ * parse the config file
+ */
function parseConfig( $cfg_file ) {
global $newcfg;
function parseConfig( $cfg_file ) {
global $newcfg;
/* ---------------------- main -------------------------- */
/* ---------------------- main -------------------------- */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Administrator plugin. Allows remote administration. Philippe Mingo
*
* $Id$
* Administrator plugin. Allows remote administration. Philippe Mingo
*
* $Id$
+ * @package plugins
+ * @subpackage administrator
require_once(SM_PATH . 'plugins/administrator/auth.php');
function squirrelmail_plugin_init_administrator() {
require_once(SM_PATH . 'plugins/administrator/auth.php');
function squirrelmail_plugin_init_administrator() {
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
+ * @package plugins
+ * @subpackage bug_report
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage bug_report
**/
header("Location:../../src/login.php\n\n");
**/
header("Location:../../src/login.php\n\n");
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
+ * @package plugins
+ * @subpackage bug_report
*/
/* This button fills out a form with your setup information already
gathered -- all you have to do is type. */
*/
/* This button fills out a form with your setup information already
gathered -- all you have to do is type. */
-/* Initialize the bug report plugin */
+/**
+ * Initialize the bug report plugin
+ * @return void
+ */
function squirrelmail_plugin_init_bug_report() {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_bug_report() {
global $squirrelmail_plugin_hooks;
* Displays the main calendar page (month view).
*
* $Id$
* Displays the main calendar page (month view).
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
define('SM_PATH','../../');
/* Calender plugin required files. */
define('SM_PATH','../../');
/* Calender plugin required files. */
* functions to operate on calendar data files.
*
* $Id$
* functions to operate on calendar data files.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
-// this is array that contains all events
-// it is three dimensional array with fallowing structure
-// $calendardata[date][time] = array(length,priority,title,message);
+/** this is array that contains all events
+ * it is three dimensional array with fallowing structure
+ * $calendardata[date][time] = array(length,priority,title,message); */
-//read events into array
-//data is | delimited, just like addresbook
-//files are structured like this:
-//date|time|length|priority|title|message);
-//files are divide by year for performance increase
+/**
+ * read events into array
+ *
+ * data is | delimited, just like addressbook
+ * files are structured like this:
+ * date|time|length|priority|title|message
+ * files are divided by year for performance increase */
function readcalendardata() {
global $calendardata, $username, $data_dir, $year;
function readcalendardata() {
global $calendardata, $username, $data_dir, $year;
* Displays the day page (day view).
*
* $Id$
* Displays the day page (day view).
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
define('SM_PATH','../../');
/* Calender plugin required files. */
define('SM_PATH','../../');
/* Calender plugin required files. */
* functions to create a event for calendar.
*
* $Id$
* functions to create a event for calendar.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
+ */
+
+/**
+ * @ignore
*/
define('SM_PATH','../../');
*/
define('SM_PATH','../../');
* Functions to delete a event.
*
* $Id$
* Functions to delete a event.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
+ */
+
+/**
+ * @ignore
*/
define('SM_PATH','../../');
*/
define('SM_PATH','../../');
* Functions to edit an event.
*
* $Id$
* Functions to edit an event.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
define('SM_PATH','../../');
/* Calender plugin required files. */
define('SM_PATH','../../');
/* Calender plugin required files. */
* miscelenous functions.
*
* $Id$
* miscelenous functions.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
+/**
+ * @return void
+ */
function calendar_header() {
//Add Second layer ofCalendar links to upper menu
global $color,$year,$day,$month;
function calendar_header() {
//Add Second layer ofCalendar links to upper menu
global $color,$year,$day,$month;
* Redirects to the login page.
*
* $Id$
* Redirects to the login page.
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
*/
header("Location:../../src/login.php\n\n");
*/
header("Location:../../src/login.php\n\n");
* init plugin into squirrelmail
*
* $Id$
* init plugin into squirrelmail
*
* $Id$
+ * @package plugins
+ * @subpackage calendar
+/**
+ * Initialize the plugin
+ * @return void
+ */
function squirrelmail_plugin_init_calendar() {
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
function squirrelmail_plugin_init_calendar() {
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['menuline']['calendar'] = 'calendar';
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage delete_move_next
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage delete_move_next
+/**
+ * Initialize the plugin
+ * @return void
+ */
function squirrelmail_plugin_init_delete_move_next() {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_delete_move_next() {
global $squirrelmail_plugin_hooks;
* Also view plugins/README.plugins for more information.
*
* $Id$
* Also view plugins/README.plugins for more information.
*
* $Id$
+ * @package plugins
+ * @subpackage filters
function filters_SaveCache () {
global $data_dir, $SpamFilters_DNScache;
function filters_SaveCache () {
global $data_dir, $SpamFilters_DNScache;
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage filters
**/
header("Location:../../src/login.php\n\n");
**/
header("Location:../../src/login.php\n\n");
* Also view plugins/README.plugins for more information.
*
* $Id$
* Also view plugins/README.plugins for more information.
*
* $Id$
+ * @package plugins
+ * @subpackage filters
-/* Path for SquirrelMail required files. */
+/** Path for SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Also view plugins/README.plugins for more information.
*
* $Id$
* Also view plugins/README.plugins for more information.
*
* $Id$
+ * @package plugins
+ * @subpackage filters
-/* SquirrelMail required files. */
+/** SquirrelMail required files. */
require_once(SM_PATH . 'plugins/filters/filters.php');
/*
require_once(SM_PATH . 'plugins/filters/filters.php');
/*
* Also view plugins/README.plugins for more information.
*
* $Id$
* Also view plugins/README.plugins for more information.
*
* $Id$
+ * @package plugins
+ * @subpackage filters
-/* Path for SquirrelMail required files. */
+/** Path for SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* fortune above the message listing.
*
* $Id$
* fortune above the message listing.
*
* $Id$
+ * @package plugins
+ * @subpackage fortune
function squirrelmail_plugin_init_fortune() {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_fortune() {
global $squirrelmail_plugin_hooks;
* the person is logged or not.
*
* $Id$
* the person is logged or not.
*
* $Id$
*/
header("Location:../index.php");
*/
header("Location:../index.php");
-/* functions for info plugin
+/**
+ * functions for info plugin
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* by: Jason Munro jason@stdbev.com
*
* $Id$
* by: Jason Munro jason@stdbev.com
*
* $Id$
+ * @package plugins
+ * @subpackage info
+/**
+ * Get the IMAP capabilities
+ * @return array
+ */
function get_caps($imap_stream) {
return sqimap_run_command_list($imap_stream, 'CAPABILITY',false, $responses, $message,false);
}
function get_caps($imap_stream) {
return sqimap_run_command_list($imap_stream, 'CAPABILITY',false, $responses, $message,false);
}
+/**
+ * Run an IMAP test and return the results
+ * @return array Response from the IMAP server
+ */
function imap_test($imap_stream, $string) {
global $default_charset;
print "<TR><TD>".$string."</TD></TR>";
function imap_test($imap_stream, $string) {
global $default_charset;
print "<TR><TD>".$string."</TD></TR>";
+/**
+ * Print the IMAP response to options.php
+ */
function print_response($response) {
foreach($response as $index=>$value) {
if (is_array($value)) {
function print_response($response) {
foreach($response as $index=>$value) {
if (is_array($value)) {
-/* options page for IMAP info plugin
+/**
+ * options page for IMAP info plugin
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* jason@stdbev.com
*
* $Id$
* jason@stdbev.com
*
* $Id$
+ * @package plugins
+ * @subpackage info
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
-/* setup file for the IMAP server info plugin
+/** setup file for the IMAP server info plugin
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* by: Jason Munro jason@stdbev.com
*
* $Id$
* Copyright (c) 1999-2003 The SquirrelMail Project Team
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* by: Jason Munro jason@stdbev.com
*
* $Id$
+ * @package plugins
+ * @subpackage info
require_once (SM_PATH . 'plugins/info/functions.php');
function squirrelmail_plugin_init_info() {
require_once (SM_PATH . 'plugins/info/functions.php');
function squirrelmail_plugin_init_info() {
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage listcommands
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage listcommands
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* commands such as (un)subscribe, help and list archives.
*
* $Id$
* commands such as (un)subscribe, help and list archives.
*
* $Id$
+ * @package plugins
+ * @subpackage listcommands
+/**
+ * Initialize the listcommands plugin
+ */
function squirrelmail_plugin_init_listcommands () {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_listcommands () {
global $squirrelmail_plugin_hooks;
+ * @package plugins
+ * @subpackage mail_fetch
+/**
+ * This is the pop3 class - DOCUMENT ME
+ */
class POP3 {
var $ERROR = ''; // Error string.
class POP3 {
var $ERROR = ''; // Error string.
+ * @package plugins
+ * @subpackage mail_fetch
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
** Adapted for MailFetch by Philippe Mingo <mingo@rotedic.com>
**
** $Id$
** Adapted for MailFetch by Philippe Mingo <mingo@rotedic.com>
**
** $Id$
+ * @package plugins
+ * @subpackage mail_fetch
+ /**
+ * hex2bin - document me
+ */
function hex2bin( $data ) {
/* Original code by josh@superfork.com */
function hex2bin( $data ) {
/* Original code by josh@superfork.com */
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage mail_fetch
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* Setup of the mailfetch plugin.
*
* $Id$
* Setup of the mailfetch plugin.
*
* $Id$
+ * @package plugins
+ * @subpackage mail_fetch
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
** Setup of the mailfetch plugin.
**
** $Id$
** Setup of the mailfetch plugin.
**
** $Id$
+ * @package plugins
+ * @subpackage mail_fetch
require_once(SM_PATH . 'plugins/mail_fetch/functions.php' );
require_once(SM_PATH . 'plugins/mail_fetch/functions.php' );
+ /**
+ * Initialize the plugin
+ */
function squirrelmail_plugin_init_mail_fetch() {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_mail_fetch() {
global $squirrelmail_plugin_hooks;
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage message_details
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage message_details
-/* Path for SquirrelMail required files. */
+/**
+ * Path for SquirrelMail required files.
+ * @ignore
+ */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage message_details
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+* @package plugins
+* @subpackage message_details
+/**
+ * Initialize the plugin
+ */
function squirrelmail_plugin_init_message_details()
{
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_message_details()
{
global $squirrelmail_plugin_hooks;
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage newmail
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
*
* Displays all options relating to new mail sounds
*
*
* Displays all options relating to new mail sounds
*
+ * $Id$
+ * @package plugins
+ * @subpackage newmail
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Displays all options relating to new mail sounds
*
* $Id$
* Displays all options relating to new mail sounds
*
* $Id$
+ * @package plugins
+ * @subpackage newmail
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* too (with a plugin).
*
* $Id$
* too (with a plugin).
*
* $Id$
+ * @package plugins
+ * @subpackage newmail
+ */
+
+ /**
*/
include_once(SM_PATH . 'functions/display_messages.php');
*/
include_once(SM_PATH . 'functions/display_messages.php');
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage newmail
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage sent_subfolders
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
* This is a standard Squirrelmail-1.2 API for plugins.
*
* $Id$
+ * @package plugins
+ * @subpackage sent_subfolders
define('SMPREF_SENT_SUBFOLDERS_DISABLED', 0);
define('SMPREF_SENT_SUBFOLDERS_YEARLY', 1);
define('SMPREF_SENT_SUBFOLDERS_QUARTERLY', 2);
define('SMPREF_SENT_SUBFOLDERS_DISABLED', 0);
define('SMPREF_SENT_SUBFOLDERS_YEARLY', 1);
define('SMPREF_SENT_SUBFOLDERS_QUARTERLY', 2);
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage spamcop
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** $Id$
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** $Id$
+ * @package plugins
+ * @subpackage spamcop
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
define('SM_PATH','../../');
require_once(SM_PATH . 'include/validate.php');
** Copyright (c) 1999-2003 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Copyright (c) 1999-2003 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
+ ** $Id$
+ * @package plugins
+ * @subpackage spamcop
require_once(SM_PATH . 'functions/global.php');
require_once(SM_PATH . 'functions/global.php');
-/* Initialize the plugin */
+/** Initialize the plugin */
function squirrelmail_plugin_init_spamcop() {
global $squirrelmail_plugin_hooks, $data_dir, $username,
$spamcop_is_composing;
function squirrelmail_plugin_init_spamcop() {
global $squirrelmail_plugin_hooks, $data_dir, $username,
$spamcop_is_composing;
** Copyright (c) 1999-2003 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
** Copyright (c) 1999-2003 The SquirrelMail development team
** Licensed under the GNU GPL. For full terms see the file COPYING.
**
+ ** $Id$
+ * @package plugins
+ * @subpackage spamcop
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage squirrelspell
**/
header("Location:../../../src/login.php\n\n");
**/
header("Location:../../../src/login.php\n\n");
* the person is logged or not.
*
* $Id$
* the person is logged or not.
*
* $Id$
+ * @package plugins
+ * @subpackage squirrelspell
*/
header("Location: ../../index.php");
*/
header("Location: ../../index.php");
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage squirrelspell
**/
header("Location:../../../src/login.php\n\n");
**/
header("Location:../../../src/login.php\n\n");
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage squirrelspell
**/
header("Location:../../../src/login.php\n\n");
exit();
**/
header("Location:../../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
+ * @package plugins
+ * @subpackage squirrelspell
+ * @package plugins
+ * @subpackage squirrelspell
require_once(SM_PATH . 'functions/prefs.php');
/* Just for poor wretched souls with E_ALL. :) */
require_once(SM_PATH . 'functions/prefs.php');
/* Just for poor wretched souls with E_ALL. :) */
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
+ * @package plugins
+ * @subpackage squirrelspell
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
+ * @package plugins
+ * @subpackage squirrelspell
/**
* Load the stuff needed from squirrelmail
/**
* Load the stuff needed from squirrelmail
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
*
* @author Konstantin Riabitsev <icon@duke.edu> ($Author$)
* @version $Date$
+ * @package plugins
+ * @subpackage squirrelspell
/**
* Load some necessary stuff from squirrelmail.
/**
* Load some necessary stuff from squirrelmail.
*/
define('SM_PATH','../../');
*/
define('SM_PATH','../../');
** Redirects to the login page.
**
** $Id$
** Redirects to the login page.
**
** $Id$
+ * @package plugins
+ * @subpackage translate
**/
header("Location:../../src/login.php\n\n");
exit();
**/
header("Location:../../src/login.php\n\n");
exit();
-?>
\ No newline at end of file
* Pick your translator to translate the body of incoming mail messages
*
* $Id$
* Pick your translator to translate the body of incoming mail messages
*
* $Id$
+ * @package plugins
+ * @subpackage translate
-/* Path for SquirrelMail required files. */
+/**
+ * Path for SquirrelMail required files.
+ * @ignore
+ */
define('SM_PATH','../../');
/* SquirrelMail required files. */
define('SM_PATH','../../');
/* SquirrelMail required files. */
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
* Licensed under the GNU GPL. For full terms see the file COPYING.
*
* $Id$
+ * @package plugins
+ * @subpackage translate
*/
/* Easy plugin that sends the body of the message to a new browser
*/
/* Easy plugin that sends the body of the message to a new browser
-/* Initialize the translation plugin */
+/**
+ * Initialize the translation plugin
+ * @return void
+ */
function squirrelmail_plugin_init_translate() {
global $squirrelmail_plugin_hooks;
function squirrelmail_plugin_init_translate() {
global $squirrelmail_plugin_hooks;