Tons of formatting changes by Jon Tai.
[squirrelmail.git] / plugins / listcommands / setup.php
index aa7dba06632881ff8b51c760e1a6638f0cb0f6d0..eb16d82868c1a452ea3ac252b0d15f0bb59c6607 100644 (file)
@@ -74,14 +74,14 @@ function plugin_listcommands_menu() {
             if (($cmd == 'Post') || ($cmd == 'Owner')) {
                 $url = 'compose.php?';
             } else {
-                $url = "../plugins/listcommands/mailout.php?action=$cmd&";
+                $url = "../plugins/listcommands/mailout.php?action=$cmd&";
             }
 
             $url .= 'mailbox=' . urlencode($mailbox)
-                  . '&send_to=' . $purl['path'];
+                  . '&send_to=' . $purl['path'];
 
             if (isset($purl['query'])) {
-                $url .= '&' . $purl['query'];
+                $url .= '&' . $purl['query'];
             }
             if ($compose_new_win == '1') {
                 $output[] = '<A HREF="' . $url . '" target="compose_window" onClick="comp_in_new()">' . $fieldsdescr[$cmd] . '</A>';
@@ -90,16 +90,16 @@ function plugin_listcommands_menu() {
                 $output[] = '<A HREF="' . $url . '">' . $fieldsdescr[$cmd] . '</A>';
             }
             if ($cmd == 'Post') {
-                $url .= '&reply_subj=' . urlencode($subject)
-                      . '&reply_id=' . $passed_id
-                      . '&ent_num=' . $ent_num
-                      . '&mailprio=' . $priority_level;
-            if ($compose_new_win == '1') {
-                $output[] = '<A HREF="' . $url . '" target="compose_window" onClick="comp_in_new()">' . $fieldsdescr['Reply'] . '</A>';
-            }
-            else {
-                $output[] = '<A HREF="' . $url . '">' . $fieldsdescr['Reply'] . '</A>';
-            }
+                $url .= '&amp;reply_subj=' . urlencode($subject)
+                      . '&amp;reply_id=' . $passed_id
+                      . '&amp;ent_num=' . $ent_num
+                      . '&amp;mailprio=' . $priority_level;
+                if ($compose_new_win == '1') {
+                    $output[] = '<A HREF="' . $url . '" target="compose_window" onClick="comp_in_new()">' . $fieldsdescr['Reply'] . '</A>';
+                }
+                else {
+                    $output[] = '<A HREF="' . $url . '">' . $fieldsdescr['Reply'] . '</A>';
+                }
             }
         } else if (eregi('^(http|ftp)', $url)) {
             $output[] = '<A HREF="' . $url . '" TARGET="_blank">'
@@ -109,7 +109,7 @@ function plugin_listcommands_menu() {
 
     if (count($output) > 0) {
         echo "<tr>";
-        echo "<td BGCOLOR=\"$color[0]\">"
+        echo "<td ALIGN=RIGHT BGCOLOR=\"$color[0]\">"
            .   str_replace(' ', '&nbsp;', _("Mailing List:"))
            . '</td>';
         echo "<td BGCOLOR=\"$color[0]\" WIDTH=\"100%\" colspan=\"2\">"