From e901f948f25db35a2639130a4d95df34dba58db2 Mon Sep 17 00:00:00 2001 From: svncommit <devs@roundcube.net> Date: Tue, 21 Nov 2006 07:34:28 -0500 Subject: [PATCH] Updated Russian localization --- program/steps/mail/move_del.inc | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/program/steps/mail/move_del.inc b/program/steps/mail/move_del.inc index 41b11d5..80b2ad8 100644 --- a/program/steps/mail/move_del.inc +++ b/program/steps/mail/move_del.inc @@ -62,7 +62,8 @@ // update message count display $pages = ceil($IMAP->messagecount()/$IMAP->page_size); -$commands = sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); +$commands = "if (this.message_list) this.message_list.init();\n"; +$commands .= sprintf("this.set_rowcount('%s');\n", rcmail_get_messagecount_text()); $commands .= sprintf("this.set_env('pagecount', %d);\n", $pages); @@ -73,11 +74,12 @@ if ($_action=='moveto') $commands .= sprintf("this.set_unread_count('%s', %d);\n", $_GET['_target_mbox'], $IMAP->messagecount($_GET['_target_mbox'], 'UNSEEN')); +$commands .= sprintf("this.set_quota('%s');\n", $IMAP->get_quota()); // add new rows from next page (if any) if ($_GET['_from']!='show' && $pages>1 && $IMAP->list_page < $pages) { - $a_headers = $IMAP->list_headers($mbox); + $a_headers = $IMAP->list_headers($mbox, null, $_SESSION['sort_col'], $_SESSION['sort_order']); $a_headers = array_slice($a_headers, -$count, $count); $commands .= rcmail_js_message_list($a_headers); } @@ -87,4 +89,4 @@ rcube_remote_response($commands); exit; -?> \ No newline at end of file +?> -- Gitblit v1.9.1