Added auth on file method
[squirrelmail.git] / plugins / listcommands / mailout.php
index a46815694fc5a4a350262ade375faf155f789513..ac5989e1c6a4a36541ac5fc0e935445825d771f7 100644 (file)
@@ -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 ) {
 case 'Help':
 
 switch ( $action ) {
 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;
 case 'Subscribe':
     break;
 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;
 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.");
     break;
 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.");
@@ -44,7 +47,7 @@ $em = getPref($data_dir, $username, 'email_address');
 if ($em != '') {
     $defaultmail .= htmlspecialchars(' <' . $em . '>') . "\n";
 }
 if ($em != '') {
     $defaultmail .= htmlspecialchars(' <' . $em . '>') . "\n";
 }
-echo '<P><CENTER>' . _("From:");
+echo '<P><CENTER>' . _("From:") . ' ';
 
 $idents = getPref($data_dir, $username, 'identities');
 if ($idents != '' && $idents > 1) {
 
 $idents = getPref($data_dir, $username, 'identities');
 if ($idents != '' && $idents > 1) {
@@ -75,4 +78,4 @@ echo '<BR>'
 . '<input type=hidden name="mailbox" value="' . htmlspecialchars($mailbox) . '">'
 . '<input type=submit name="send" value="' . _("Send Mail") . '"><BR><BR></CENTER>'
 . '</form></TD></TR></TABLE></P></BODY></HTML>';
 . '<input type=hidden name="mailbox" value="' . htmlspecialchars($mailbox) . '">'
 . '<input type=submit name="send" value="' . _("Send Mail") . '"><BR><BR></CENTER>'
 . '</form></TD></TR></TABLE></P></BODY></HTML>';
-?>
\ No newline at end of file
+?>