From 4366bea4d3f56fc017f649e1abcb0e7b761e0c9b Mon Sep 17 00:00:00 2001 From: philippe_mingo Date: Thu, 14 Feb 2002 16:46:17 +0000 Subject: [PATCH] Delete move next fix. Includes strings translation and move folders fix. git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2444 7612ce4b-ef26-0410-bec9-ea0150e637f0 --- plugins/delete_move_next/setup.php | 80 ++++++++++++++---------------- src/read_body.php | 3 ++ 2 files changed, 41 insertions(+), 42 deletions(-) diff --git a/plugins/delete_move_next/setup.php b/plugins/delete_move_next/setup.php index 4abbaa8e..f73b5d22 100644 --- a/plugins/delete_move_next/setup.php +++ b/plugins/delete_move_next/setup.php @@ -81,8 +81,6 @@ function delete_move_expunge_from_all($id) { } } - // delete_move_show_msg_array(); - sqimap_mailbox_expunge($imapConnection, $mailbox, true); } @@ -197,7 +195,10 @@ function get_move_target_list() { if (!in_array('noselect', $boxes[$i]['flags'])) { $box = $boxes[$i]['unformatted']; $box2 = str_replace(' ', ' ', $boxes[$i]['unformatted-disp']); - echo " \n"; } } } @@ -208,53 +209,48 @@ function delete_move_next_moveNextForm($next) { $urlMailbox, $sort, $startMessage, $delete_id, $move_id, $imapConnection; -?> - -
" method="get"> - - - - - - - - Move to: - - - - -
- - -'. + ''. + "". + "". + "". + "". + "". + "". + "". + _("Move to:") . + ' '. + ''. + ''. + ''. + '' . + ''; } - function delete_move_next_moveRightMainForm() { global $color, $where, $what, $currentArrayIndex, $passed_id, $urlMailbox, $sort, $startMessage, $delete_id, $move_id, $imapConnection; -?> - -
" method="get"> - - - - - - Move to: - - - - -
- - -' . + '' . + "". + "". + "". + "". + "". + _("Move to:") . + ' ' . + ''. + ''. + ''. + '' . + ''; } diff --git a/src/read_body.php b/src/read_body.php index 1c193400..3f0f0bbe 100644 --- a/src/read_body.php +++ b/src/read_body.php @@ -240,6 +240,9 @@ function ClearAttachments() { $passed_id */ +if ( isset( $mailbox ) ) { + $mailbox = urldecode( $mailbox ); +} $imapConnection = sqimap_login($username, $key, $imapServerAddress, $imapPort, 0); $read = sqimap_mailbox_select($imapConnection, $mailbox, false, false, true); -- 2.25.1