Source for file setup.php
Documentation is available at setup.php
* setup.php -- SpamCop plugin - setup script
* @copyright © 1999-2006 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id: setup.php,v 1.30 2006/07/15 12:01:18 tokul Exp $
function squirrelmail_plugin_init_spamcop() {
global $squirrelmail_plugin_hooks;
$squirrelmail_plugin_hooks['optpage_register_block']['spamcop'] =
$squirrelmail_plugin_hooks['loading_prefs']['spamcop'] =
$squirrelmail_plugin_hooks['read_body_header_right']['spamcop'] =
$squirrelmail_plugin_hooks['compose_send']['spamcop'] =
* Loads spamcop settings and validates some of values (make '' into 'default', etc.)
function spamcop_load() {
include_once(SM_PATH .
'plugins/spamcop/functions.php');
* Shows spamcop link on the read-a-message screen
function spamcop_show_link() {
include_once(SM_PATH .
'plugins/spamcop/functions.php');
spamcop_show_link_function();
* Show spamcop options block
function spamcop_options() {
include_once(SM_PATH .
'plugins/spamcop/functions.php');
spamcop_options_function();
* Process messages submitted by email
function spamcop_while_sending() {
include_once(SM_PATH .
'plugins/spamcop/functions.php');
spamcop_while_sending_function();
Documentation generated on Sat, 07 Oct 2006 16:13:34 +0300 by phpDocumentor 1.3.0RC6