[Hastymail-cvs] SF.net SVN: hastymail:[1471] trunk/hastymail2/lib/url_action_classes/ message.php
Brought to you by:
sailfrog,
slushpupie
From: <sai...@us...> - 2010-04-26 02:45:18
|
Revision: 1471 http://hastymail.svn.sourceforge.net/hastymail/?rev=1471&view=rev Author: sailfrog Date: 2010-04-26 02:45:12 +0000 (Mon, 26 Apr 2010) Log Message: ----------- make the move + action destination folder on the message view remember the last used value Modified Paths: -------------- trunk/hastymail2/lib/url_action_classes/message.php Modified: trunk/hastymail2/lib/url_action_classes/message.php =================================================================== --- trunk/hastymail2/lib/url_action_classes/message.php 2010-04-26 02:26:49 UTC (rev 1470) +++ trunk/hastymail2/lib/url_action_classes/message.php 2010-04-26 02:45:12 UTC (rev 1471) @@ -113,12 +113,6 @@ $user->page_data['filter_by'] = $filter_by; $user->page_data['sort_by'] = $sort_by; if ($imap->select_mailbox($mailbox, $sort_by, false, true, $filter_by)) { - if (isset($_SESSION['last_prev_next_folder'])) { - $user->page_data['last_prev_next_folder'] = $_SESSION['last_prev_next_folder']; - } - else { - $user->page_data['last_prev_next_folder'] = false; - } $user->page_data['mailbox'] = $mailbox; if ($mailbox == 'INBOX') { $user->page_data['mailbox_dsp'] = $user->str[436]; @@ -1100,7 +1094,7 @@ $data .= 'disabled="disabled" '; } $data .= 'id="prev_next_folder" name="prev_next_folder">'. - $this->print_folder_option_list($this->pd['folders'], false, 0, array($this->pd['last_prev_next_folder']), true, true).'</select>'; + $this->print_folder_option_list($this->pd['folders'], false, 0, array($this->pd['current_destination']), true, true).'</select>'; $data .= '</td>'; $data .= '</tr></table>'; $data .= '</form>'; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |