XHTML fixes
[squirrelmail.git] / plugins / spamcop / setup.php
index afe03abcf67369800666fd5c25a853f031943e8d..5f54c46c276df75e26389dd14fb1382f8b4ae4fc 100755 (executable)
@@ -1,14 +1,13 @@
 <?php
-   /** 
-    **  setup.php -- SpamCop plugin           
-    **
-    **  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
-    **/
+/** 
+ * 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');
@@ -16,7 +15,10 @@ 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;
@@ -39,6 +41,7 @@ function squirrelmail_plugin_init_spamcop() {
 
 /**
  * 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,
@@ -69,6 +72,7 @@ function spamcop_load() {
 
 /**
  * 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;
@@ -116,6 +120,7 @@ document.write("</a>");
 
 /**
  * Show spamcop options block
+ * @access private
  */
 function spamcop_options()
 {
@@ -124,7 +129,7 @@ function spamcop_options()
    $optpage_blocks[] = array(
       'name' => _("SpamCop - Spam Reporting"),
       'url' => '../plugins/spamcop/options.php',
-      'desc' => _("Help fight the battle against unsolicited email.  SpamCop reads the spam email and determines the correct addresses to send complaints to.  Quite fast, really smart, and easy to use."),
+      'desc' => _("Help fight the battle against unsolicited email. SpamCop reads the spam email and determines the correct addresses to send complaints to. Quite fast, really smart, and easy to use."),
       'js' => false
    );
 }
@@ -132,6 +137,7 @@ function spamcop_options()
 
 /**
  * When we send the email, we optionally trash it then too
+ * @access private
  */
 function spamcop_while_sending()
 {