Changeset 2040 in subversion for trunk/roundcubemail/program/steps/mail/compose.inc
- Timestamp:
- Nov 5, 2008 5:19:44 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/steps/mail/compose.inc
r2035 r2040 427 427 } 428 428 429 $lang = $tinylang = strtolower(substr($_SESSION['language'], 0, 2)); 430 if (!file_exists(INSTALL_PATH . 'program/js/tiny_mce/langs/'.$tinylang.'.js')) 431 $tinylang = 'en'; 432 433 $OUTPUT->include_script('tiny_mce/tiny_mce.js'); 434 $OUTPUT->include_script("editor.js"); 435 $OUTPUT->add_script('rcmail_editor_init("$__skin_path", "'.JQ($tinylang).'", '.intval($CONFIG['enable_spellcheck']).');'); 429 rcube_html_editor(); 436 430 437 431 $out = $form_start ? "$form_start\n" : ''; … … 856 850 $chosenvalue = $useHtml ? 'html' : 'plain'; 857 851 $radio = new html_radiobutton(array('name' => '_editorSelect', 858 'onclick' => "return rcmail .toggle_editor(this.value=='html', '$editorid', '_is_html')"));852 'onclick' => "return rcmail_toggle_editor(this.value=='html', '$editorid', '_is_html')")); 859 853 860 854 foreach ($choices as $value => $text)
Note: See TracChangeset
for help on using the changeset viewer.
