Bläddra i källkod

Added (c) notice

philippe_mingo 23 år sedan
förälder
incheckning
f181c916df
2 ändrade filer med 17 tillägg och 12 borttagningar
  1. 8 5
      plugins/listcommands/mailout.php
  2. 9 7
      plugins/listcommands/setup.php

+ 8 - 5
plugins/listcommands/mailout.php

@@ -1,8 +1,11 @@
 <?php
 <?php
-/*
- * mailout.php part of listcommands plugin
- * last modified: 2002/01/21 by Thijs Kinkhorst
+/**
+ * mailout.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  *
+ * $Id$
  */
  */
 
 
 chdir('..');
 chdir('..');
@@ -19,10 +22,10 @@ echo '<P><TABLE align="center" width="75%" BGCOLOR="' . $color[0] ."\">\n"
 
 
 switch ( $action ) {
 switch ( $action ) {
 case 'Help':
 case 'Help':
-    $out_string .= _("This will send a message to %s requesting help for this list. You will receive an emailed response at the address below.");
+    $out_string = _("This will send a message to %s requesting help for this list. You will receive an emailed response at the address below.");
     break;
     break;
 case 'Subscribe':
 case 'Subscribe':
-    $out_string .= _("This will send a message to %s requesting that you will be subscribed to this list. You will be subscribed with the address below.");
+    $out_string = _("This will send a message to %s requesting that you will be subscribed to this list. You will be subscribed with the address below.");
     break;
     break;
 case 'Unsubscribe':
 case 'Unsubscribe':
     $out_string = _("This will send a message to %s requesting that you will be unsubscribed from this list. It will try to unsubscribe the adress below.");
     $out_string = _("This will send a message to %s requesting that you will be unsubscribed from this list. It will try to unsubscribe the adress below.");

+ 9 - 7
plugins/listcommands/setup.php

@@ -1,18 +1,20 @@
 <?php
 <?php
-/*
- * Listcommands plugin v1.3
+
+/**
+ * setup.php
+ *
+ * Copyright (c) 1999-2002 The SquirrelMail Project Team
+ * Licensed under the GNU GPL. For full terms see the file COPYING.
  *
  *
  * Implementation of RFC 2369 for SquirrelMail.
  * Implementation of RFC 2369 for SquirrelMail.
  * When viewing a message from a mailinglist complying with this RFC,
  * When viewing a message from a mailinglist complying with this RFC,
  * this plugin displays a menu which gives the user a choice of mailinglist
  * this plugin displays a menu which gives the user a choice of mailinglist
  * commands such as (un)subscribe, help and list archives.
  * commands such as (un)subscribe, help and list archives.
  *
  *
- * last modified: 2002/01/21 by Thijs Kinkhorst
- * please send bug reports to <thijs@kinkhorst.com>
- *
+ * $Id$
  */
  */
-function squirrelmail_plugin_init_listcommands ()
-{
+
+function squirrelmail_plugin_init_listcommands () {
     global $squirrelmail_plugin_hooks;
     global $squirrelmail_plugin_hooks;
 
 
     $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';
     $squirrelmail_plugin_hooks['read_body_header']['listcommands'] = 'plugin_listcommands_menu';