Changeset cf1f0f9 in github
- Timestamp:
- Feb 5, 2008 4:39:08 PM (5 years ago)
- Branches:
- master, HEAD, courier-fix, dev-browser-capabilities, pdo, release-0.6, release-0.7, release-0.8
- Children:
- a02d486
- Parents:
- a527781
- Files:
-
- 7 edited
-
CHANGELOG (modified) (1 diff)
-
program/include/rcmail_template.inc (modified) (2 diffs)
-
program/steps/mail/check_recent.inc (modified) (1 diff)
-
program/steps/mail/getunread.inc (modified) (1 diff)
-
program/steps/mail/list.inc (modified) (2 diffs)
-
program/steps/mail/mark.inc (modified) (1 diff)
-
program/steps/mail/move_del.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
CHANGELOG
r0ea88409 rcf1f0f9 2 2 --------------------------- 3 3 4 2008/02/0 4(thomasb)4 2008/02/05 (thomasb) 5 5 ---------- 6 6 - Fix regular expression for checking e-mail address (#1484710) 7 7 - Make sending of read receipts configurable 8 - Respect config when localize folder names (#1484707) 9 - Aplied patch for updating page title (#1484727, #1484650) 8 10 9 11 2008/02/02 (thomasb) -
program/include/rcmail_template.inc
rfba1f5a rcf1f0f9 313 313 $out .= ($this->ajax_call ? 'this' : JS_OBJECT_NAME) . '.set_env('.json_serialize($this->js_env).");\n"; 314 314 315 // add command to set page title 316 if ($this->ajax_call && !empty($this->pagetitle)) 317 $out .= sprintf( 318 "this.set_pagetitle('%s');\n", 319 JQ((!empty($this->config['product_name']) ? $this->config['product_name'].' :: ' : '') . $this->pagetitle) 320 ); 321 315 322 foreach ($this->js_commands as $i => $args) 316 323 { … … 327 334 } 328 335 329 // add command to set page title 330 if ($this->ajax_call && !empty($this->pagetitle)) 331 $out .= sprintf( 332 "this.set_pagetitle('%s');\n", 333 JQ((!empty($this->config['product_name']) ? $this->config['product_name'].' :: ' : '') . $this->pagetitle) 334 ); 336 335 337 336 338 return $out; -
program/steps/mail/check_recent.inc
r1107480 rcf1f0f9 36 36 37 37 $OUTPUT->set_env('messagecount', $IMAP->messagecount()); 38 $OUTPUT->command('set_unread_count', $mbox_name, $unread_count, true);38 $OUTPUT->command('set_unread_count', $mbox_name, $unread_count, ($mbox_name == 'INBOX')); 39 39 $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text()); 40 40 $OUTPUT->command('set_quota', $IMAP->get_quota()); -
program/steps/mail/getunread.inc
r5349b78 rcf1f0f9 25 25 { 26 26 foreach ($a_folders as $mbox_row) 27 $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN') );27 $OUTPUT->command('set_unread_count', $mbox_row, $IMAP->messagecount($mbox_row, 'UNSEEN'), ($IMAP->get_mailbox_name() == 'INBOX' && $mbox_row == 'INBOX')); 28 28 } 29 29 -
program/steps/mail/list.inc
r1107480 rcf1f0f9 53 53 $OUTPUT->command('set_rowcount', rcmail_get_messagecount_text($count)); 54 54 55 // update mailboxlist56 $OUTPUT->command('set_unread_count', $mbox_name, $unseen);57 58 55 59 56 // add message rows … … 63 60 $OUTPUT->show_message('nomessagesfound', 'notice'); 64 61 62 // update mailboxlist 63 $OUTPUT->command('set_unread_count', $mbox_name, $unseen, ($mbox_name == 'INBOX')); 64 65 65 // send response 66 66 $OUTPUT->send(); -
program/steps/mail/mark.inc
r8d07583 rcf1f0f9 33 33 { 34 34 $mbox_name = $IMAP->get_mailbox_name(); 35 $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN') );35 $OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN'), ($mbox_name == 'INBOX')); 36 36 $OUTPUT->send(); 37 37 } -
program/steps/mail/move_del.inc
r1107480 rcf1f0f9 87 87 // update mailboxlist 88 88 $mbox = $IMAP->get_mailbox_name(); 89 $OUTPUT->command('set_unread_count', $mbox, $IMAP->messagecount($mbox, 'UNSEEN') );89 $OUTPUT->command('set_unread_count', $mbox, $IMAP->messagecount($mbox, 'UNSEEN'), ($mbox == 'INBOX')); 90 90 91 91 if ($_action=='moveto' && $target)
Note: See TracChangeset
for help on using the changeset viewer.
