From ed7371ca5fa32bb14d23b105789c46c9bdf36756 Mon Sep 17 00:00:00 2001 From: brettp Date: Sat, 29 May 2010 01:53:43 +0000 Subject: Upgraded TinyMCE to 3.3.6. git-svn-id: http://code.elgg.org/elgg/trunk@6281 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/tinymce/start.php | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to 'mod/tinymce/start.php') diff --git a/mod/tinymce/start.php b/mod/tinymce/start.php index 3eb12811c..47bb627a6 100644 --- a/mod/tinymce/start.php +++ b/mod/tinymce/start.php @@ -1,25 +1,19 @@ pluginspath . 'tinymce/views/'); - } - - // Make sure the status initialisation function is called on initialisation - register_elgg_event_handler('init','system','tinymce_init',9999); - -?> \ No newline at end of file +function tinymce_init() { + global $CONFIG; + + elgg_extend_view('css', 'tinymce/css'); + //set_view_location('embed/addcontentjs', $CONFIG->pluginspath . 'tinymce/views/'); +} + +register_elgg_event_handler('init', 'system', 'tinymce_init', 9999); -- cgit v1.2.3