<?php
-
- /**
- ** index.php -- Displays the main frameset
- **
- ** Copyright (c) 1999-2004 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** Redirects to the login page.
- **
- ** $Id$
- * @package plugins
- * @subpackage spamcop
- **/
+/**
+ * index.php -- Displays the main frameset
+ *
+ * Redirects to the login page.
+ *
+ * @copyright (c) 1999-2004 The SquirrelMail development team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage spamcop
+ */
header("Location:../../src/login.php\n\n");
exit();
<?php
- /**
- ** options.php -- SpamCop options page
- **
- ** Copyright (c) 1999-2004 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** $Id$
- * @package plugins
- * @subpackage spamcop
- **/
+/**
+ * options.php -- SpamCop options page
+ *
+ * @copyright (c) 1999-2004 The SquirrelMail development team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage spamcop
+ */
/** @ignore */
define('SM_PATH','../../');
* Internal spamcop plugin function.
*
* It is used to display similar action links.
+ * @access private
*/
function spamcop_enable_disable($option,$disable_action,$enable_action) {
if ($option) {
<?php
- /**
- ** setup.php -- SpamCop plugin
- **
- ** Copyright (c) 1999-2004 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** $Id$
- * @package plugins
- * @subpackage spamcop
- **/
+/**
+ * setup.php -- SpamCop plugin - setup script
+ *
+ * @copyright (c) 1999-2004 The SquirrelMail development team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage spamcop
+ */
/** @ignore */
require_once(SM_PATH . 'functions/global.php');
/** Disable Quick Reporting by default */
$spamcop_quick_report = false;
-/** Initialize the plugin */
+/**
+ * Initialize the plugin
+ * @access private
+ */
function squirrelmail_plugin_init_spamcop() {
global $squirrelmail_plugin_hooks, $data_dir, $username,
$spamcop_is_composing;
/**
* Loads spamcop settings and validates some of values (make '' into 'default', etc.)
+ * @access private
*/
function spamcop_load() {
global $username, $data_dir, $spamcop_enabled, $spamcop_delete,
/**
* Shows spamcop link on the read-a-message screen
+ * @access private
*/
function spamcop_show_link() {
global $spamcop_enabled, $spamcop_method, $spamcop_quick_report,$javascript_on;
/**
* Show spamcop options block
+ * @access private
*/
function spamcop_options()
{
/**
* When we send the email, we optionally trash it then too
+ * @access private
*/
function spamcop_while_sending()
{
<?php
- /**
- ** spamcop.php -- SpamCop plugin
- **
- ** Copyright (c) 1999-2004 The SquirrelMail development team
- ** Licensed under the GNU GPL. For full terms see the file COPYING.
- **
- ** $Id$
- * @package plugins
- * @subpackage spamcop
- **/
+/**
+ * spamcop.php -- SpamCop plugin -- main page
+ *
+ * @copyright (c) 1999-2004 The SquirrelMail development team
+ * @license http://opensource.org/licenses/gpl-license.php GNU Public License
+ * @version $Id$
+ * @package plugins
+ * @subpackage spamcop
+ */
/** @ignore */
define('SM_PATH','../../');
/**
* Stores message in attachment directory, when email based reports are used
+ * @access private
*/
function getMessage_RFC822_Attachment($message, $composeMessage, $passed_id,
$passed_ent_id='', $imapConnection) {