From 4766f36a4d74924f21ff329c4318ce4e069ffa04 Mon Sep 17 00:00:00 2001
From: brettp
Date: Wed, 3 Mar 2010 17:53:05 +0000
Subject: Pulled in the interface changes.
git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544
---
.../jscripts/tiny_mce/plugins/advhr/css/advhr.css | 5 +
.../tiny_mce/plugins/advhr/editor_plugin.js | 1 +
.../tiny_mce/plugins/advhr/editor_plugin_src.js | 54 +
.../jscripts/tiny_mce/plugins/advhr/js/rule.js | 43 +
.../tiny_mce/plugins/advhr/langs/en_dlg.js | 5 +
.../jscripts/tiny_mce/plugins/advhr/rule.htm | 63 ++
.../tiny_mce/plugins/advimage/css/advimage.css | 13 +
.../tiny_mce/plugins/advimage/editor_plugin.js | 1 +
.../tiny_mce/plugins/advimage/editor_plugin_src.js | 47 +
.../jscripts/tiny_mce/plugins/advimage/image.htm | 238 +++++
.../tiny_mce/plugins/advimage/img/sample.gif | Bin 0 -> 1624 bytes
.../jscripts/tiny_mce/plugins/advimage/js/image.js | 441 ++++++++
.../tiny_mce/plugins/advimage/langs/en_dlg.js | 43 +
.../tiny_mce/plugins/advlink/css/advlink.css | 8 +
.../tiny_mce/plugins/advlink/editor_plugin.js | 1 +
.../tiny_mce/plugins/advlink/editor_plugin_src.js | 58 +
.../tiny_mce/plugins/advlink/js/advlink.js | 528 +++++++++
.../tiny_mce/plugins/advlink/langs/en_dlg.js | 52 +
.../jscripts/tiny_mce/plugins/advlink/link.htm | 339 ++++++
.../tiny_mce/plugins/autosave/editor_plugin.js | 1 +
.../tiny_mce/plugins/autosave/editor_plugin_src.js | 51 +
.../tiny_mce/plugins/bbcode/editor_plugin.js | 1 +
.../tiny_mce/plugins/bbcode/editor_plugin_src.js | 117 ++
.../tiny_mce/plugins/compat2x/editor_plugin.js | 1 +
.../tiny_mce/plugins/compat2x/editor_plugin_src.js | 616 +++++++++++
.../tiny_mce/plugins/contextmenu/editor_plugin.js | 1 +
.../plugins/contextmenu/editor_plugin_src.js | 95 ++
.../plugins/directionality/editor_plugin.js | 1 +
.../plugins/directionality/editor_plugin_src.js | 79 ++
.../tiny_mce/plugins/emotions/editor_plugin.js | 1 +
.../tiny_mce/plugins/emotions/editor_plugin_src.js | 40 +
.../tiny_mce/plugins/emotions/emotions.htm | 41 +
.../tiny_mce/plugins/emotions/img/smiley-cool.gif | Bin 0 -> 354 bytes
.../tiny_mce/plugins/emotions/img/smiley-cry.gif | Bin 0 -> 329 bytes
.../plugins/emotions/img/smiley-embarassed.gif | Bin 0 -> 331 bytes
.../plugins/emotions/img/smiley-foot-in-mouth.gif | Bin 0 -> 344 bytes
.../tiny_mce/plugins/emotions/img/smiley-frown.gif | Bin 0 -> 340 bytes
.../plugins/emotions/img/smiley-innocent.gif | Bin 0 -> 336 bytes
.../tiny_mce/plugins/emotions/img/smiley-kiss.gif | Bin 0 -> 338 bytes
.../plugins/emotions/img/smiley-laughing.gif | Bin 0 -> 344 bytes
.../plugins/emotions/img/smiley-money-mouth.gif | Bin 0 -> 321 bytes
.../plugins/emotions/img/smiley-sealed.gif | Bin 0 -> 325 bytes
.../tiny_mce/plugins/emotions/img/smiley-smile.gif | Bin 0 -> 345 bytes
.../plugins/emotions/img/smiley-surprised.gif | Bin 0 -> 342 bytes
.../plugins/emotions/img/smiley-tongue-out.gif | Bin 0 -> 328 bytes
.../plugins/emotions/img/smiley-undecided.gif | Bin 0 -> 337 bytes
.../tiny_mce/plugins/emotions/img/smiley-wink.gif | Bin 0 -> 351 bytes
.../tiny_mce/plugins/emotions/img/smiley-yell.gif | Bin 0 -> 336 bytes
.../tiny_mce/plugins/emotions/js/emotions.js | 22 +
.../tiny_mce/plugins/emotions/langs/en_dlg.js | 20 +
.../jscripts/tiny_mce/plugins/example/dialog.htm | 27 +
.../tiny_mce/plugins/example/editor_plugin.js | 1 +
.../tiny_mce/plugins/example/editor_plugin_src.js | 81 ++
.../tiny_mce/plugins/example/img/example.gif | Bin 0 -> 87 bytes
.../jscripts/tiny_mce/plugins/example/js/dialog.js | 19 +
.../jscripts/tiny_mce/plugins/example/langs/en.js | 3 +
.../tiny_mce/plugins/example/langs/en_dlg.js | 3 +
.../tiny_mce/plugins/fullpage/css/fullpage.css | 182 ++++
.../tiny_mce/plugins/fullpage/editor_plugin.js | 1 +
.../tiny_mce/plugins/fullpage/editor_plugin_src.js | 140 +++
.../tiny_mce/plugins/fullpage/fullpage.htm | 577 ++++++++++
.../tiny_mce/plugins/fullpage/js/fullpage.js | 462 ++++++++
.../tiny_mce/plugins/fullpage/langs/en_dlg.js | 85 ++
.../tiny_mce/plugins/fullscreen/editor_plugin.js | 1 +
.../plugins/fullscreen/editor_plugin_src.js | 141 +++
.../tiny_mce/plugins/fullscreen/fullscreen.htm | 111 ++
.../tiny_mce/plugins/iespell/editor_plugin.js | 1 +
.../tiny_mce/plugins/iespell/editor_plugin_src.js | 51 +
.../tiny_mce/plugins/inlinepopups/editor_plugin.js | 1 +
.../plugins/inlinepopups/editor_plugin_src.js | 623 +++++++++++
.../inlinepopups/skins/clearlooks2/img/alert.gif | Bin 0 -> 818 bytes
.../inlinepopups/skins/clearlooks2/img/button.gif | Bin 0 -> 280 bytes
.../inlinepopups/skins/clearlooks2/img/buttons.gif | Bin 0 -> 1195 bytes
.../inlinepopups/skins/clearlooks2/img/confirm.gif | Bin 0 -> 915 bytes
.../inlinepopups/skins/clearlooks2/img/corners.gif | Bin 0 -> 911 bytes
.../skins/clearlooks2/img/horizontal.gif | Bin 0 -> 769 bytes
.../skins/clearlooks2/img/vertical.gif | Bin 0 -> 92 bytes
.../inlinepopups/skins/clearlooks2/window.css | 90 ++
.../tiny_mce/plugins/inlinepopups/template.htm | 387 +++++++
.../plugins/insertdatetime/editor_plugin.js | 1 +
.../plugins/insertdatetime/editor_plugin_src.js | 80 ++
.../tiny_mce/plugins/layer/editor_plugin.js | 1 +
.../tiny_mce/plugins/layer/editor_plugin_src.js | 209 ++++
.../tiny_mce/plugins/media/css/content.css | 6 +
.../jscripts/tiny_mce/plugins/media/css/media.css | 16 +
.../tiny_mce/plugins/media/editor_plugin.js | 1 +
.../tiny_mce/plugins/media/editor_plugin_src.js | 365 +++++++
.../jscripts/tiny_mce/plugins/media/img/flash.gif | Bin 0 -> 241 bytes
.../tiny_mce/plugins/media/img/flv_player.swf | Bin 0 -> 11668 bytes
.../tiny_mce/plugins/media/img/quicktime.gif | Bin 0 -> 303 bytes
.../tiny_mce/plugins/media/img/realmedia.gif | Bin 0 -> 439 bytes
.../tiny_mce/plugins/media/img/shockwave.gif | Bin 0 -> 387 bytes
.../jscripts/tiny_mce/plugins/media/img/trans.gif | Bin 0 -> 43 bytes
.../tiny_mce/plugins/media/img/windowsmedia.gif | Bin 0 -> 415 bytes
.../jscripts/tiny_mce/plugins/media/js/embed.js | 73 ++
.../jscripts/tiny_mce/plugins/media/js/media.js | 628 +++++++++++
.../tiny_mce/plugins/media/langs/en_dlg.js | 103 ++
.../jscripts/tiny_mce/plugins/media/media.htm | 824 +++++++++++++++
.../tiny_mce/plugins/nonbreaking/editor_plugin.js | 1 +
.../plugins/nonbreaking/editor_plugin_src.js | 50 +
.../tiny_mce/plugins/noneditable/editor_plugin.js | 1 +
.../plugins/noneditable/editor_plugin_src.js | 87 ++
.../tiny_mce/plugins/pagebreak/css/content.css | 1 +
.../tiny_mce/plugins/pagebreak/editor_plugin.js | 1 +
.../plugins/pagebreak/editor_plugin_src.js | 74 ++
.../tiny_mce/plugins/pagebreak/img/pagebreak.gif | Bin 0 -> 325 bytes
.../tiny_mce/plugins/pagebreak/img/trans.gif | Bin 0 -> 43 bytes
.../jscripts/tiny_mce/plugins/paste/blank.htm | 22 +
.../jscripts/tiny_mce/plugins/paste/css/blank.css | 14 +
.../tiny_mce/plugins/paste/css/pasteword.css | 3 +
.../tiny_mce/plugins/paste/editor_plugin.js | 1 +
.../tiny_mce/plugins/paste/editor_plugin_src.js | 389 +++++++
.../tiny_mce/plugins/paste/js/pastetext.js | 42 +
.../tiny_mce/plugins/paste/js/pasteword.js | 56 +
.../tiny_mce/plugins/paste/langs/en_dlg.js | 5 +
.../jscripts/tiny_mce/plugins/paste/pastetext.htm | 34 +
.../jscripts/tiny_mce/plugins/paste/pasteword.htm | 29 +
.../tiny_mce/plugins/preview/editor_plugin.js | 1 +
.../tiny_mce/plugins/preview/editor_plugin_src.js | 187 ++++
.../jscripts/tiny_mce/plugins/preview/example.html | 28 +
.../tiny_mce/plugins/preview/jscripts/embed.js | 73 ++
.../tiny_mce/plugins/print/editor_plugin.js | 1 +
.../tiny_mce/plugins/print/editor_plugin_src.js | 31 +
.../jscripts/tiny_mce/plugins/safari/blank.htm | 1 +
.../tiny_mce/plugins/safari/editor_plugin.js | 1 +
.../tiny_mce/plugins/safari/editor_plugin_src.js | 460 ++++++++
.../tiny_mce/plugins/save/editor_plugin.js | 1 +
.../tiny_mce/plugins/save/editor_plugin_src.js | 98 ++
.../plugins/searchreplace/css/searchreplace.css | 6 +
.../plugins/searchreplace/editor_plugin.js | 1 +
.../plugins/searchreplace/editor_plugin_src.js | 54 +
.../plugins/searchreplace/js/searchreplace.js | 117 ++
.../tiny_mce/plugins/searchreplace/langs/en_dlg.js | 16 +
.../plugins/searchreplace/searchreplace.htm | 105 ++
.../tiny_mce/plugins/spellchecker/css/content.css | 1 +
.../tiny_mce/plugins/spellchecker/editor_plugin.js | 1 +
.../plugins/spellchecker/editor_plugin_src.js | 338 ++++++
.../tiny_mce/plugins/spellchecker/img/wline.gif | Bin 0 -> 46 bytes
.../jscripts/tiny_mce/plugins/style/css/props.css | 13 +
.../tiny_mce/plugins/style/editor_plugin.js | 1 +
.../tiny_mce/plugins/style/editor_plugin_src.js | 52 +
.../jscripts/tiny_mce/plugins/style/js/props.js | 641 +++++++++++
.../tiny_mce/plugins/style/langs/en_dlg.js | 63 ++
.../jscripts/tiny_mce/plugins/style/props.htm | 731 +++++++++++++
.../jscripts/tiny_mce/plugins/table/cell.htm | 184 ++++
.../jscripts/tiny_mce/plugins/table/css/cell.css | 17 +
.../jscripts/tiny_mce/plugins/table/css/row.css | 25 +
.../jscripts/tiny_mce/plugins/table/css/table.css | 13 +
.../tiny_mce/plugins/table/editor_plugin.js | 1 +
.../tiny_mce/plugins/table/editor_plugin_src.js | 1115 ++++++++++++++++++++
.../jscripts/tiny_mce/plugins/table/js/cell.js | 259 +++++
.../tiny_mce/plugins/table/js/merge_cells.js | 29 +
.../jscripts/tiny_mce/plugins/table/js/row.js | 212 ++++
.../jscripts/tiny_mce/plugins/table/js/table.js | 410 +++++++
.../tiny_mce/plugins/table/langs/en_dlg.js | 74 ++
.../tiny_mce/plugins/table/merge_cells.htm | 38 +
.../jscripts/tiny_mce/plugins/table/row.htm | 161 +++
.../jscripts/tiny_mce/plugins/table/table.htm | 193 ++++
.../jscripts/tiny_mce/plugins/template/blank.htm | 12 +
.../tiny_mce/plugins/template/css/template.css | 23 +
.../tiny_mce/plugins/template/editor_plugin.js | 1 +
.../tiny_mce/plugins/template/editor_plugin_src.js | 156 +++
.../tiny_mce/plugins/template/js/template.js | 106 ++
.../tiny_mce/plugins/template/langs/en_dlg.js | 15 +
.../tiny_mce/plugins/template/template.htm | 39 +
.../tiny_mce/plugins/visualchars/editor_plugin.js | 1 +
.../plugins/visualchars/editor_plugin_src.js | 73 ++
.../jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm | 149 +++
.../tiny_mce/plugins/xhtmlxtras/acronym.htm | 149 +++
.../tiny_mce/plugins/xhtmlxtras/attributes.htm | 154 +++
.../jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm | 149 +++
.../tiny_mce/plugins/xhtmlxtras/css/attributes.css | 11 +
.../tiny_mce/plugins/xhtmlxtras/css/popup.css | 9 +
.../jscripts/tiny_mce/plugins/xhtmlxtras/del.htm | 170 +++
.../tiny_mce/plugins/xhtmlxtras/editor_plugin.js | 1 +
.../plugins/xhtmlxtras/editor_plugin_src.js | 134 +++
.../jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm | 170 +++
.../tiny_mce/plugins/xhtmlxtras/js/abbr.js | 25 +
.../tiny_mce/plugins/xhtmlxtras/js/acronym.js | 25 +
.../tiny_mce/plugins/xhtmlxtras/js/attributes.js | 123 +++
.../tiny_mce/plugins/xhtmlxtras/js/cite.js | 25 +
.../jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js | 50 +
.../plugins/xhtmlxtras/js/element_common.js | 221 ++++
.../jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js | 49 +
.../tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js | 32 +
185 files changed, 16956 insertions(+)
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/compat2x/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/compat2x/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/directionality/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/emotions.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/fullpage.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/js/fullpage.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullscreen/fullscreen.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/iespell/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/inlinepopups/template.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/layer/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/content.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/css/media.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/flash.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/flv_player.swf
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/quicktime.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/realmedia.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/shockwave.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/trans.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/img/windowsmedia.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/embed.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/js/media.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/media/media.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/noneditable/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/css/content.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/pagebreak/img/trans.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/blank.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/css/blank.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/css/pasteword.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/pastetext.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/js/pasteword.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/pastetext.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/paste/pasteword.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/example.html
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/preview/jscripts/embed.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/print/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/safari/blank.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/safari/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/safari/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/save/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/css/searchreplace.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/js/searchreplace.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/searchreplace/searchreplace.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/css/content.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/spellchecker/img/wline.gif
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/css/props.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/js/props.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/style/props.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/cell.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/cell.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/row.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/css/table.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/cell.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/merge_cells.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/row.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/js/table.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/merge_cells.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/row.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/table/table.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/blank.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/css/template.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/js/template.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/langs/en_dlg.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/template/template.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/visualchars/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/abbr.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/acronym.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/attributes.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/cite.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/css/popup.css
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/del.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/ins.htm
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/cite.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/del.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/js/ins.js
create mode 100644 mod/tinymce/tinymce/jscripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js
(limited to 'mod/tinymce/tinymce/jscripts/tiny_mce/plugins')
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css
new file mode 100644
index 000000000..3fe369cb0
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/css/advhr.css
@@ -0,0 +1,5 @@
+input.radio {border:1px none #000; background:transparent; vertical-align:middle;}
+.panel_wrapper div.current {height:80px;}
+#width {width:50px; vertical-align:middle;}
+#width2 {width:50px; vertical-align:middle;}
+#size {width:100px;}
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
new file mode 100644
index 000000000..f3350043f
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedHRPlugin',{init:function(ed,url){ed.addCommand('mceAdvancedHr',function(){ed.windowManager.open({file:url+'/rule.htm',width:250+parseInt(ed.getLang('advhr.delta_width',0)),height:160+parseInt(ed.getLang('advhr.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('advhr',{title:'advhr.advhr_desc',cmd:'mceAdvancedHr'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('advhr',n.nodeName=='HR');});ed.onClick.add(function(ed,e){e=e.target;if(e.nodeName==='HR')ed.selection.select(e);});},getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advhr',tinymce.plugins.AdvancedHRPlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
new file mode 100644
index 000000000..bd0adf1ab
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/editor_plugin_src.js
@@ -0,0 +1,54 @@
+/**
+ * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedHRPlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvancedHr', function() {
+ ed.windowManager.open({
+ file : url + '/rule.htm',
+ width : 250 + parseInt(ed.getLang('advhr.delta_width', 0)),
+ height : 160 + parseInt(ed.getLang('advhr.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('advhr', {
+ title : 'advhr.advhr_desc',
+ cmd : 'mceAdvancedHr'
+ });
+
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('advhr', n.nodeName == 'HR');
+ });
+
+ ed.onClick.add(function(ed, e) {
+ e = e.target;
+
+ if (e.nodeName === 'HR')
+ ed.selection.select(e);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced HR',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advhr',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advhr', tinymce.plugins.AdvancedHRPlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js
new file mode 100644
index 000000000..a60c35fc3
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/js/rule.js
@@ -0,0 +1,43 @@
+var AdvHRDialog = {
+ init : function(ed) {
+ var dom = ed.dom, f = document.forms[0], n = ed.selection.getNode(), w;
+
+ w = dom.getAttrib(n, 'width');
+ f.width.value = w ? parseInt(w) : (dom.getStyle('width') || '');
+ f.size.value = dom.getAttrib(n, 'size') || parseInt(dom.getStyle('height')) || '';
+ f.noshade.checked = !!dom.getAttrib(n, 'noshade') || !!dom.getStyle('border-width');
+ selectByValue(f, 'width2', w.indexOf('%') != -1 ? '%' : 'px');
+ },
+
+ update : function() {
+ var ed = tinyMCEPopup.editor, h, f = document.forms[0], st = '';
+
+ h = '
';
+
+ ed.execCommand("mceInsertContent", false, h);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.requireLangPack();
+tinyMCEPopup.onInit.add(AdvHRDialog.init, AdvHRDialog);
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js
new file mode 100644
index 000000000..eec74dbd4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/langs/en_dlg.js
@@ -0,0 +1,5 @@
+tinyMCE.addI18n('en.advhr_dlg',{
+width:"Width",
+size:"Height",
+noshade:"No shadow"
+});
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
new file mode 100644
index 000000000..8f20f7fa8
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advhr/rule.htm
@@ -0,0 +1,63 @@
+
+
+
+ {#advhr.advhr_desc}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css
new file mode 100644
index 000000000..228530f9e
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/css/advimage.css
@@ -0,0 +1,13 @@
+#src_list, #over_list, #out_list {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.alignPreview {border:1px solid #000; width:140px; height:140px; overflow:hidden; padding:5px;}
+.checkbox {border:0;}
+.panel_wrapper div.current {height:305px;}
+#prev {margin:0; border:1px solid #000; width:428px; height:150px; overflow:auto;}
+#align, #classlist {width:150px;}
+#width, #height {vertical-align:middle; width:50px; text-align:center;}
+#vspace, #hspace, #border {vertical-align:middle; width:30px; text-align:center;}
+#class_list {width:180px;}
+input {width: 280px;}
+#constrain, #onmousemovecheck {width:auto;}
+#id, #dir, #lang, #usemap, #longdesc {width:200px;}
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
new file mode 100644
index 000000000..3af50573e
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedImagePlugin',{init:function(ed,url){ed.addCommand('mceAdvImage',function(){if(ed.dom.getAttrib(ed.selection.getNode(),'class').indexOf('mceItem')!=-1)return;ed.windowManager.open({file:url+'/image.htm',width:480+parseInt(ed.getLang('advimage.delta_width',0)),height:385+parseInt(ed.getLang('advimage.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('image',{title:'advimage.image_desc',cmd:'mceAdvImage'});},getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advimage',tinymce.plugins.AdvancedImagePlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
new file mode 100644
index 000000000..259a076d8
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/editor_plugin_src.js
@@ -0,0 +1,47 @@
+/**
+ * $Id: editor_plugin_src.js 677 2008-03-07 13:52:41Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedImagePlugin', {
+ init : function(ed, url) {
+ // Register commands
+ ed.addCommand('mceAdvImage', function() {
+ // Internal image object like a flash placeholder
+ if (ed.dom.getAttrib(ed.selection.getNode(), 'class').indexOf('mceItem') != -1)
+ return;
+
+ ed.windowManager.open({
+ file : url + '/image.htm',
+ width : 480 + parseInt(ed.getLang('advimage.delta_width', 0)),
+ height : 385 + parseInt(ed.getLang('advimage.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('image', {
+ title : 'advimage.image_desc',
+ cmd : 'mceAdvImage'
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced image',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advimage',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advimage', tinymce.plugins.AdvancedImagePlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
new file mode 100644
index 000000000..dd84083f4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/image.htm
@@ -0,0 +1,238 @@
+
+
+
+ {#advimage_dlg.dialog_title}
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif
new file mode 100644
index 000000000..53bf6890b
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/img/sample.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js
new file mode 100644
index 000000000..1d19ce81b
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/js/image.js
@@ -0,0 +1,441 @@
+var ImageDialog = {
+ preInit : function() {
+ var url;
+
+ tinyMCEPopup.requireLangPack();
+
+ if (url = tinyMCEPopup.getParam("external_image_list_url"))
+ document.write('');
+ },
+
+ init : function(ed) {
+ var f = document.forms[0], nl = f.elements, ed = tinyMCEPopup.editor, dom = ed.dom, n = ed.selection.getNode();
+
+ tinyMCEPopup.resizeToInnerSize();
+ this.fillClassList('class_list');
+ this.fillFileList('src_list', 'tinyMCEImageList');
+ this.fillFileList('over_list', 'tinyMCEImageList');
+ this.fillFileList('out_list', 'tinyMCEImageList');
+ TinyMCE_EditableSelects.init();
+
+ if (n.nodeName == 'IMG') {
+ nl.src.value = dom.getAttrib(n, 'src');
+ nl.width.value = dom.getAttrib(n, 'width');
+ nl.height.value = dom.getAttrib(n, 'height');
+ nl.alt.value = dom.getAttrib(n, 'alt');
+ nl.title.value = dom.getAttrib(n, 'title');
+ nl.vspace.value = this.getAttrib(n, 'vspace');
+ nl.hspace.value = this.getAttrib(n, 'hspace');
+ nl.border.value = this.getAttrib(n, 'border');
+ selectByValue(f, 'align', this.getAttrib(n, 'align'));
+ selectByValue(f, 'class_list', dom.getAttrib(n, 'class'), true, true);
+ nl.style.value = dom.getAttrib(n, 'style');
+ nl.id.value = dom.getAttrib(n, 'id');
+ nl.dir.value = dom.getAttrib(n, 'dir');
+ nl.lang.value = dom.getAttrib(n, 'lang');
+ nl.usemap.value = dom.getAttrib(n, 'usemap');
+ nl.longdesc.value = dom.getAttrib(n, 'longdesc');
+ nl.insert.value = ed.getLang('update');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseover')))
+ nl.onmouseoversrc.value = dom.getAttrib(n, 'onmouseover').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/.test(dom.getAttrib(n, 'onmouseout')))
+ nl.onmouseoutsrc.value = dom.getAttrib(n, 'onmouseout').replace(/^\s*this.src\s*=\s*\'([^\']+)\';?\s*$/, '$1');
+
+ if (ed.settings.inline_styles) {
+ // Move attribs to styles
+ if (dom.getAttrib(n, 'align'))
+ this.updateStyle('align');
+
+ if (dom.getAttrib(n, 'hspace'))
+ this.updateStyle('hspace');
+
+ if (dom.getAttrib(n, 'border'))
+ this.updateStyle('border');
+
+ if (dom.getAttrib(n, 'vspace'))
+ this.updateStyle('vspace');
+ }
+ }
+
+ // Setup browse button
+ document.getElementById('srcbrowsercontainer').innerHTML = getBrowserHTML('srcbrowser','src','image','theme_advanced_image');
+ if (isVisible('srcbrowser'))
+ document.getElementById('src').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoversrccontainer').innerHTML = getBrowserHTML('overbrowser','onmouseoversrc','image','theme_advanced_image');
+ if (isVisible('overbrowser'))
+ document.getElementById('onmouseoversrc').style.width = '260px';
+
+ // Setup browse button
+ document.getElementById('onmouseoutsrccontainer').innerHTML = getBrowserHTML('outbrowser','onmouseoutsrc','image','theme_advanced_image');
+ if (isVisible('outbrowser'))
+ document.getElementById('onmouseoutsrc').style.width = '260px';
+
+ // If option enabled default contrain proportions to checked
+ if (ed.getParam("advimage_constrain_proportions", true))
+ f.constrain.checked = true;
+
+ // Check swap image if valid data
+ if (nl.onmouseoversrc.value || nl.onmouseoutsrc.value)
+ this.setSwapImage(true);
+ else
+ this.setSwapImage(false);
+
+ this.changeAppearance();
+ this.showPreviewImage(nl.src.value, 1);
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, t = this, f = document.forms[0];
+
+ if (f.src.value === '') {
+ if (ed.selection.getNode().nodeName == 'IMG') {
+ ed.dom.remove(ed.selection.getNode());
+ ed.execCommand('mceRepaint');
+ }
+
+ tinyMCEPopup.close();
+ return;
+ }
+
+ if (tinyMCEPopup.getParam("accessibility_warnings", 1)) {
+ if (!f.alt.value) {
+ tinyMCEPopup.editor.windowManager.confirm(tinyMCEPopup.getLang('advimage_dlg.missing_alt'), function(s) {
+ if (s)
+ t.insertAndClose();
+ });
+
+ return;
+ }
+ }
+
+ t.insertAndClose();
+ },
+
+ insertAndClose : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], nl = f.elements, v, args = {}, el;
+
+ tinyMCEPopup.restoreSelection();
+
+ // Fixes crash in Safari
+ if (tinymce.isWebKit)
+ ed.getWin().focus();
+
+ if (!ed.settings.inline_styles) {
+ args = {
+ vspace : nl.vspace.value,
+ hspace : nl.hspace.value,
+ border : nl.border.value,
+ align : getSelectValue(f, 'align')
+ };
+ } else {
+ // Remove deprecated values
+ args = {
+ vspace : '',
+ hspace : '',
+ border : '',
+ align : ''
+ };
+ }
+
+ tinymce.extend(args, {
+ src : nl.src.value,
+ width : nl.width.value,
+ height : nl.height.value,
+ alt : nl.alt.value,
+ title : nl.title.value,
+ 'class' : getSelectValue(f, 'class_list'),
+ style : nl.style.value,
+ id : nl.id.value,
+ dir : nl.dir.value,
+ lang : nl.lang.value,
+ usemap : nl.usemap.value,
+ longdesc : nl.longdesc.value
+ });
+
+ args.onmouseover = args.onmouseout = '';
+
+ if (f.onmousemovecheck.checked) {
+ if (nl.onmouseoversrc.value)
+ args.onmouseover = "this.src='" + nl.onmouseoversrc.value + "';";
+
+ if (nl.onmouseoutsrc.value)
+ args.onmouseout = "this.src='" + nl.onmouseoutsrc.value + "';";
+ }
+
+ el = ed.selection.getNode();
+
+ if (el && el.nodeName == 'IMG') {
+ ed.dom.setAttribs(el, args);
+ } else {
+ ed.execCommand('mceInsertContent', false, '
', {skip_undo : 1});
+ ed.dom.setAttribs('__mce_tmp', args);
+ ed.dom.setAttrib('__mce_tmp', 'id', '');
+ ed.undoManager.add();
+ }
+
+ tinyMCEPopup.close();
+ },
+
+ getAttrib : function(e, at) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom, v, v2;
+
+ if (ed.settings.inline_styles) {
+ switch (at) {
+ case 'align':
+ if (v = dom.getStyle(e, 'float'))
+ return v;
+
+ if (v = dom.getStyle(e, 'vertical-align'))
+ return v;
+
+ break;
+
+ case 'hspace':
+ v = dom.getStyle(e, 'margin-left')
+ v2 = dom.getStyle(e, 'margin-right');
+
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'vspace':
+ v = dom.getStyle(e, 'margin-top')
+ v2 = dom.getStyle(e, 'margin-bottom');
+ if (v && v == v2)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+
+ case 'border':
+ v = 0;
+
+ tinymce.each(['top', 'right', 'bottom', 'left'], function(sv) {
+ sv = dom.getStyle(e, 'border-' + sv + '-width');
+
+ // False or not the same as prev
+ if (!sv || (sv != v && v !== 0)) {
+ v = 0;
+ return false;
+ }
+
+ if (sv)
+ v = sv;
+ });
+
+ if (v)
+ return parseInt(v.replace(/[^0-9]/g, ''));
+
+ break;
+ }
+ }
+
+ if (v = dom.getAttrib(e, at))
+ return v;
+
+ return '';
+ },
+
+ setSwapImage : function(st) {
+ var f = document.forms[0];
+
+ f.onmousemovecheck.checked = st;
+ setBrowserDisabled('overbrowser', !st);
+ setBrowserDisabled('outbrowser', !st);
+
+ if (f.over_list)
+ f.over_list.disabled = !st;
+
+ if (f.out_list)
+ f.out_list.disabled = !st;
+
+ f.onmouseoversrc.disabled = !st;
+ f.onmouseoutsrc.disabled = !st;
+ },
+
+ fillClassList : function(id) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ if (v = tinyMCEPopup.getParam('theme_advanced_styles')) {
+ cl = [];
+
+ tinymce.each(v.split(';'), function(v) {
+ var p = v.split('=');
+
+ cl.push({'title' : p[0], 'class' : p[1]});
+ });
+ } else
+ cl = tinyMCEPopup.editor.dom.getClasses();
+
+ if (cl.length > 0) {
+ lst.options[lst.options.length] = new Option(tinyMCEPopup.getLang('not_set'), '');
+
+ tinymce.each(cl, function(o) {
+ lst.options[lst.options.length] = new Option(o.title || o['class'], o['class']);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ fillFileList : function(id, l) {
+ var dom = tinyMCEPopup.dom, lst = dom.get(id), v, cl;
+
+ l = window[l];
+
+ if (l && l.length > 0) {
+ lst.options[lst.options.length] = new Option('', '');
+
+ tinymce.each(l, function(o) {
+ lst.options[lst.options.length] = new Option(o[0], o[1]);
+ });
+ } else
+ dom.remove(dom.getParent(id, 'tr'));
+ },
+
+ resetImageData : function() {
+ var f = document.forms[0];
+
+ f.elements.width.value = f.elements.height.value = '';
+ },
+
+ updateImageData : function(img, st) {
+ var f = document.forms[0];
+
+ if (!st) {
+ f.elements.width.value = img.width;
+ f.elements.height.value = img.height;
+ }
+
+ this.preloadImg = img;
+ },
+
+ changeAppearance : function() {
+ var ed = tinyMCEPopup.editor, f = document.forms[0], img = document.getElementById('alignSampleImg');
+
+ if (img) {
+ if (ed.getParam('inline_styles')) {
+ ed.dom.setAttrib(img, 'style', f.style.value);
+ } else {
+ img.align = f.align.value;
+ img.border = f.border.value;
+ img.hspace = f.hspace.value;
+ img.vspace = f.vspace.value;
+ }
+ }
+ },
+
+ changeHeight : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.width.value) / parseInt(t.preloadImg.width)) * t.preloadImg.height;
+ f.height.value = tp.toFixed(0);
+ },
+
+ changeWidth : function() {
+ var f = document.forms[0], tp, t = this;
+
+ if (!f.constrain.checked || !t.preloadImg) {
+ return;
+ }
+
+ if (f.width.value == "" || f.height.value == "")
+ return;
+
+ tp = (parseInt(f.height.value) / parseInt(t.preloadImg.height)) * t.preloadImg.width;
+ f.width.value = tp.toFixed(0);
+ },
+
+ updateStyle : function(ty) {
+ var dom = tinyMCEPopup.dom, st, v, f = document.forms[0], img = dom.create('img', {style : dom.get('style').value});
+
+ if (tinyMCEPopup.editor.settings.inline_styles) {
+ // Handle align
+ if (ty == 'align') {
+ dom.setStyle(img, 'float', '');
+ dom.setStyle(img, 'vertical-align', '');
+
+ v = getSelectValue(f, 'align');
+ if (v) {
+ if (v == 'left' || v == 'right')
+ dom.setStyle(img, 'float', v);
+ else
+ img.style.verticalAlign = v;
+ }
+ }
+
+ // Handle border
+ if (ty == 'border') {
+ dom.setStyle(img, 'border', '');
+
+ v = f.border.value;
+ if (v || v == '0') {
+ if (v == '0')
+ img.style.border = '0';
+ else
+ img.style.border = v + 'px solid black';
+ }
+ }
+
+ // Handle hspace
+ if (ty == 'hspace') {
+ dom.setStyle(img, 'marginLeft', '');
+ dom.setStyle(img, 'marginRight', '');
+
+ v = f.hspace.value;
+ if (v) {
+ img.style.marginLeft = v + 'px';
+ img.style.marginRight = v + 'px';
+ }
+ }
+
+ // Handle vspace
+ if (ty == 'vspace') {
+ dom.setStyle(img, 'marginTop', '');
+ dom.setStyle(img, 'marginBottom', '');
+
+ v = f.vspace.value;
+ if (v) {
+ img.style.marginTop = v + 'px';
+ img.style.marginBottom = v + 'px';
+ }
+ }
+
+ // Merge
+ dom.get('style').value = dom.serializeStyle(dom.parseStyle(img.style.cssText));
+ }
+ },
+
+ changeMouseMove : function() {
+ },
+
+ showPreviewImage : function(u, st) {
+ if (!u) {
+ tinyMCEPopup.dom.setHTML('prev', '');
+ return;
+ }
+
+ if (!st && tinyMCEPopup.getParam("advimage_update_dimensions_onchange", true))
+ this.resetImageData();
+
+ u = tinyMCEPopup.editor.documentBaseURI.toAbsolute(u);
+
+ if (!st)
+ tinyMCEPopup.dom.setHTML('prev', '
');
+ else
+ tinyMCEPopup.dom.setHTML('prev', '
');
+ }
+};
+
+ImageDialog.preInit();
+tinyMCEPopup.onInit.add(ImageDialog.init, ImageDialog);
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js
new file mode 100644
index 000000000..ef81f78b4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advimage/langs/en_dlg.js
@@ -0,0 +1,43 @@
+tinyMCE.addI18n('en.advimage_dlg',{
+tab_general:"General",
+tab_appearance:"Appearance",
+tab_advanced:"Advanced",
+general:"General",
+title:"Title",
+preview:"Preview",
+constrain_proportions:"Constrain proportions",
+langdir:"Language direction",
+langcode:"Language code",
+long_desc:"Long description link",
+style:"Style",
+classes:"Classes",
+ltr:"Left to right",
+rtl:"Right to left",
+id:"Id",
+map:"Image map",
+swap_image:"Swap image",
+alt_image:"Alternative image",
+mouseover:"for mouse over",
+mouseout:"for mouse out",
+misc:"Miscellaneous",
+example_img:"Appearance preview image",
+missing_alt:"Are you sure you want to continue without including an Image Description? Without it the image may not be accessible to some users with disabilities, or to those using a text browser, or browsing the Web with images turned off.",
+dialog_title:"Insert/edit image",
+src:"Image URL",
+alt:"Image description",
+list:"Image list",
+border:"Border",
+dimensions:"Dimensions",
+vspace:"Vertical space",
+hspace:"Horizontal space",
+align:"Alignment",
+align_baseline:"Baseline",
+align_top:"Top",
+align_middle:"Middle",
+align_bottom:"Bottom",
+align_texttop:"Text top",
+align_textbottom:"Text bottom",
+align_left:"Left",
+align_right:"Right",
+image_list:"Image list"
+});
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css
new file mode 100644
index 000000000..66c654935
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/css/advlink.css
@@ -0,0 +1,8 @@
+.mceLinkList, .mceAnchorList, #targetlist {width:280px;}
+.mceActionPanel {margin-top:7px;}
+.panel_wrapper div.current {height:320px;}
+#classlist, #title, #href {width:280px;}
+#popupurl, #popupname {width:200px;}
+#popupwidth, #popupheight, #popupleft, #popuptop {width:30px;vertical-align:middle;text-align:center;}
+#id, #style, #classes, #target, #dir, #hreflang, #lang, #charset, #type, #rel, #rev, #tabindex, #accesskey {width:200px;}
+#events_panel input {width:200px;}
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
new file mode 100644
index 000000000..4899f7b8c
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AdvancedLinkPlugin',{init:function(ed,url){this.editor=ed;ed.addCommand('mceAdvLink',function(){var se=ed.selection;if(se.isCollapsed()&&!ed.dom.getParent(se.getNode(),'A'))return;ed.windowManager.open({file:url+'/link.htm',width:480+parseInt(ed.getLang('advlink.delta_width',0)),height:400+parseInt(ed.getLang('advlink.delta_height',0)),inline:1},{plugin_url:url});});ed.addButton('link',{title:'advlink.link_desc',cmd:'mceAdvLink'});ed.addShortcut('ctrl+k','advlink.advlink_desc','mceAdvLink');ed.onNodeChange.add(function(ed,cm,n,co){cm.setDisabled('link',co&&n.nodeName!='A');cm.setActive('link',n.nodeName=='A'&&!n.name);});},getInfo:function(){return{longname:'Advanced link',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',version:tinymce.majorVersion+"."+tinymce.minorVersion};}});tinymce.PluginManager.add('advlink',tinymce.plugins.AdvancedLinkPlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
new file mode 100644
index 000000000..7081e7242
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/editor_plugin_src.js
@@ -0,0 +1,58 @@
+/**
+ * $Id: editor_plugin_src.js 539 2008-01-14 19:08:58Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AdvancedLinkPlugin', {
+ init : function(ed, url) {
+ this.editor = ed;
+
+ // Register commands
+ ed.addCommand('mceAdvLink', function() {
+ var se = ed.selection;
+
+ // No selection and not in link
+ if (se.isCollapsed() && !ed.dom.getParent(se.getNode(), 'A'))
+ return;
+
+ ed.windowManager.open({
+ file : url + '/link.htm',
+ width : 480 + parseInt(ed.getLang('advlink.delta_width', 0)),
+ height : 400 + parseInt(ed.getLang('advlink.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url
+ });
+ });
+
+ // Register buttons
+ ed.addButton('link', {
+ title : 'advlink.link_desc',
+ cmd : 'mceAdvLink'
+ });
+
+ ed.addShortcut('ctrl+k', 'advlink.advlink_desc', 'mceAdvLink');
+
+ ed.onNodeChange.add(function(ed, cm, n, co) {
+ cm.setDisabled('link', co && n.nodeName != 'A');
+ cm.setActive('link', n.nodeName == 'A' && !n.name);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Advanced link',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/advlink',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('advlink', tinymce.plugins.AdvancedLinkPlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js
new file mode 100644
index 000000000..6ca8fc69f
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/js/advlink.js
@@ -0,0 +1,528 @@
+/* Functions for the advlink plugin popup */
+
+tinyMCEPopup.requireLangPack();
+
+var templates = {
+ "window.open" : "window.open('${url}','${target}','${options}')"
+};
+
+function preinit() {
+ var url;
+
+ if (url = tinyMCEPopup.getParam("external_link_list_url"))
+ document.write('');
+}
+
+function changeClass() {
+ var f = document.forms[0];
+
+ f.classes.value = getSelectValue(f, 'classlist');
+}
+
+function init() {
+ tinyMCEPopup.resizeToInnerSize();
+
+ var formObj = document.forms[0];
+ var inst = tinyMCEPopup.editor;
+ var elm = inst.selection.getNode();
+ var action = "insert";
+ var html;
+
+ document.getElementById('hrefbrowsercontainer').innerHTML = getBrowserHTML('hrefbrowser','href','file','advlink');
+ document.getElementById('popupurlbrowsercontainer').innerHTML = getBrowserHTML('popupurlbrowser','popupurl','file','advlink');
+ document.getElementById('linklisthrefcontainer').innerHTML = getLinkListHTML('linklisthref','href');
+ document.getElementById('anchorlistcontainer').innerHTML = getAnchorListHTML('anchorlist','href');
+ document.getElementById('targetlistcontainer').innerHTML = getTargetListHTML('targetlist','target');
+
+ // Link list
+ html = getLinkListHTML('linklisthref','href');
+ if (html == "")
+ document.getElementById("linklisthrefrow").style.display = 'none';
+ else
+ document.getElementById("linklisthrefcontainer").innerHTML = html;
+
+ // Resize some elements
+ if (isVisible('hrefbrowser'))
+ document.getElementById('href').style.width = '260px';
+
+ if (isVisible('popupurlbrowser'))
+ document.getElementById('popupurl').style.width = '180px';
+
+ elm = inst.dom.getParent(elm, "A");
+ if (elm != null && elm.nodeName == "A")
+ action = "update";
+
+ formObj.insert.value = tinyMCEPopup.getLang(action, 'Insert', true);
+
+ setPopupControlsDisabled(true);
+
+ if (action == "update") {
+ var href = inst.dom.getAttrib(elm, 'href');
+ var onclick = inst.dom.getAttrib(elm, 'onclick');
+
+ // Setup form data
+ setFormValue('href', href);
+ setFormValue('title', inst.dom.getAttrib(elm, 'title'));
+ setFormValue('id', inst.dom.getAttrib(elm, 'id'));
+ setFormValue('style', inst.dom.getAttrib(elm, "style"));
+ setFormValue('rel', inst.dom.getAttrib(elm, 'rel'));
+ setFormValue('rev', inst.dom.getAttrib(elm, 'rev'));
+ setFormValue('charset', inst.dom.getAttrib(elm, 'charset'));
+ setFormValue('hreflang', inst.dom.getAttrib(elm, 'hreflang'));
+ setFormValue('dir', inst.dom.getAttrib(elm, 'dir'));
+ setFormValue('lang', inst.dom.getAttrib(elm, 'lang'));
+ setFormValue('tabindex', inst.dom.getAttrib(elm, 'tabindex', typeof(elm.tabindex) != "undefined" ? elm.tabindex : ""));
+ setFormValue('accesskey', inst.dom.getAttrib(elm, 'accesskey', typeof(elm.accesskey) != "undefined" ? elm.accesskey : ""));
+ setFormValue('type', inst.dom.getAttrib(elm, 'type'));
+ setFormValue('onfocus', inst.dom.getAttrib(elm, 'onfocus'));
+ setFormValue('onblur', inst.dom.getAttrib(elm, 'onblur'));
+ setFormValue('onclick', onclick);
+ setFormValue('ondblclick', inst.dom.getAttrib(elm, 'ondblclick'));
+ setFormValue('onmousedown', inst.dom.getAttrib(elm, 'onmousedown'));
+ setFormValue('onmouseup', inst.dom.getAttrib(elm, 'onmouseup'));
+ setFormValue('onmouseover', inst.dom.getAttrib(elm, 'onmouseover'));
+ setFormValue('onmousemove', inst.dom.getAttrib(elm, 'onmousemove'));
+ setFormValue('onmouseout', inst.dom.getAttrib(elm, 'onmouseout'));
+ setFormValue('onkeypress', inst.dom.getAttrib(elm, 'onkeypress'));
+ setFormValue('onkeydown', inst.dom.getAttrib(elm, 'onkeydown'));
+ setFormValue('onkeyup', inst.dom.getAttrib(elm, 'onkeyup'));
+ setFormValue('target', inst.dom.getAttrib(elm, 'target'));
+ setFormValue('classes', inst.dom.getAttrib(elm, 'class'));
+
+ // Parse onclick data
+ if (onclick != null && onclick.indexOf('window.open') != -1)
+ parseWindowOpen(onclick);
+ else
+ parseFunction(onclick);
+
+ // Select by the values
+ selectByValue(formObj, 'dir', inst.dom.getAttrib(elm, 'dir'));
+ selectByValue(formObj, 'rel', inst.dom.getAttrib(elm, 'rel'));
+ selectByValue(formObj, 'rev', inst.dom.getAttrib(elm, 'rev'));
+ selectByValue(formObj, 'linklisthref', href);
+
+ if (href.charAt(0) == '#')
+ selectByValue(formObj, 'anchorlist', href);
+
+ addClassesToList('classlist', 'advlink_styles');
+
+ selectByValue(formObj, 'classlist', inst.dom.getAttrib(elm, 'class'), true);
+ selectByValue(formObj, 'targetlist', inst.dom.getAttrib(elm, 'target'), true);
+ } else
+ addClassesToList('classlist', 'advlink_styles');
+}
+
+function checkPrefix(n) {
+ if (n.value && Validator.isEmail(n) && !/^\s*mailto:/i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_email')))
+ n.value = 'mailto:' + n.value;
+
+ if (/^\s*www./i.test(n.value) && confirm(tinyMCEPopup.getLang('advlink_dlg.is_external')))
+ n.value = 'http://' + n.value;
+}
+
+function setFormValue(name, value) {
+ document.forms[0].elements[name].value = value;
+}
+
+function parseWindowOpen(onclick) {
+ var formObj = document.forms[0];
+
+ // Preprocess center code
+ if (onclick.indexOf('return false;') != -1) {
+ formObj.popupreturn.checked = true;
+ onclick = onclick.replace('return false;', '');
+ } else
+ formObj.popupreturn.checked = false;
+
+ var onClickData = parseLink(onclick);
+
+ if (onClickData != null) {
+ formObj.ispopup.checked = true;
+ setPopupControlsDisabled(false);
+
+ var onClickWindowOptions = parseOptions(onClickData['options']);
+ var url = onClickData['url'];
+
+ formObj.popupname.value = onClickData['target'];
+ formObj.popupurl.value = url;
+ formObj.popupwidth.value = getOption(onClickWindowOptions, 'width');
+ formObj.popupheight.value = getOption(onClickWindowOptions, 'height');
+
+ formObj.popupleft.value = getOption(onClickWindowOptions, 'left');
+ formObj.popuptop.value = getOption(onClickWindowOptions, 'top');
+
+ if (formObj.popupleft.value.indexOf('screen') != -1)
+ formObj.popupleft.value = "c";
+
+ if (formObj.popuptop.value.indexOf('screen') != -1)
+ formObj.popuptop.value = "c";
+
+ formObj.popuplocation.checked = getOption(onClickWindowOptions, 'location') == "yes";
+ formObj.popupscrollbars.checked = getOption(onClickWindowOptions, 'scrollbars') == "yes";
+ formObj.popupmenubar.checked = getOption(onClickWindowOptions, 'menubar') == "yes";
+ formObj.popupresizable.checked = getOption(onClickWindowOptions, 'resizable') == "yes";
+ formObj.popuptoolbar.checked = getOption(onClickWindowOptions, 'toolbar') == "yes";
+ formObj.popupstatus.checked = getOption(onClickWindowOptions, 'status') == "yes";
+ formObj.popupdependent.checked = getOption(onClickWindowOptions, 'dependent') == "yes";
+
+ buildOnClick();
+ }
+}
+
+function parseFunction(onclick) {
+ var formObj = document.forms[0];
+ var onClickData = parseLink(onclick);
+
+ // TODO: Add stuff here
+}
+
+function getOption(opts, name) {
+ return typeof(opts[name]) == "undefined" ? "" : opts[name];
+}
+
+function setPopupControlsDisabled(state) {
+ var formObj = document.forms[0];
+
+ formObj.popupname.disabled = state;
+ formObj.popupurl.disabled = state;
+ formObj.popupwidth.disabled = state;
+ formObj.popupheight.disabled = state;
+ formObj.popupleft.disabled = state;
+ formObj.popuptop.disabled = state;
+ formObj.popuplocation.disabled = state;
+ formObj.popupscrollbars.disabled = state;
+ formObj.popupmenubar.disabled = state;
+ formObj.popupresizable.disabled = state;
+ formObj.popuptoolbar.disabled = state;
+ formObj.popupstatus.disabled = state;
+ formObj.popupreturn.disabled = state;
+ formObj.popupdependent.disabled = state;
+
+ setBrowserDisabled('popupurlbrowser', state);
+}
+
+function parseLink(link) {
+ link = link.replace(new RegExp(''', 'g'), "'");
+
+ var fnName = link.replace(new RegExp("\\s*([A-Za-z0-9\.]*)\\s*\\(.*", "gi"), "$1");
+
+ // Is function name a template function
+ var template = templates[fnName];
+ if (template) {
+ // Build regexp
+ var variableNames = template.match(new RegExp("'?\\$\\{[A-Za-z0-9\.]*\\}'?", "gi"));
+ var regExp = "\\s*[A-Za-z0-9\.]*\\s*\\(";
+ var replaceStr = "";
+ for (var i=0; i";
+ } else
+ regExp += ".*";
+ }
+
+ regExp += "\\);?";
+
+ // Build variable array
+ var variables = [];
+ variables["_function"] = fnName;
+ var variableValues = link.replace(new RegExp(regExp, "gi"), replaceStr).split('');
+ for (var i=0; i';
+ html += '';
+
+ for (i=0; i' + name + '';
+ }
+
+ html += '';
+
+ return html;
+}
+
+function insertAction() {
+ var inst = tinyMCEPopup.editor;
+ var elm, elementArray, i;
+
+ elm = inst.selection.getNode();
+ checkPrefix(document.forms[0].href);
+
+ elm = inst.dom.getParent(elm, "A");
+
+ // Remove element if there is no href
+ if (!document.forms[0].href.value) {
+ tinyMCEPopup.execCommand("mceBeginUndoLevel");
+ i = inst.selection.getBookmark();
+ inst.dom.remove(elm, 1);
+ inst.selection.moveToBookmark(i);
+ tinyMCEPopup.execCommand("mceEndUndoLevel");
+ tinyMCEPopup.close();
+ return;
+ }
+
+ tinyMCEPopup.execCommand("mceBeginUndoLevel");
+
+ // Create new anchor elements
+ if (elm == null) {
+ tinyMCEPopup.execCommand("CreateLink", false, "#mce_temp_url#", {skip_undo : 1});
+
+ elementArray = tinymce.grep(inst.dom.select("a"), function(n) {return inst.dom.getAttrib(n, 'href') == '#mce_temp_url#';});
+ for (i=0; i';
+
+ for (var i=0; i' + tinyMCELinkList[i][0] + '';
+
+ html += '';
+
+ return html;
+
+ // tinyMCE.debug('-- image list start --', html, '-- image list end --');
+}
+
+function getTargetListHTML(elm_id, target_form_element) {
+ var targets = tinyMCEPopup.getParam('theme_advanced_link_targets', '').split(';');
+ var html = '';
+
+ html += '';
+
+ return html;
+}
+
+// While loading
+preinit();
+tinyMCEPopup.onInit.add(init);
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js
new file mode 100644
index 000000000..8ef9c792b
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/langs/en_dlg.js
@@ -0,0 +1,52 @@
+tinyMCE.addI18n('en.advlink_dlg',{
+title:"Insert/edit link",
+url:"Link URL",
+target:"Target",
+titlefield:"Title",
+is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",
+is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?",
+list:"Link list",
+general_tab:"General",
+popup_tab:"Popup",
+events_tab:"Events",
+advanced_tab:"Advanced",
+general_props:"General properties",
+popup_props:"Popup properties",
+event_props:"Events",
+advanced_props:"Advanced properties",
+popup_opts:"Options",
+anchor_names:"Anchors",
+target_same:"Open in this window / frame",
+target_parent:"Open in parent window / frame",
+target_top:"Open in top frame (replaces all frames)",
+target_blank:"Open in new window",
+popup:"Javascript popup",
+popup_url:"Popup URL",
+popup_name:"Window name",
+popup_return:"Insert 'return false'",
+popup_scrollbars:"Show scrollbars",
+popup_statusbar:"Show status bar",
+popup_toolbar:"Show toolbars",
+popup_menubar:"Show menu bar",
+popup_location:"Show location bar",
+popup_resizable:"Make window resizable",
+popup_dependent:"Dependent (Mozilla/Firefox only)",
+popup_size:"Size",
+popup_position:"Position (X/Y)",
+id:"Id",
+style:"Style",
+classes:"Classes",
+target_name:"Target name",
+langdir:"Language direction",
+target_langcode:"Target language",
+langcode:"Language code",
+encoding:"Target character encoding",
+mime:"Target MIME type",
+rel:"Relationship page to target",
+rev:"Relationship target to page",
+tabindex:"Tabindex",
+accesskey:"Accesskey",
+ltr:"Left to right",
+rtl:"Right to left",
+link_list:"Link list"
+});
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
new file mode 100644
index 000000000..f46e8f832
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/advlink/link.htm
@@ -0,0 +1,339 @@
+
+
+
+ {#advlink_dlg.title}
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js
new file mode 100644
index 000000000..01a994ee5
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.AutoSavePlugin',{init:function(ed,url){var t=this;t.editor=ed;window.onbeforeunload=tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;},getInfo:function(){return{longname:'Auto save',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',version:tinymce.majorVersion+"."+tinymce.minorVersion};},'static':{_beforeUnloadHandler:function(){var msg;tinymce.each(tinyMCE.editors,function(ed){if(ed.getParam("fullscreen_is_enabled"))return;if(ed.isDirty()){msg=ed.getLang("autosave.unload_msg");return false;}});return msg;}}});tinymce.PluginManager.add('autosave',tinymce.plugins.AutoSavePlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js
new file mode 100644
index 000000000..2e9cd0a55
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/autosave/editor_plugin_src.js
@@ -0,0 +1,51 @@
+/**
+ * $Id: editor_plugin_src.js 520 2008-01-07 16:30:32Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.AutoSavePlugin', {
+ init : function(ed, url) {
+ var t = this;
+
+ t.editor = ed;
+
+ window.onbeforeunload = tinymce.plugins.AutoSavePlugin._beforeUnloadHandler;
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'Auto save',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autosave',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private plugin internal methods
+
+ 'static' : {
+ _beforeUnloadHandler : function() {
+ var msg;
+
+ tinymce.each(tinyMCE.editors, function(ed) {
+ if (ed.getParam("fullscreen_is_enabled"))
+ return;
+
+ if (ed.isDirty()) {
+ msg = ed.getLang("autosave.unload_msg");
+ return false;
+ }
+ });
+
+ return msg;
+ }
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('autosave', tinymce.plugins.AutoSavePlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js
new file mode 100644
index 000000000..88f7ea650
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.BBCodePlugin',{init:function(ed,url){var t=this,dialect=ed.getParam('bbcode_dialect','punbb').toLowerCase();ed.onBeforeSetContent.add(function(ed,o){o.content=t['_'+dialect+'_bbcode2html'](o.content);});ed.onPostProcess.add(function(ed,o){if(o.set)o.content=t['_'+dialect+'_bbcode2html'](o.content);if(o.get)o.content=t['_'+dialect+'_html2bbcode'](o.content);});},getInfo:function(){return{longname:'BBCode Plugin',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_punbb_html2bbcode:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/(.*?)<\/a>/gi,"[url=$1]$2[/url]");rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");rep(/(.*?)<\/span>/gi,"[color=$1]$2[/color]");rep(/(.*?)<\/font>/gi,"[color=$1]$2[/color]");rep(/(.*?)<\/span>/gi,"[size=$1]$2[/size]");rep(/(.*?)<\/font>/gi,"$1");rep(//gi,"[img]$1[/img]");rep(/(.*?)<\/span>/gi,"[code]$1[/code]");rep(/(.*?)<\/span>/gi,"[quote]$1[/quote]");rep(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");rep(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");rep(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");rep(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");rep(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");rep(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");rep(/<\/(strong|b)>/gi,"[/b]");rep(/<(strong|b)>/gi,"[b]");rep(/<\/(em|i)>/gi,"[/i]");rep(/<(em|i)>/gi,"[i]");rep(/<\/u>/gi,"[/u]");rep(/(.*?)<\/span>/gi,"[u]$1[/u]");rep(//gi,"[u]");rep(/]*>/gi,"[quote]");rep(/<\/blockquote>/gi,"[/quote]");rep(/
/gi,"\n");rep(/
/gi,"\n");rep(/
/gi,"\n");rep(//gi,"");rep(/<\/p>/gi,"\n");rep(/ /gi," ");rep(/"/gi,"\"");rep(/</gi,"<");rep(/>/gi,">");rep(/&/gi,"&");return s;},_punbb_bbcode2html:function(s){s=tinymce.trim(s);function rep(re,str){s=s.replace(re,str);};rep(/\n/gi,"
");rep(/\[b\]/gi,"");rep(/\[\/b\]/gi,"");rep(/\[i\]/gi,"");rep(/\[\/i\]/gi,"");rep(/\[u\]/gi,"");rep(/\[\/u\]/gi,"");rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"$2");rep(/\[url\](.*?)\[\/url\]/gi,"$1");rep(/\[img\](.*?)\[\/img\]/gi,"
");rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"$2");rep(/\[code\](.*?)\[\/code\]/gi,"$1 ");rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"$1 ");return s;}});tinymce.PluginManager.add('bbcode',tinymce.plugins.BBCodePlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
new file mode 100644
index 000000000..55afbd0b2
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/bbcode/editor_plugin_src.js
@@ -0,0 +1,117 @@
+/**
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ tinymce.create('tinymce.plugins.BBCodePlugin', {
+ init : function(ed, url) {
+ var t = this, dialect = ed.getParam('bbcode_dialect', 'punbb').toLowerCase();
+
+ ed.onBeforeSetContent.add(function(ed, o) {
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+ });
+
+ ed.onPostProcess.add(function(ed, o) {
+ if (o.set)
+ o.content = t['_' + dialect + '_bbcode2html'](o.content);
+
+ if (o.get)
+ o.content = t['_' + dialect + '_html2bbcode'](o.content);
+ });
+ },
+
+ getInfo : function() {
+ return {
+ longname : 'BBCode Plugin',
+ author : 'Moxiecode Systems AB',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/bbcode',
+ version : tinymce.majorVersion + "." + tinymce.minorVersion
+ };
+ },
+
+ // Private methods
+
+ // HTML -> BBCode in PunBB dialect
+ _punbb_html2bbcode : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: to [b]
+ rep(/(.*?)<\/a>/gi,"[url=$1]$2[/url]");
+ rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/(.*?)<\/font>/gi,"[code][color=$1]$2[/color][/code]");
+ rep(/(.*?)<\/font>/gi,"[quote][color=$1]$2[/color][/quote]");
+ rep(/(.*?)<\/span>/gi,"[color=$1]$2[/color]");
+ rep(/(.*?)<\/font>/gi,"[color=$1]$2[/color]");
+ rep(/(.*?)<\/span>/gi,"[size=$1]$2[/size]");
+ rep(/(.*?)<\/font>/gi,"$1");
+ rep(//gi,"[img]$1[/img]");
+ rep(/(.*?)<\/span>/gi,"[code]$1[/code]");
+ rep(/(.*?)<\/span>/gi,"[quote]$1[/quote]");
+ rep(/(.*?)<\/strong>/gi,"[code][b]$1[/b][/code]");
+ rep(/(.*?)<\/strong>/gi,"[quote][b]$1[/b][/quote]");
+ rep(/(.*?)<\/em>/gi,"[code][i]$1[/i][/code]");
+ rep(/(.*?)<\/em>/gi,"[quote][i]$1[/i][/quote]");
+ rep(/(.*?)<\/u>/gi,"[code][u]$1[/u][/code]");
+ rep(/(.*?)<\/u>/gi,"[quote][u]$1[/u][/quote]");
+ rep(/<\/(strong|b)>/gi,"[/b]");
+ rep(/<(strong|b)>/gi,"[b]");
+ rep(/<\/(em|i)>/gi,"[/i]");
+ rep(/<(em|i)>/gi,"[i]");
+ rep(/<\/u>/gi,"[/u]");
+ rep(/(.*?)<\/span>/gi,"[u]$1[/u]");
+ rep(//gi,"[u]");
+ rep(/]*>/gi,"[quote]");
+ rep(/<\/blockquote>/gi,"[/quote]");
+ rep(/
/gi,"\n");
+ rep(/
/gi,"\n");
+ rep(/
/gi,"\n");
+ rep(//gi,"");
+ rep(/<\/p>/gi,"\n");
+ rep(/ /gi," ");
+ rep(/"/gi,"\"");
+ rep(/</gi,"<");
+ rep(/>/gi,">");
+ rep(/&/gi,"&");
+
+ return s;
+ },
+
+ // BBCode -> HTML from PunBB dialect
+ _punbb_bbcode2html : function(s) {
+ s = tinymce.trim(s);
+
+ function rep(re, str) {
+ s = s.replace(re, str);
+ };
+
+ // example: [b] to
+ rep(/\n/gi,"
");
+ rep(/\[b\]/gi,"");
+ rep(/\[\/b\]/gi,"");
+ rep(/\[i\]/gi,"");
+ rep(/\[\/i\]/gi,"");
+ rep(/\[u\]/gi,"");
+ rep(/\[\/u\]/gi,"");
+ rep(/\[url=([^\]]+)\](.*?)\[\/url\]/gi,"$2");
+ rep(/\[url\](.*?)\[\/url\]/gi,"$1");
+ rep(/\[img\](.*?)\[\/img\]/gi,"
");
+ rep(/\[color=(.*?)\](.*?)\[\/color\]/gi,"$2");
+ rep(/\[code\](.*?)\[\/code\]/gi,"$1 ");
+ rep(/\[quote.*?\](.*?)\[\/quote\]/gi,"$1 ");
+
+ return s;
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('bbcode', tinymce.plugins.BBCodePlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/compat2x/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/compat2x/editor_plugin.js
new file mode 100644
index 000000000..02a1da8b4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/compat2x/editor_plugin.js
@@ -0,0 +1 @@
+(function(){var DOM=tinymce.DOM,Event=tinymce.dom.Event,each=tinymce.each,is=tinymce.is;tinymce.create('tinymce.plugins.Compat2x',{getInfo:function(){return{longname:'Compat2x',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/compat2x',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};}});(function(){tinymce.extend(tinyMCE,{addToLang:function(p,l){each(l,function(v,k){tinyMCE.i18n[(tinyMCE.settings.language||'en')+'.'+(p?p+'_':'')+k]=v;});},getInstanceById:function(n){return this.get(n);}});})();(function(){var EditorManager=tinymce.EditorManager;tinyMCE.instances={};tinyMCE.plugins={};tinymce.PluginManager.onAdd.add(function(pm,n,p){tinyMCE.plugins[n]=p;});tinyMCE.majorVersion=tinymce.majorVersion;tinyMCE.minorVersion=tinymce.minorVersion;tinyMCE.releaseDate=tinymce.releaseDate;tinyMCE.baseURL=tinymce.baseURL;tinyMCE.isIE=tinyMCE.isMSIE=tinymce.isIE||tinymce.isOpera;tinyMCE.isMSIE5=tinymce.isIE;tinyMCE.isMSIE5_0=tinymce.isIE;tinyMCE.isMSIE7=tinymce.isIE;tinyMCE.isGecko=tinymce.isGecko;tinyMCE.isSafari=tinymce.isWebKit;tinyMCE.isOpera=tinymce.isOpera;tinyMCE.isMac=false;tinyMCE.isNS7=false;tinyMCE.isNS71=false;tinyMCE.compat=true;TinyMCE_Engine=tinyMCE;tinymce.extend(tinyMCE,{getParam:function(n,dv){return this.activeEditor.getParam(n,dv);},addEvent:function(e,na,f,sc){tinymce.dom.Event.add(e,na,f,sc||this);},getControlHTML:function(n){return EditorManager.activeEditor.controlManager.createControl(n);},loadCSS:function(u){tinymce.DOM.loadCSS(u);},importCSS:function(doc,u){if(doc==document)this.loadCSS(u);else new tinymce.dom.DOMUtils(doc).loadCSS(u);},log:function(){console.debug.apply(console,arguments);},getLang:function(n,dv){var v=EditorManager.activeEditor.getLang(n.replace(/^lang_/g,''),dv);if(/^[0-9\-.]+$/g.test(v))return parseInt(v);return v;},isInstance:function(o){return o!=null&&typeof(o)=="object"&&o.execCommand;},triggerNodeChange:function(){EditorManager.activeEditor.nodeChanged();},regexpReplace:function(in_str,reg_exp,replace_str,opts){var re;if(in_str==null)return in_str;if(typeof(opts)=="undefined")opts='g';re=new RegExp(reg_exp,opts);return in_str.replace(re,replace_str);},trim:function(s){return tinymce.trim(s);},xmlEncode:function(s){return tinymce.DOM.encode(s);},explode:function(s,d){var o=[];tinymce.each(s.split(d),function(v){if(v!='')o.push(v);});return o;},switchClass:function(id,cls){var b;if(/^mceButton/.test(cls)){b=EditorManager.activeEditor.controlManager.get(id);if(!b)return;switch(cls){case"mceButtonNormal":b.setDisabled(false);b.setActive(false);return;case"mceButtonDisabled":b.setDisabled(true);return;case"mceButtonSelected":b.setActive(true);b.setDisabled(false);return;}}},addCSSClass:function(e,n,b){return tinymce.DOM.addClass(e,n,b);},hasCSSClass:function(e,n){return tinymce.DOM.hasClass(e,n);},removeCSSClass:function(e,n){return tinymce.DOM.removeClass(e,n);},getCSSClasses:function(){var cl=EditorManager.activeEditor.dom.getClasses(),o=[];each(cl,function(c){o.push(c['class']);});return o;},setWindowArg:function(n,v){EditorManager.activeEditor.windowManager.params[n]=v;},getWindowArg:function(n,dv){var wm=EditorManager.activeEditor.windowManager,v;v=wm.getParam(n);if(v==='')return'';return v||wm.getFeature(n)||dv;},getParentNode:function(n,f){return this._getDOM().getParent(n,f);},selectElements:function(n,na,f){var i,a=[],nl,x;for(x=0,na=na.split(',');x
+
+
+ {#emotions_dlg.title}
+
+
+
+
+
+
+
+
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif
new file mode 100644
index 000000000..ba90cc36f
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cool.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif
new file mode 100644
index 000000000..74d897a4f
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-cry.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif
new file mode 100644
index 000000000..963a96b8a
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif
new file mode 100644
index 000000000..16f68cc1e
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif
new file mode 100644
index 000000000..716f55e16
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-frown.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif
new file mode 100644
index 000000000..334d49e0e
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif
new file mode 100644
index 000000000..4efd549ed
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif
new file mode 100644
index 000000000..1606c119e
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif
new file mode 100644
index 000000000..ca2451e10
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif
new file mode 100644
index 000000000..b33d3cca1
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif
new file mode 100644
index 000000000..e6a9e60d5
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-smile.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif
new file mode 100644
index 000000000..cb99cdd91
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif
new file mode 100644
index 000000000..2075dc160
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif
new file mode 100644
index 000000000..bef7e2573
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif
new file mode 100644
index 000000000..9faf1aff8
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-wink.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif
new file mode 100644
index 000000000..648e6e879
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/img/smiley-yell.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js
new file mode 100644
index 000000000..e5c950fc4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/js/emotions.js
@@ -0,0 +1,22 @@
+tinyMCEPopup.requireLangPack();
+
+var EmotionsDialog = {
+ init : function(ed) {
+ tinyMCEPopup.resizeToInnerSize();
+ },
+
+ insert : function(file, title) {
+ var ed = tinyMCEPopup.editor, dom = ed.dom;
+
+ tinyMCEPopup.execCommand('mceInsertContent', false, dom.createHTML('img', {
+ src : tinyMCEPopup.getWindowArg('plugin_url') + '/img/' + file,
+ alt : ed.getLang(title),
+ title : ed.getLang(title),
+ border : 0
+ }));
+
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(EmotionsDialog.init, EmotionsDialog);
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js
new file mode 100644
index 000000000..f6d5f4ba8
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/emotions/langs/en_dlg.js
@@ -0,0 +1,20 @@
+tinyMCE.addI18n('en.emotions_dlg',{
+title:"Insert emotion",
+desc:"Emotions",
+cool:"Cool",
+cry:"Cry",
+embarassed:"Embarassed",
+foot_in_mouth:"Foot in mouth",
+frown:"Frown",
+innocent:"Innocent",
+kiss:"Kiss",
+laughing:"Laughing",
+money_mouth:"Money mouth",
+sealed:"Sealed",
+smile:"Smile",
+surprised:"Surprised",
+tongue_out:"Tongue out",
+undecided:"Undecided",
+wink:"Wink",
+yell:"Yell"
+});
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm
new file mode 100644
index 000000000..b4c62840e
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/dialog.htm
@@ -0,0 +1,27 @@
+
+
+
+ {#example_dlg.title}
+
+
+
+
+
+
+
+
+
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js
new file mode 100644
index 000000000..cb7010d18
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.PluginManager.requireLangPack('example');tinymce.create('tinymce.plugins.ExamplePlugin',{init:function(ed,url){ed.addCommand('mceExample',function(){ed.windowManager.open({file:url+'/dialog.htm',width:320+parseInt(ed.getLang('example.delta_width',0)),height:120+parseInt(ed.getLang('example.delta_height',0)),inline:1},{plugin_url:url,some_custom_arg:'custom arg'});});ed.addButton('example',{title:'example.desc',cmd:'mceExample',image:url+'/img/example.gif'});ed.onNodeChange.add(function(ed,cm,n){cm.setActive('example',n.nodeName=='IMG');});},createControl:function(n,cm){return null;},getInfo:function(){return{longname:'Example plugin',author:'Some author',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',version:"1.0"};}});tinymce.PluginManager.add('example',tinymce.plugins.ExamplePlugin);})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js
new file mode 100644
index 000000000..d0b5ff2f4
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/editor_plugin_src.js
@@ -0,0 +1,81 @@
+/**
+ * $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2008, Moxiecode Systems AB, All rights reserved.
+ */
+
+(function() {
+ // Load plugin specific language pack
+ tinymce.PluginManager.requireLangPack('example');
+
+ tinymce.create('tinymce.plugins.ExamplePlugin', {
+ /**
+ * Initializes the plugin, this will be executed after the plugin has been created.
+ * This call is done before the editor instance has finished it's initialization so use the onInit event
+ * of the editor instance to intercept that event.
+ *
+ * @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
+ * @param {string} url Absolute URL to where the plugin is located.
+ */
+ init : function(ed, url) {
+ // Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
+ ed.addCommand('mceExample', function() {
+ ed.windowManager.open({
+ file : url + '/dialog.htm',
+ width : 320 + parseInt(ed.getLang('example.delta_width', 0)),
+ height : 120 + parseInt(ed.getLang('example.delta_height', 0)),
+ inline : 1
+ }, {
+ plugin_url : url, // Plugin absolute URL
+ some_custom_arg : 'custom arg' // Custom argument
+ });
+ });
+
+ // Register example button
+ ed.addButton('example', {
+ title : 'example.desc',
+ cmd : 'mceExample',
+ image : url + '/img/example.gif'
+ });
+
+ // Add a node change handler, selects the button in the UI when a image is selected
+ ed.onNodeChange.add(function(ed, cm, n) {
+ cm.setActive('example', n.nodeName == 'IMG');
+ });
+ },
+
+ /**
+ * Creates control instances based in the incomming name. This method is normally not
+ * needed since the addButton method of the tinymce.Editor class is a more easy way of adding buttons
+ * but you sometimes need to create more complex controls like listboxes, split buttons etc then this
+ * method can be used to create those.
+ *
+ * @param {String} n Name of the control to create.
+ * @param {tinymce.ControlManager} cm Control manager to use inorder to create new control.
+ * @return {tinymce.ui.Control} New control instance or null if no control was created.
+ */
+ createControl : function(n, cm) {
+ return null;
+ },
+
+ /**
+ * Returns information about the plugin as a name/value array.
+ * The current keys are longname, author, authorurl, infourl and version.
+ *
+ * @return {Object} Name/value array containing information about the plugin.
+ */
+ getInfo : function() {
+ return {
+ longname : 'Example plugin',
+ author : 'Some author',
+ authorurl : 'http://tinymce.moxiecode.com',
+ infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/example',
+ version : "1.0"
+ };
+ }
+ });
+
+ // Register plugin
+ tinymce.PluginManager.add('example', tinymce.plugins.ExamplePlugin);
+})();
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif
new file mode 100644
index 000000000..1ab5da446
Binary files /dev/null and b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/img/example.gif differ
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
new file mode 100644
index 000000000..a7ee507e0
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/js/dialog.js
@@ -0,0 +1,19 @@
+tinyMCEPopup.requireLangPack();
+
+var ExampleDialog = {
+ init : function() {
+ var f = document.forms[0];
+
+ // Get the selected contents as text and place it in the input
+ f.someval.value = tinyMCEPopup.editor.selection.getContent({format : 'text'});
+ f.somearg.value = tinyMCEPopup.getWindowArg('some_custom_arg');
+ },
+
+ insert : function() {
+ // Insert the contents from the input into the document
+ tinyMCEPopup.editor.execCommand('mceInsertContent', false, document.forms[0].someval.value);
+ tinyMCEPopup.close();
+ }
+};
+
+tinyMCEPopup.onInit.add(ExampleDialog.init, ExampleDialog);
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js
new file mode 100644
index 000000000..f3721d3a3
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example',{
+ desc : 'This is just a template button'
+});
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js
new file mode 100644
index 000000000..a9cd65f8c
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/example/langs/en_dlg.js
@@ -0,0 +1,3 @@
+tinyMCE.addI18n('en.example_dlg',{
+ title : 'This is just a example title'
+});
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
new file mode 100644
index 000000000..1854eca94
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/css/fullpage.css
@@ -0,0 +1,182 @@
+/* Hide the advanced tab */
+#advanced_tab {
+ display: none;
+}
+
+#metatitle, #metakeywords, #metadescription, #metaauthor, #metacopyright {
+ width: 280px;
+}
+
+#doctype, #docencoding {
+ width: 200px;
+}
+
+#langcode {
+ width: 30px;
+}
+
+#bgimage {
+ width: 220px;
+}
+
+#fontface {
+ width: 240px;
+}
+
+#leftmargin, #rightmargin, #topmargin, #bottommargin {
+ width: 50px;
+}
+
+.panel_wrapper div.current {
+ height: 400px;
+}
+
+#stylesheet, #style {
+ width: 240px;
+}
+
+/* Head list classes */
+
+.headlistwrapper {
+ width: 100%;
+}
+
+.addbutton, .removebutton, .moveupbutton, .movedownbutton {
+ border-top: 1px solid;
+ border-left: 1px solid;
+ border-bottom: 1px solid;
+ border-right: 1px solid;
+ border-color: #F0F0EE;
+ cursor: default;
+ display: block;
+ width: 20px;
+ height: 20px;
+}
+
+#doctypes {
+ width: 200px;
+}
+
+.addbutton:hover, .removebutton:hover, .moveupbutton:hover, .movedownbutton:hover {
+ border: 1px solid #0A246A;
+ background-color: #B6BDD2;
+}
+
+.addbutton {
+ background-image: url('../images/add.gif');
+ float: left;
+ margin-right: 3px;
+}
+
+.removebutton {
+ background-image: url('../images/remove.gif');
+ float: left;
+}
+
+.moveupbutton {
+ background-image: url('../images/move_up.gif');
+ float: left;
+ margin-right: 3px;
+}
+
+.movedownbutton {
+ background-image: url('../images/move_down.gif');
+ float: left;
+}
+
+.selected {
+ border: 1px solid #0A246A;
+ background-color: #B6BDD2;
+}
+
+.toolbar {
+ width: 100%;
+}
+
+#headlist {
+ width: 100%;
+ margin-top: 3px;
+ font-size: 11px;
+}
+
+#info, #title_element, #meta_element, #script_element, #style_element, #base_element, #link_element, #comment_element, #unknown_element {
+ display: none;
+}
+
+#addmenu {
+ position: absolute;
+ border: 1px solid gray;
+ display: none;
+ z-index: 100;
+ background-color: white;
+}
+
+#addmenu a {
+ display: block;
+ width: 100%;
+ line-height: 20px;
+ text-decoration: none;
+ background-color: white;
+}
+
+#addmenu a:hover {
+ background-color: #B6BDD2;
+ color: black;
+}
+
+#addmenu span {
+ padding-left: 10px;
+ padding-right: 10px;
+}
+
+#updateElementPanel {
+ display: none;
+}
+
+#script_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#style_element .panel_wrapper div.current {
+ height: 108px;
+}
+
+#link_element .panel_wrapper div.current {
+ height: 140px;
+}
+
+#element_script_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_comment_value {
+ width: 100%;
+ height: 120px;
+}
+
+#element_style_value {
+ width: 100%;
+ height: 100px;
+}
+
+#element_title, #element_script_src, #element_meta_name, #element_meta_content, #element_base_href, #element_link_href, #element_link_title {
+ width: 250px;
+}
+
+.updateElementButton {
+ margin-top: 3px;
+}
+
+/* MSIE specific styles */
+
+* html .addbutton, * html .removebutton, * html .moveupbutton, * html .movedownbutton {
+ width: 22px;
+ height: 22px;
+}
+
+textarea {
+ height: 55px;
+}
+
+.panel_wrapper div.current {height:420px;}
\ No newline at end of file
diff --git a/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
new file mode 100644
index 000000000..31423da17
--- /dev/null
+++ b/mod/tinymce/tinymce/jscripts/tiny_mce/plugins/fullpage/editor_plugin.js
@@ -0,0 +1 @@
+(function(){tinymce.create('tinymce.plugins.FullPagePlugin',{init:function(ed,url){var t=this;t.editor=ed;ed.addCommand('mceFullPageProperties',function(){ed.windowManager.open({file:url+'/fullpage.htm',width:430+parseInt(ed.getLang('fullpage.delta_width',0)),height:495+parseInt(ed.getLang('fullpage.delta_height',0)),inline:1},{plugin_url:url,head_html:t.head});});ed.addButton('fullpage',{title:'fullpage.desc',cmd:'mceFullPageProperties'});ed.onBeforeSetContent.add(t._setContent,t);ed.onSetContent.add(t._setBodyAttribs,t);ed.onGetContent.add(t._getContent,t);},getInfo:function(){return{longname:'Fullpage',author:'Moxiecode Systems AB',authorurl:'http://tinymce.moxiecode.com',infourl:'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/fullpage',version:tinymce.majorVersion+"."+tinymce.minorVersion};},_setBodyAttribs:function(ed,o){var bdattr,i,len,kv,k,v,t,attr=this.head.match(/body(.*?)>/i);if(attr&&attr[1]){bdattr=attr[1].match(/\s*(\w+\s*=\s*".*?"|\w+\s*=\s*'.*?'|\w+\s*=\s*\w+|\w+)\s*/g);for(i=0,len=bdattr.length;i',sp);t.head=c.substring(0,sp+1);ep=c.indexOf('
\n';t.foot='\n