diff options
author | Sem <sembrestels@riseup.net> | 2012-07-06 05:18:14 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-07-06 05:18:14 +0200 |
commit | 0381efbd3bb6f38d53250a488b121e2ae36bc290 (patch) | |
tree | 0774feb5a49d35341cc566c37c339608352d42c1 /mod/tinymce/views/default | |
parent | b2f46500941a2093734e7672a4de79aabd95b9fc (diff) | |
download | elgg-0381efbd3bb6f38d53250a488b121e2ae36bc290.tar.gz elgg-0381efbd3bb6f38d53250a488b121e2ae36bc290.tar.bz2 |
Refs #1852. Tinymce detects if site language is installed in its languages path.
Diffstat (limited to 'mod/tinymce/views/default')
-rw-r--r-- | mod/tinymce/views/default/js/tinymce.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/tinymce/views/default/js/tinymce.php b/mod/tinymce/views/default/js/tinymce.php index e6e2865a5..51e99c223 100644 --- a/mod/tinymce/views/default/js/tinymce.php +++ b/mod/tinymce/views/default/js/tinymce.php @@ -38,6 +38,7 @@ elgg.tinymce.init = function() { mode : "specific_textareas", editor_selector : "elgg-input-longtext", theme : "advanced", + language : "<?php echo tinymce_get_site_language(); ?>", plugins : "lists,spellchecker,autosave,fullscreen,paste", relative_urls : false, remove_script_host : false, @@ -86,4 +87,4 @@ elgg.tinymce.init = function() { } } -elgg.register_hook_handler('init', 'system', elgg.tinymce.init);
\ No newline at end of file +elgg.register_hook_handler('init', 'system', elgg.tinymce.init); |