瀏覽代碼

haven't changed formatRecipientString.
used last Jon's suggestion about puting variables in post url.
these move buttons should be the only place that break PHP_SELF.

tokul 21 年之前
父節點
當前提交
3c38b92f47
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      plugins/delete_move_next/setup.php

+ 2 - 2
plugins/delete_move_next/setup.php

@@ -247,7 +247,7 @@ function delete_move_next_moveNextForm($next) {
 
 
     echo '<tr>'.
     echo '<tr>'.
          "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
          "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
-           '<form action="read_body.php" method="post"><small>'.
+           "<form action=\"read_body.php?mailbox=$mailbox&sort=$sort&startMessage=$startMessage&passed_id=$next\" method=\"post\"><small>".
             "<input type=\"hidden\" name=\"passed_id\" value=\"$next\">".
             "<input type=\"hidden\" name=\"passed_id\" value=\"$next\">".
             "<input type=\"hidden\" name=\"mailbox\" value=\"".$mailbox."\">".
             "<input type=\"hidden\" name=\"mailbox\" value=\"".$mailbox."\">".
             "<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
             "<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
@@ -273,7 +273,7 @@ function delete_move_next_moveRightMainForm() {
 
 
     echo '<tr>' .
     echo '<tr>' .
             "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
             "<td bgcolor=\"$color[9]\" width=\"100%\" align=\"center\">".
-            '<form action="right_main.php" method="post"><small>' .
+            "<form action=\"right_main.php?mailbox=$mailbox&sort=$sort&startMessage=$startMessage&passed_id=$passed_id\" method=\"post\"><small>" .
             "<input type=\"hidden\" name=\"mailbox\" value=\"".$mailbox."\">".
             "<input type=\"hidden\" name=\"mailbox\" value=\"".$mailbox."\">".
             "<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
             "<input type=\"hidden\" name=\"sort\" value=\"$sort\">".
             "<input type=\"hidden\" name=\"startMessage\" value=\"$startMessage\">".
             "<input type=\"hidden\" name=\"startMessage\" value=\"$startMessage\">".