Changeset 2003 in subversion
- Timestamp:
- Oct 22, 2008 1:41:22 PM (5 years ago)
- Location:
- trunk/roundcubemail
- Files:
-
- 10 edited
-
CHANGELOG (modified) (1 diff)
-
config/main.inc.php.dist (modified) (1 diff)
-
program/js/app.js (modified) (1 diff)
-
program/localization/en_GB/labels.inc (modified) (1 diff)
-
program/localization/en_US/labels.inc (modified) (1 diff)
-
program/localization/pl_PL/labels.inc (modified) (1 diff)
-
program/localization/ru_RU/labels.inc (modified) (1 diff)
-
program/steps/mail/check_recent.inc (modified) (1 diff)
-
program/steps/settings/func.inc (modified) (2 diffs)
-
program/steps/settings/save_prefs.inc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/CHANGELOG
r1987 r2003 1 1 CHANGELOG RoundCube Webmail 2 2 --------------------------- 3 4 2008/10/22 (alec) 5 ---------- 6 - Added option focus_on_new_message (#1485374) 3 7 4 8 2008/10/18 (alec) -
trunk/roundcubemail/config/main.inc.php.dist
r1932 r2003 356 356 $rcmail_config['preview_pane'] = FALSE; 357 357 358 // focus new window if new message arrives 359 $rcmail_config['focus_on_new_message'] = true; 360 358 361 // Clear Trash on logout 359 362 $rcmail_config['logout_purge'] = FALSE; -
trunk/roundcubemail/program/js/app.js
r1984 r2003 3583 3583 }; 3584 3584 3585 // notifies that a new message(s) has hit the mailbox 3586 this.new_message_focus = function() 3587 { 3588 // focus main window 3589 if (this.env.framed && window.parent) 3590 window.parent.focus(); 3591 else 3592 window.focus(); 3593 } 3594 3585 3595 // add row to contacts list 3586 3596 this.add_contact_row = function(cid, cols, select) -
trunk/roundcubemail/program/localization/en_GB/labels.inc
r1907 r2003 233 233 $labels['2047folding'] = 'Full RFC 2047 (other)'; 234 234 $labels['advancedoptions'] = 'Advanced options'; 235 $labels['focusonnewmessage'] = 'Focus browser window on new message'; 235 236 $labels['messagesdisplaying'] = 'Displaying Messages'; 236 237 $labels['messagescomposition'] = 'Composing Messages'; -
trunk/roundcubemail/program/localization/en_US/labels.inc
r1931 r2003 291 291 $labels['2047folding'] = 'Full RFC 2047 (other)'; 292 292 $labels['advancedoptions'] = 'Advanced options'; 293 $labels['focusonnewmessage'] = 'Focus browser window on new message'; 293 294 294 295 $labels['folder'] = 'Folder'; -
trunk/roundcubemail/program/localization/pl_PL/labels.inc
r1931 r2003 260 260 $labels['everynminutes'] = 'co $n minut'; 261 261 $labels['never'] = 'nigdy'; 262 $labels['focusonnewmessage'] = 'Informuj przeglÄ 263 darkÄ o nowej wiadomoÅci'; 262 264 $labels['folder'] = 'Folder'; 263 265 $labels['folders'] = 'Foldery'; -
trunk/roundcubemail/program/localization/ru_RU/labels.inc
r1989 r2003 254 254 пÑПгÑаЌЌ)'; 255 255 $labels['advancedoptions'] = 'ÐПпПлМОÑелÑМÑе МаÑÑÑПйкО'; 256 $labels['focusonnewmessage'] = 'ЀПкÑÑОÑПваÑÑ ÐŸÐºÐœÐŸ бÑаÑзеÑа пÑО МПвПЌ ÑППбÑеМОО'; 256 257 $labels['folder'] = 'Ðапка'; 257 258 $labels['folders'] = 'ÐапкО'; -
trunk/roundcubemail/program/steps/mail/check_recent.inc
r1819 r2003 42 42 $OUTPUT->command('set_quota', rcmail_quota_content($IMAP->get_quota())); 43 43 44 if (rcmail::get_instance()->config->get('focus_on_new_message',true)) 45 $OUTPUT->command('new_message_focus'); 46 44 47 // add new message headers to list 45 48 $a_headers = array(); -
trunk/roundcubemail/program/steps/settings/func.inc
r1939 r2003 149 149 $table = new html_table(array('cols' => 2)); 150 150 151 if (!isset($no_override['focus_on_new_message'])) { 152 $field_id = 'rcmfd_focus_on_new_message'; 153 $input_focus_on_new_message = new html_checkbox(array('name' => '_focus_on_new_message', 'id' => $field_id, 'value' => 1)); 154 $table->add('title', html::label($field_id, Q(rcube_label('focusonnewmessage')))); 155 $table->add(null, $input_focus_on_new_message->show($config['focus_on_new_message']?1:0)); 156 } 157 151 158 // show config parameter for preview pane 152 159 if (!isset($no_override['preview_pane'])) { … … 295 302 $table->add(null, $input_purge->show($config['skip_deleted']?1:0)); 296 303 } 297 304 298 305 // Trash purging on logout 299 306 if (!isset($no_override['logout_purge'])) { -
trunk/roundcubemail/program/steps/settings/save_prefs.inc
r1931 r2003 31 31 'inline_images' => isset($_POST['_inline_images']) ? TRUE : FALSE, 32 32 'preview_pane' => isset($_POST['_preview_pane']) ? TRUE : FALSE, 33 'focus_on_new_message' => isset($_POST['_focus_on_new_message']) ? TRUE : FALSE, 33 34 'read_when_deleted' => isset($_POST['_read_when_deleted']) ? TRUE : FALSE, 34 35 'skip_deleted' => isset($_POST['_skip_deleted']) ? TRUE : FALSE,
Note: See TracChangeset
for help on using the changeset viewer.
