r1497 - in xwiki/trunk: core/src/main/resources src/main/web src/main/web/templates src/main/web/tiny_mce_2 src/main/web/tiny_mce_2/langs src/main/web/tiny_mce_2/plugins src/main/web/tiny_mce_2/plugins/_template src/main/web/tiny_mce_2/plugins/_template/images src/main/web/tiny_mce_2/plugins/_template/langs src/main/web/tiny_mce_2/plugins/advhr src/main/web/tiny_mce_2/plugins/advhr/css src/main/web/tiny_mce_2/plugins/advhr/images src/main/web/tiny_mce_2/plugins/advhr/jscripts src/main/web/tiny_mce_2/plugins/advhr/langs src/main/web/tiny_mce_2/plugins/advimage src/main/web/tiny_mce_2/plugins/advimage/css src/main/web/tiny_mce_2/plugins/advimage/images src/main/web/tiny_mce_2/plugins/advimage/jscripts src/main/web/tiny_mce_2/plugins/advimage/langs src/main/web/tiny_mce_2/plugins/advlink src/main/web/tiny_mce_2/plugins/advlink/css src/main/web/tiny_mce_2/plugins/advlink/jscripts src/main/web/tiny_mce_2/plugins/advlink/langs src/main/web/tiny_mce_2/plugins/autosave src/main/web/tiny_mce_2/plugins/autosave/langs src/main/web/tiny_mce_2/plugins/cleanup src/main/web/tiny_mce_2/plugins/contextmenu src/main/web/tiny_mce_2/plugins/contextmenu/css src/main/web/tiny_mce_2/plugins/contextmenu/images src/main/web/tiny_mce_2/plugins/directionality src/main/web/tiny_mce_2/plugins/directionality/images src/main/web/tiny_mce_2/plugins/directionality/langs src/main/web/tiny_mce_2/plugins/emotions src/main/web/tiny_mce_2/plugins/emotions/images src/main/web/tiny_mce_2/plugins/emotions/jscripts src/main/web/tiny_mce_2/plugins/emotions/langs src/main/web/tiny_mce_2/plugins/flash src/main/web/tiny_mce_2/plugins/flash/css src/main/web/tiny_mce_2/plugins/flash/images src/main/web/tiny_mce_2/plugins/flash/jscripts src/main/web/tiny_mce_2/plugins/flash/langs src/main/web/tiny_mce_2/plugins/fullpage src/main/web/tiny_mce_2/plugins/fullpage/css src/main/web/tiny_mce_2/plugins/fullpage/images src/main/web/tiny_mce_2/plugins/fullpage/jscripts src/main/web/tiny_mce_2/plugins/fullpage/langs src/main/web/tiny_mce_2/plugins/fullscreen src/main/web/tiny_mce_2/plugins/fullscreen/images src/main/web/tiny_mce_2/plugins/fullscreen/langs src/main/web/tiny_mce_2/plugins/iespell src/main/web/tiny_mce_2/plugins/iespell/images src/main/web/tiny_mce_2/plugins/iespell/langs src/main/web/tiny_mce_2/plugins/inlinepopups src/main/web/tiny_mce_2/plugins/inlinepopups/css src/main/web/tiny_mce_2/plugins/inlinepopups/images src/main/web/tiny_mce_2/plugins/inlinepopups/jscripts src/main/web/tiny_mce_2/plugins/insertdatetime src/main/web/tiny_mce_2/plugins/insertdatetime/images src/main/web/tiny_mce_2/plugins/insertdatetime/langs src/main/web/tiny_mce_2/plugins/layer src/main/web/tiny_mce_2/plugins/layer/images src/main/web/tiny_mce_2/plugins/layer/langs src/main/web/tiny_mce_2/plugins/noneditable src/main/web/tiny_mce_2/plugins/noneditable/css src/main/web/tiny_mce_2/plugins/paste src/main/web/tiny_mce_2/plugins/paste/css src/main/web/tiny_mce_2/plugins/paste/images src/main/web/tiny_mce_2/plugins/paste/jscripts src/main/web/tiny_mce_2/plugins/paste/langs src/main/web/tiny_mce_2/plugins/preview src/main/web/tiny_mce_2/plugins/preview/images src/main/web/tiny_mce_2/plugins/preview/langs src/main/web/tiny_mce_2/plugins/print src/main/web/tiny_mce_2/plugins/print/images src/main/web/tiny_mce_2/plugins/print/langs src/main/web/tiny_mce_2/plugins/save src/main/web/tiny_mce_2/plugins/save/images src/main/web/tiny_mce_2/plugins/save/langs src/main/web/tiny_mce_2/plugins/searchreplace src/main/web/tiny_mce_2/plugins/searchreplace/images src/main/web/tiny_mce_2/plugins/searchreplace/jscripts src/main/web/tiny_mce_2/plugins/searchreplace/langs src/main/web/tiny_mce_2/plugins/style src/main/web/tiny_mce_2/plugins/style/css src/main/web/tiny_mce_2/plugins/style/images src/main/web/tiny_mce_2/plugins/style/jscripts src/main/web/tiny_mce_2/plugins/style/langs src/main/web/tiny_mce_2/plugins/table src/main/web/tiny_mce_2/plugins/table/css src/main/web/tiny_mce_2/plugins/table/images src/main/web/tiny_mce_2/plugins/table/jscripts src/main/web/tiny_mce_2/plugins/table/langs src/main/web/tiny_mce_2/plugins/wikiplugin src/main/web/tiny_mce_2/plugins/zoom src/main/web/tiny_mce_2/themes src/main/web/tiny_mce_2/themes/wikieditor src/main/web/tiny_mce_2/themes/wikieditor/css src/main/web/tiny_mce_2/themes/wikieditor/images src/main/web/tiny_mce_2/themes/wikieditor/jscripts src/main/web/tiny_mce_2/themes/wikieditor/langs src/main/web/tiny_mce_2/utils src/main/web/wiki_editor_2 src/main/web/wiki_editor_2/plugins src/main/web/wiki_editor_2/themes

Phung Hai Nam namphunghai at users.forge.objectweb.org
Fri Nov 3 05:42:51 CET 2006


Author: namphunghai
Date: 2006-11-03 05:42:49 +0100 (Fri, 03 Nov 2006)
New Revision: 1497

Added:
   xwiki/trunk/src/main/web/templates/browsewysiwyg.vm
   xwiki/trunk/src/main/web/templates/listattachwysiwyg.vm
   xwiki/trunk/src/main/web/templates/listspacewysiwyg.vm
   xwiki/trunk/src/main/web/templates/recentdocwysiwyg.vm
   xwiki/trunk/src/main/web/templates/searchwysiwyg.vm
   xwiki/trunk/src/main/web/tiny_mce_2/
   xwiki/trunk/src/main/web/tiny_mce_2/blank.htm
   xwiki/trunk/src/main/web/tiny_mce_2/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/langs/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/license.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/images/template.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/popup.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/css/advhr.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/images/advhr.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/jscripts/rule.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/rule.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/css/advimage.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/image.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/images/sample.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/jscripts/functions.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/css/advlink.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/jscripts/functions.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/link.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/advlink/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/autosave/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/cleanup/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/cleanup/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/cleanup/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/cleanup/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/css/contextmenu.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/images/spacer.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/contextmenu/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/images/ltr.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/images/rtl.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/directionality/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/emotions.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/emotions.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-cool.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-cry.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-embarassed.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-foot-in-mouth.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-frown.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-innocent.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-kiss.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-laughing.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-money-mouth.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-sealed.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-smile.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-surprised.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-tongue-out.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-undecided.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-wink.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/images/smiley-yell.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/jscripts/functions.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/emotions/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/css/content.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/css/flash.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/flash.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/images/flash.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/jscripts/flash.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/flash/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/blank.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/css/fullpage.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/fullpage.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/add.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/fullpage.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/move_down.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/move_up.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/images/remove.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/jscripts/fullpage.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullpage/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/fullscreen.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/images/fullscreen.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/fullscreen/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/images/iespell.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/iespell/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/css/inlinepopup.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/spacer.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/window_close.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/window_maximize.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/window_minimize.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/images/window_resize.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/jscripts/mcwindows.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/inlinepopups/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/images/insertdate.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/images/inserttime.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/insertdatetime/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/images/absolute.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/images/backward.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/images/forward.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/images/insert_layer.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/layer/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/css/noneditable.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/noneditable/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/blank.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/css/blank.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/css/pasteword.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/images/pastetext.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/images/pasteword.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/images/selectall.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/jscripts/pastetext.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/jscripts/pasteword.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/pastetext.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/pasteword.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/paste/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/example.html
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/images/preview.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/preview/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/images/print.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/print/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/images/save.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/save/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/images/replace.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/images/search.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/jscripts/replace.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/jscripts/search.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/replace.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/searchreplace/search.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/css/props.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/images/apply_button_bg.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/images/style_info.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/jscripts/props.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/props.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/style/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/cell.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/css/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/css/cell.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/css/row.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/css/table.css
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/buttons.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_cell_props.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_delete.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_delete_col.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_delete_row.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_insert_col_after.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_insert_col_before.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_insert_row_after.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_insert_row_before.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_merge_cells.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_row_props.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/images/table_split_cells.gif
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/jscripts/cell.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/jscripts/merge_cells.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/jscripts/row.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/jscripts/table.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/merge_cells.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/row.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/table/table.htm
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/wikiplugin/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/wikiplugin/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/wikiplugin/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/zoom/
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/zoom/editor_plugin.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/zoom/editor_plugin_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/plugins/zoom/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/themes/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/anchor.htm
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/attachment.htm
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/css/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/css/editor_content.css
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/css/editor_popup.css
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/css/editor_ui.css
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/docs/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/editor_template.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/image.htm
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/Thumbs.db
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/anchor.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/attachment.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/backcolor.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/bold.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/bold_de_se.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/bold_fr.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/bold_ru.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/browse.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/bullist.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/buttons.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/center.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/charmap.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/cleanup.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/close.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/code.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/copy.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/custom_1.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/cut.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/forecolor.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/full.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/help.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/hr.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/image.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/indent.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/italic.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/italic_de_se.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/italic_ru.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/left.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/link.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/macro.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/newdocument.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/numlist.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/outdent.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/paste.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/redo.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/removeformat.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/right.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/spacer.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/strikethrough.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/sub.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/sup.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_delete_col.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_delete_row.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_insert_col_after.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_insert_col_before.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_insert_row_after.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/table_insert_row_before.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/underline.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/underline_fr.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/underline_ru.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/undo.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/unlink.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/images/visualaid.gif
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/jscripts/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/jscripts/image.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/jscripts/link.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/ar.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/ca.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/cs.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/da.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/de.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/el.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/en.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/es.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/fa.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/fi.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/fr.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/fr_ca.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/hu.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/it.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/ja.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/ko.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/nl.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/no.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/pl.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/pt.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/pt_br.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/readme.txt
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/sv.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/tw.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/langs/zh_cn.js
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/link.htm
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/macro.htm
   xwiki/trunk/src/main/web/tiny_mce_2/themes/wikieditor/source_editor.htm
   xwiki/trunk/src/main/web/tiny_mce_2/tiny_mce.js
   xwiki/trunk/src/main/web/tiny_mce_2/tiny_mce_popup.js
   xwiki/trunk/src/main/web/tiny_mce_2/tiny_mce_src.js
   xwiki/trunk/src/main/web/tiny_mce_2/utils/
   xwiki/trunk/src/main/web/tiny_mce_2/utils/editable_selects.js
   xwiki/trunk/src/main/web/tiny_mce_2/utils/form_utils.js
   xwiki/trunk/src/main/web/tiny_mce_2/utils/mclayer.js
   xwiki/trunk/src/main/web/tiny_mce_2/utils/mctabs.js
   xwiki/trunk/src/main/web/tiny_mce_2/utils/validate.js
   xwiki/trunk/src/main/web/wiki_editor_2/
   xwiki/trunk/src/main/web/wiki_editor_2/plugins/
   xwiki/trunk/src/main/web/wiki_editor_2/plugins/attachments.js
   xwiki/trunk/src/main/web/wiki_editor_2/plugins/core.js
   xwiki/trunk/src/main/web/wiki_editor_2/plugins/macros.js
   xwiki/trunk/src/main/web/wiki_editor_2/themes/
   xwiki/trunk/src/main/web/wiki_editor_2/themes/default.js
   xwiki/trunk/src/main/web/wiki_editor_2/wiki_editor.js
Modified:
   xwiki/trunk/core/src/main/resources/ApplicationResources.properties
Log:
Add wysiwyg editor 2  (no affect to wysiwyg editor 1)

Modified: xwiki/trunk/core/src/main/resources/ApplicationResources.properties
===================================================================
--- xwiki/trunk/core/src/main/resources/ApplicationResources.properties	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/core/src/main/resources/ApplicationResources.properties	2006-11-03 04:42:49 UTC (rev 1497)
@@ -495,4 +495,5 @@
 listofallexistspages=List of all exists pages
 listofallattachments=List of all attachments
 listofrecentlyviewedpages=List of recently viewed pages
-listofresultspages= List of result 
\ No newline at end of file
+listofresultspages= List of result
+choosespace=Choose space
\ No newline at end of file

Added: xwiki/trunk/src/main/web/templates/browsewysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/browsewysiwyg.vm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/templates/browsewysiwyg.vm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,34 @@
+<div class="xwikidatacontent">
+    #set($rsvc= $xwiki.xWiki.getRightService())
+    #if ($request.getParameter("text"))
+        #set ($text = $request.getParameter("text"))
+    #else
+        #set($text = "")
+    #end
+    <p style="font-weight:bold"> $msg.get("listofallexistspages") : </p>
+    #if ($text == "")
+        #set($sql = "")
+    #else
+        #set ($sql = "where doc.web like '%$text%'  order by doc.date desc")
+    #end
+
+    #set ($start = 0)
+    #set ($nb = 50)
+
+    <!--
+    Sql: $sql
+    Sql: $start
+    Sql: $nb
+    -->
+    <table width="95%">
+    #foreach ($item in $xwiki.searchDocuments($sql , $nb , $start))
+    #if ($xwiki.hasAccessLevel("view", "${context.database}:${item}"))
+    <tr>
+    #set($bentrydoc = $xwiki.getDocument($item))
+      <td>* <a href="#" onclick="document.forms[0].wiki_page.value='$bentrydoc.name';if ('$doc.web' != '$bentrydoc.web') document.forms[0].wiki_space.value='$bentrydoc.web'; else document.forms[0].wiki_space.value=''; return false;">
+          $bentrydoc.name </a>created by  $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date,"MMMM dd, yyyy HH:mm") </td>
+    </tr>
+    #end
+    #end
+    </table>
+</div>
\ No newline at end of file

Added: xwiki/trunk/src/main/web/templates/listattachwysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/listattachwysiwyg.vm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/templates/listattachwysiwyg.vm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,26 @@
+#set($attachments = $doc.attachmentList)
+<div id="xwikiattachmentscontent" class="xwikidatacontent">
+  #set($counter=0)
+  #foreach ($attach in $attachments)
+    #if((!$request.images)||$attach.isImage())
+      #if($counter==0)
+        <table width="95%">
+          <tr>
+              <td nowrap="nowrap" align="left" style="font-weight:bold">$msg.get("listofallattachments") :</td>
+          </tr>
+          <tr><td nowrap="nowrap"></td></tr>
+      #end
+      <tr>
+        <td align="left"> * <a href="#" onclick="document.forms[0].attach.value='$attach.filename'; return false;" >$attach.filename</a>
+        $msg.get("attachedby") $xwiki.getLocalUserName($attach.author) on $xwiki.formatDate($attach.date)</td>
+      </tr>
+    #end
+    #set( $counter = $counter + 1)
+  #end
+  </table>
+  </div>
+  <div class="xwikidatafooter2">
+    <div class="xwikidatafooter1">&nbsp;</div>
+    <div class="xwikidatafooter">&nbsp;</div>
+  </div>
+</div>
\ No newline at end of file

Added: xwiki/trunk/src/main/web/templates/listspacewysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/listspacewysiwyg.vm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/templates/listspacewysiwyg.vm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,4 @@
+<option value="">-- $msg.get('choosespace') -- </option>
+#foreach($space in $xwiki.spaces)
+    <option value="$space">$space</option>
+#end

Added: xwiki/trunk/src/main/web/templates/recentdocwysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/recentdocwysiwyg.vm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/templates/recentdocwysiwyg.vm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,33 @@
+<div class="xwikidatacontent">
+    #set($rsvc= $xwiki.xWiki.getRightService())
+    #if ($request.getParameter("text"))
+    #set ($text = $request.getParameter("text") )
+    #else
+    #set($text = "")
+    #end
+    <p style="font-weight:bold"> $msg.get("listofrecentlyviewedpages") : </p>
+    #set ($sql = "where doc.name like '%$text%' order by doc.date desc")
+    #set ($start = 0)
+    #set ($nb = 50)
+
+    <!--
+    Sql: $sql
+    Sql: $start
+    Sql: $nb
+    -->
+    <table width="95%">
+    #set($counter=0)
+    #foreach ($item in $xwiki.searchDocuments($sql , $nb , $start))
+    #if ($xwiki.hasAccessLevel("view", "${context.database}:${item}"))
+    #if($counter < 13)
+    <tr>
+    #set($bentrydoc = $xwiki.getDocument($item))
+      <td>* <a href="#" onclick="document.forms[0].wiki_page.value='$bentrydoc.name';if ('$doc.web' != '$bentrydoc.web') document.forms[0].wiki_space.value='$bentrydoc.web'; else document.forms[0].wiki_space.value=''; return false;">
+          $bentrydoc.name </a>in $bentrydoc.web space. Created by  $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date,"MMMM dd, yyyy HH:mm") </td>
+    </tr>
+    #end
+    #end
+    #set( $counter = $counter + 1)
+    #end
+    </table>
+</div>
\ No newline at end of file

Added: xwiki/trunk/src/main/web/templates/searchwysiwyg.vm
===================================================================
--- xwiki/trunk/src/main/web/templates/searchwysiwyg.vm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/templates/searchwysiwyg.vm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,46 @@
+<div class="xwikidatacontent">
+    #set($rsvc= $xwiki.xWiki.getRightService())
+    #if ($request.getParameter("space"))
+    #set ($space = $request.getParameter("space") )
+    #else
+    #set($space = "")
+    #end
+
+    #if ($request.getParameter("page"))
+    #set ($page = $request.getParameter("page") )
+    #else
+    #set($page = "")
+    #end
+    <p style="font-weight:bold"> $msg.get("listofresultspages") : </p>
+    #if (($page == "") && ($space == ""))
+        #set($sql = "")
+    #elseif($page == "")
+        #set($sql = "where doc.web like '%$space%' order by doc.date desc")
+    #elseif($space == "")
+        #set($sql = "where doc.name like '%$page%' order by doc.date desc")
+    #else
+        #set($sql = "where doc.web like '%$space%' and doc.name like '%$page%' order by doc.date desc")
+    #end
+
+    #set ($start = 0)
+    #set ($nb = 50)
+
+    <!--
+    Sql: $sql
+    Sql: $start
+    Sql: $nb
+    -->
+    <table width="95%">
+
+    #foreach ($item in $xwiki.searchDocuments($sql , $nb , $start))
+    #if ($xwiki.hasAccessLevel("view", "${context.database}:${item}"))
+    <tr>
+    #set($bentrydoc = $xwiki.getDocument($item))
+     <td>* <a href="#" onclick="document.forms[0].wiki_page.value='$bentrydoc.name';if ('$doc.web' != '$bentrydoc.web') document.forms[0].wiki_space.value='$bentrydoc.web'; else document.forms[0].wiki_space.value=''; return false;">
+          $bentrydoc.name </a>created by  $xwiki.getLocalUserName($bentrydoc.author) on $xwiki.formatDate($bentrydoc.date,"MMMM dd, yyyy HH:mm") </td>
+    </tr>
+    #end
+    #end
+    </table>
+
+</div>
\ No newline at end of file

Added: xwiki/trunk/src/main/web/tiny_mce_2/blank.htm
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/blank.htm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/blank.htm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,9 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>blank_page</title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+</head>
+<body class="mceContentBody">
+
+</body>
+</html>

Added: xwiki/trunk/src/main/web/tiny_mce_2/langs/en.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/langs/en.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/langs/en.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,54 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+bold_desc : 'Bold (Ctrl+B)',
+italic_desc : 'Italic (Ctrl+I)',
+underline_desc : 'Underline (Ctrl+U)',
+striketrough_desc : 'Strikethrough',
+justifyleft_desc : 'Align left',
+justifycenter_desc : 'Align center',
+justifyright_desc : 'Align right',
+justifyfull_desc : 'Align full',
+bullist_desc : 'Unordered list',
+numlist_desc : 'Ordered list',
+outdent_desc : 'Outdent',
+indent_desc : 'Indent',
+undo_desc : 'Undo (Ctrl+Z)',
+redo_desc : 'Redo (Ctrl+Y)',
+link_desc : 'Insert/edit link',
+unlink_desc : 'Unlink',
+image_desc : 'Insert/edit image',
+cleanup_desc : 'Cleanup messy code',
+focus_alert : 'A editor instance must be focused before using this command.',
+edit_confirm : 'Do you want to use the WYSIWYG mode for this textarea?',
+insert_link_title : 'Insert/edit link',
+link_wiki_tab : 'Wiki',
+link_web_tab : 'Web',
+link_attachments_tab : 'Attachment',
+link_email_tab : 'Email',
+link_text_title : 'Text',
+link_space_title : 'Space',
+link_page_title : 'Link',
+link_wiki_browse_tab : 'Browse',
+link_wiki_search_tab : 'Search',
+link_wiki_recent_tab : 'Recently Viewed',
+link_attach_title : 'Attachment title',
+link_attachment_title : 'Attachment name',
+link_email_title : 'Email Address',
+insert : 'Insert',
+update : 'Update',
+cancel : 'Cancel',
+insert_link_url : 'Link URL',
+insert_link_target : 'Target',
+insert_link_target_same : 'Open link in the same window',
+insert_link_target_blank : 'Open link in a new window',
+insert_image_title : 'Insert/edit image',
+insert_image_src : 'Image URL',
+insert_image_alt : 'Image description',
+help_desc : 'Help',
+bold_img : "bold.gif",
+italic_img : "italic.gif",
+underline_img : "underline.gif",
+clipboard_msg : 'Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?',
+popup_blocked : 'Sorry, but we have noticed that your popup-blocker has disabled a window that provides application functionality. You will need to disable popup blocking on this site in order to fully utilize this tool.'
+});

Added: xwiki/trunk/src/main/web/tiny_mce_2/langs/readme.txt
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/langs/readme.txt	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/langs/readme.txt	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,7 @@
+Language packs are from version 2.0.5 removed from the core but can be downloadable from the TinyMCE website.
+http://tinymce.moxiecode.com/download.php
+
+The language pack codes are based on ISO-639-1
+http://www.loc.gov/standards/iso639-2/englangn.html
+
+Try using entires if possible. &aring; etc.

Added: xwiki/trunk/src/main/web/tiny_mce_2/license.txt
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/license.txt	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/license.txt	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,437 @@
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1991 Free Software Foundation, Inc.
+ 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+[This is the first released version of the library GPL.  It is
+ numbered 2 because it goes with version 2 of the ordinary GPL.]
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+Licenses are intended to guarantee your freedom to share and change
+free software--to make sure the software is free for all its users.
+
+  This license, the Library General Public License, applies to some
+specially designated Free Software Foundation software, and to any
+other libraries whose authors decide to use it.  You can use it for
+your libraries, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if
+you distribute copies of the library, or if you modify it.
+
+  For example, if you distribute copies of the library, whether gratis
+or for a fee, you must give the recipients all the rights that we gave
+you.  You must make sure that they, too, receive or can get the source
+code.  If you link a program with the library, you must provide
+complete object files to the recipients so that they can relink them
+with the library, after making changes to the library and recompiling
+it.  And you must show them these terms so they know their rights.
+
+  Our method of protecting your rights has two steps: (1) copyright
+the library, and (2) offer you this license which gives you legal
+permission to copy, distribute and/or modify the library.
+
+  Also, for each distributor's protection, we want to make certain
+that everyone understands that there is no warranty for this free
+library.  If the library is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original
+version, so that any problems introduced by others will not reflect on
+the original authors' reputations.
+.
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that companies distributing free
+software will individually obtain patent licenses, thus in effect
+transforming the program into proprietary software.  To prevent this,
+we have made it clear that any patent must be licensed for everyone's
+free use or not licensed at all.
+
+  Most GNU software, including some libraries, is covered by the ordinary
+GNU General Public License, which was designed for utility programs.  This
+license, the GNU Library General Public License, applies to certain
+designated libraries.  This license is quite different from the ordinary
+one; be sure to read it in full, and don't assume that anything in it is
+the same as in the ordinary license.
+
+  The reason we have a separate public license for some libraries is that
+they blur the distinction we usually make between modifying or adding to a
+program and simply using it.  Linking a program with a library, without
+changing the library, is in some sense simply using the library, and is
+analogous to running a utility program or application program.  However, in
+a textual and legal sense, the linked executable is a combined work, a
+derivative of the original library, and the ordinary General Public License
+treats it as such.
+
+  Because of this blurred distinction, using the ordinary General
+Public License for libraries did not effectively promote software
+sharing, because most developers did not use the libraries.  We
+concluded that weaker conditions might promote sharing better.
+
+  However, unrestricted linking of non-free programs would deprive the
+users of those programs of all benefit from the free status of the
+libraries themselves.  This Library General Public License is intended to
+permit developers of non-free programs to use free libraries, while
+preserving your freedom as a user of such programs to change the free
+libraries that are incorporated in them.  (We have not seen how to achieve
+this as regards changes in header files, but we have achieved it as regards
+changes in the actual functions of the Library.)  The hope is that this
+will lead to faster development of free libraries.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.  Pay close attention to the difference between a
+"work based on the library" and a "work that uses the library".  The
+former contains code derived from the library, while the latter only
+works together with the library.
+
+  Note that it is possible for a library to be covered by the ordinary
+General Public License rather than by this special one.
+.
+		  GNU LIBRARY GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License Agreement applies to any software library which
+contains a notice placed by the copyright holder or other authorized
+party saying it may be distributed under the terms of this Library
+General Public License (also called "this License").  Each licensee is
+addressed as "you".
+
+  A "library" means a collection of software functions and/or data
+prepared so as to be conveniently linked with application programs
+(which use some of those functions and data) to form executables.
+
+  The "Library", below, refers to any such software library or work
+which has been distributed under these terms.  A "work based on the
+Library" means either the Library or any derivative work under
+copyright law: that is to say, a work containing the Library or a
+portion of it, either verbatim or with modifications and/or translated
+straightforwardly into another language.  (Hereinafter, translation is
+included without limitation in the term "modification".)
+
+  "Source code" for a work means the preferred form of the work for
+making modifications to it.  For a library, complete source code means
+all the source code for all modules it contains, plus any associated
+interface definition files, plus the scripts used to control compilation
+and installation of the library.
+
+  Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running a program using the Library is not restricted, and output from
+such a program is covered only if its contents constitute a work based
+on the Library (independent of the use of the Library in a tool for
+writing it).  Whether that is true depends on what the Library does
+and what the program that uses the Library does.
+  
+  1. You may copy and distribute verbatim copies of the Library's
+complete source code as you receive it, in any medium, provided that
+you conspicuously and appropriately publish on each copy an
+appropriate copyright notice and disclaimer of warranty; keep intact
+all the notices that refer to this License and to the absence of any
+warranty; and distribute a copy of this License along with the
+Library.
+
+  You may charge a fee for the physical act of transferring a copy,
+and you may at your option offer warranty protection in exchange for a
+fee.
+.
+  2. You may modify your copy or copies of the Library or any portion
+of it, thus forming a work based on the Library, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) The modified work must itself be a software library.
+
+    b) You must cause the files modified to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    c) You must cause the whole of the work to be licensed at no
+    charge to all third parties under the terms of this License.
+
+    d) If a facility in the modified Library refers to a function or a
+    table of data to be supplied by an application program that uses
+    the facility, other than as an argument passed when the facility
+    is invoked, then you must make a good faith effort to ensure that,
+    in the event an application does not supply such function or
+    table, the facility still operates, and performs whatever part of
+    its purpose remains meaningful.
+
+    (For example, a function in a library to compute square roots has
+    a purpose that is entirely well-defined independent of the
+    application.  Therefore, Subsection 2d requires that any
+    application-supplied function or table used by this function must
+    be optional: if the application does not supply it, the square
+    root function must still compute square roots.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Library,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Library, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote
+it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Library.
+
+In addition, mere aggregation of another work not based on the Library
+with the Library (or with a work based on the Library) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may opt to apply the terms of the ordinary GNU General Public
+License instead of this License to a given copy of the Library.  To do
+this, you must alter all the notices that refer to this License, so
+that they refer to the ordinary GNU General Public License, version 2,
+instead of to this License.  (If a newer version than version 2 of the
+ordinary GNU General Public License has appeared, then you can specify
+that version instead if you wish.)  Do not make any other change in
+these notices.
+.
+  Once this change is made in a given copy, it is irreversible for
+that copy, so the ordinary GNU General Public License applies to all
+subsequent copies and derivative works made from that copy.
+
+  This option is useful when you wish to copy part of the code of
+the Library into a program that is not a library.
+
+  4. You may copy and distribute the Library (or a portion or
+derivative of it, under Section 2) in object code or executable form
+under the terms of Sections 1 and 2 above provided that you accompany
+it with the complete corresponding machine-readable source code, which
+must be distributed under the terms of Sections 1 and 2 above on a
+medium customarily used for software interchange.
+
+  If distribution of object code is made by offering access to copy
+from a designated place, then offering equivalent access to copy the
+source code from the same place satisfies the requirement to
+distribute the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  5. A program that contains no derivative of any portion of the
+Library, but is designed to work with the Library by being compiled or
+linked with it, is called a "work that uses the Library".  Such a
+work, in isolation, is not a derivative work of the Library, and
+therefore falls outside the scope of this License.
+
+  However, linking a "work that uses the Library" with the Library
+creates an executable that is a derivative of the Library (because it
+contains portions of the Library), rather than a "work that uses the
+library".  The executable is therefore covered by this License.
+Section 6 states terms for distribution of such executables.
+
+  When a "work that uses the Library" uses material from a header file
+that is part of the Library, the object code for the work may be a
+derivative work of the Library even though the source code is not.
+Whether this is true is especially significant if the work can be
+linked without the Library, or if the work is itself a library.  The
+threshold for this to be true is not precisely defined by law.
+
+  If such an object file uses only numerical parameters, data
+structure layouts and accessors, and small macros and small inline
+functions (ten lines or less in length), then the use of the object
+file is unrestricted, regardless of whether it is legally a derivative
+work.  (Executables containing this object code plus portions of the
+Library will still fall under Section 6.)
+
+  Otherwise, if the work is a derivative of the Library, you may
+distribute the object code for the work under the terms of Section 6.
+Any executables containing that work also fall under Section 6,
+whether or not they are linked directly with the Library itself.
+.
+  6. As an exception to the Sections above, you may also compile or
+link a "work that uses the Library" with the Library to produce a
+work containing portions of the Library, and distribute that work
+under terms of your choice, provided that the terms permit
+modification of the work for the customer's own use and reverse
+engineering for debugging such modifications.
+
+  You must give prominent notice with each copy of the work that the
+Library is used in it and that the Library and its use are covered by
+this License.  You must supply a copy of this License.  If the work
+during execution displays copyright notices, you must include the
+copyright notice for the Library among them, as well as a reference
+directing the user to the copy of this License.  Also, you must do one
+of these things:
+
+    a) Accompany the work with the complete corresponding
+    machine-readable source code for the Library including whatever
+    changes were used in the work (which must be distributed under
+    Sections 1 and 2 above); and, if the work is an executable linked
+    with the Library, with the complete machine-readable "work that
+    uses the Library", as object code and/or source code, so that the
+    user can modify the Library and then relink to produce a modified
+    executable containing the modified Library.  (It is understood
+    that the user who changes the contents of definitions files in the
+    Library will not necessarily be able to recompile the application
+    to use the modified definitions.)
+
+    b) Accompany the work with a written offer, valid for at
+    least three years, to give the same user the materials
+    specified in Subsection 6a, above, for a charge no more
+    than the cost of performing this distribution.
+
+    c) If distribution of the work is made by offering access to copy
+    from a designated place, offer equivalent access to copy the above
+    specified materials from the same place.
+
+    d) Verify that the user has already received a copy of these
+    materials or that you have already sent this user a copy.
+
+  For an executable, the required form of the "work that uses the
+Library" must include any data and utility programs needed for
+reproducing the executable from it.  However, as a special exception,
+the source code distributed need not include anything that is normally
+distributed (in either source or binary form) with the major
+components (compiler, kernel, and so on) of the operating system on
+which the executable runs, unless that component itself accompanies
+the executable.
+
+  It may happen that this requirement contradicts the license
+restrictions of other proprietary libraries that do not normally
+accompany the operating system.  Such a contradiction means you cannot
+use both them and the Library together in an executable that you
+distribute.
+.
+  7. You may place library facilities that are a work based on the
+Library side-by-side in a single library together with other library
+facilities not covered by this License, and distribute such a combined
+library, provided that the separate distribution of the work based on
+the Library and of the other library facilities is otherwise
+permitted, and provided that you do these two things:
+
+    a) Accompany the combined library with a copy of the same work
+    based on the Library, uncombined with any other library
+    facilities.  This must be distributed under the terms of the
+    Sections above.
+
+    b) Give prominent notice with the combined library of the fact
+    that part of it is a work based on the Library, and explaining
+    where to find the accompanying uncombined form of the same work.
+
+  8. You may not copy, modify, sublicense, link with, or distribute
+the Library except as expressly provided under this License.  Any
+attempt otherwise to copy, modify, sublicense, link with, or
+distribute the Library is void, and will automatically terminate your
+rights under this License.  However, parties who have received copies,
+or rights, from you under this License will not have their licenses
+terminated so long as such parties remain in full compliance.
+
+  9. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Library or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Library (or any work based on the
+Library), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Library or works based on it.
+
+  10. Each time you redistribute the Library (or any work based on the
+Library), the recipient automatically receives a license from the
+original licensor to copy, distribute, link with or modify the Library
+subject to these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+.
+  11. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Library at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Library by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Library.
+
+If any portion of this section is held invalid or unenforceable under any
+particular circumstance, the balance of the section is intended to apply,
+and the section as a whole is intended to apply in other circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  12. If the distribution and/or use of the Library is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Library under this License may add
+an explicit geographical distribution limitation excluding those countries,
+so that distribution is permitted only in or among countries not thus
+excluded.  In such case, this License incorporates the limitation as if
+written in the body of this License.
+
+  13. The Free Software Foundation may publish revised and/or new
+versions of the Library General Public License from time to time.
+Such new versions will be similar in spirit to the present version,
+but may differ in detail to address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Library
+specifies a version number of this License which applies to it and
+"any later version", you have the option of following the terms and
+conditions either of that version or of any later version published by
+the Free Software Foundation.  If the Library does not specify a
+license version number, you may choose any version ever published by
+the Free Software Foundation.
+.
+  14. If you wish to incorporate parts of the Library into other free
+programs whose distribution conditions are incompatible with these,
+write to the author to ask for permission.  For software which is
+copyrighted by the Free Software Foundation, write to the Free
+Software Foundation; we sometimes make exceptions for this.  Our
+decision will be guided by the two goals of preserving the free status
+of all derivatives of our free software and of promoting the sharing
+and reuse of software generally.
+
+			    NO WARRANTY
+
+  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
+WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
+EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
+OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
+KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
+LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
+THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
+WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
+AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
+FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
+CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
+LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
+RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
+FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
+SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGES.
+
+		     END OF TERMS AND CONDITIONS

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('template','en,tr,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl');var TinyMCE_TemplatePlugin={getInfo:function(){return{longname:'Template plugin',author:'Your name',authorurl:'http://www.yoursite.com',infourl:'http://www.yoursite.com/docs/template.html',version:"1.0"};},initInstance:function(inst){alert("Initialization parameter:"+tinyMCE.getParam("template_someparam",false));inst.addShortcut('ctrl','t','lang_template_desc','mceTemplate');},getControlHTML:function(cn){switch(cn){case"template":return tinyMCE.getButtonHTML(cn,'lang_template_desc','{$pluginurl}/images/template.gif','mceTemplate',true);}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceTemplate":if(user_interface){var template=new Array();template['file']='../../plugins/template/popup.htm';template['width']=300;template['height']=200;tinyMCE.openWindow(template,{editor_id:editor_id,some_custom_arg:"somecustomdata"});tinyMCE.triggerNodeChange(false);}else{alert("execCommand: mceTemplate gets called from popup.");}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node.parentNode.nodeName=="STRONG"||node.parentNode.nodeName=="B"){tinyMCE.switchClass(editor_id+'_template','mceButtonSelected');return true;}tinyMCE.switchClass(editor_id+'_template','mceButtonNormal');},setupContent:function(editor_id,body,doc){},onChange:function(inst){},handleEvent:function(e){top.status="template plugin event: "+e.type;return true;},cleanup:function(type,content,inst){switch(type){case"get_from_editor":alert("[FROM] Value HTML string: "+content);break;case"insert_to_editor":alert("[TO] Value HTML string: "+content);break;case"get_from_editor_dom":alert("[FROM] Value DOM Element "+content.innerHTML);break;case"insert_to_editor_dom":alert("[TO] Value DOM Element: "+content.innerHTML);break;}return content;},_someInternalFunction:function(a,b){return 1;}};tinyMCE.addPlugin("template",TinyMCE_TemplatePlugin);
\ No newline at end of file

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin_src.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin_src.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/editor_plugin_src.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,238 @@
+/**
+ * $RCSfile: editor_plugin_src.js,v $
+ * $Revision: 1.12 $
+ * $Date: 2006/02/22 20:06:23 $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('template', 'en,tr,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,fi,cy,es,is,pl'); // <- Add a comma separated list of all supported languages
+
+/****
+ * Steps for creating a plugin from this template:
+ *
+ * 1. Change all "template" to the name of your plugin.
+ * 2. Remove all the callbacks in this file that you don't need.
+ * 3. Remove the popup.htm file if you don't need any popups.
+ * 4. Add your custom logic to the callbacks you needed.
+ * 5. Write documentation in a readme.txt file on how to use the plugin.
+ * 6. Upload it under the "Plugins" section at sourceforge.
+ *
+ ****/
+
+// Singleton class
+var TinyMCE_TemplatePlugin = {
+	/**
+	 * Returns information about the plugin as a name/value array.
+	 * The current keys are longname, author, authorurl, infourl and version.
+	 *
+	 * @returns Name/value array containing information about the plugin.
+	 * @type Array 
+	 */
+	getInfo : function() {
+		return {
+			longname : 'Template plugin',
+			author : 'Your name',
+			authorurl : 'http://www.yoursite.com',
+			infourl : 'http://www.yoursite.com/docs/template.html',
+			version : "1.0"
+		};
+	},
+
+	/**
+	 * Gets executed when a TinyMCE editor instance is initialized.
+	 *
+	 * @param {TinyMCE_Control} Initialized TinyMCE editor control instance. 
+	 */
+	initInstance : function(inst) {
+		// You can take out plugin specific parameters
+		alert("Initialization parameter:" + tinyMCE.getParam("template_someparam", false));
+
+		// Register custom keyboard shortcut
+		inst.addShortcut('ctrl', 't', 'lang_template_desc', 'mceTemplate');
+	},
+
+	/**
+	 * Returns the HTML code for a specific control or empty string if this plugin doesn't have that control.
+	 * A control can be a button, select list or any other HTML item to present in the TinyMCE user interface.
+	 * The variable {$editor_id} will be replaced with the current editor instance id and {$pluginurl} will be replaced
+	 * with the URL of the plugin. Language variables such as {$lang_somekey} will also be replaced with contents from
+	 * the language packs.
+	 *
+	 * @param {string} cn Editor control/button name to get HTML for.
+	 * @return HTML code for a specific control or empty string.
+	 * @type string
+	 */
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "template":
+				return tinyMCE.getButtonHTML(cn, 'lang_template_desc', '{$pluginurl}/images/template.gif', 'mceTemplate', true);
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes a specific command, this function handles plugin commands.
+	 *
+	 * @param {string} editor_id TinyMCE editor instance id that issued the command.
+	 * @param {HTMLElement} element Body or root element for the editor instance.
+	 * @param {string} command Command name to be executed.
+	 * @param {string} user_interface True/false if a user interface should be presented.
+	 * @param {mixed} value Custom value argument, can be anything.
+	 * @return true/false if the command was executed by this plugin or not.
+	 * @type
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			// Remember to have the "mce" prefix for commands so they don't intersect with built in ones in the browser.
+			case "mceTemplate":
+				// Show UI/Popup
+				if (user_interface) {
+					// Open a popup window and send in some custom data in a window argument
+					var template = new Array();
+
+					template['file'] = '../../plugins/template/popup.htm'; // Relative to theme
+					template['width'] = 300;
+					template['height'] = 200;
+
+					tinyMCE.openWindow(template, {editor_id : editor_id, some_custom_arg : "somecustomdata"});
+
+					// Let TinyMCE know that something was modified
+					tinyMCE.triggerNodeChange(false);
+				} else {
+					// Do a command this gets called from the template popup
+					alert("execCommand: mceTemplate gets called from popup.");
+				}
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	/**
+	 * Gets called ones the cursor/selection in a TinyMCE instance changes. This is useful to enable/disable
+	 * button controls depending on where the user are and what they have selected. This method gets executed
+	 * alot and should be as performance tuned as possible.
+	 *
+	 * @param {string} editor_id TinyMCE editor instance id that was changed.
+	 * @param {HTMLNode} node Current node location, where the cursor is in the DOM tree.
+	 * @param {int} undo_index The current undo index, if this is -1 custom undo/redo is disabled.
+	 * @param {int} undo_levels The current undo levels, if this is -1 custom undo/redo is disabled.
+	 * @param {boolean} visual_aid Is visual aids enabled/disabled ex: dotted lines on tables.
+	 * @param {boolean} any_selection Is there any selection at all or is there only a cursor.
+	 */
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		// Select template button if parent node is a strong or b
+		if (node.parentNode.nodeName == "STRONG" || node.parentNode.nodeName == "B") {
+			tinyMCE.switchClass(editor_id + '_template', 'mceButtonSelected');
+			return true;
+		}
+
+		// Deselect template button
+		tinyMCE.switchClass(editor_id + '_template', 'mceButtonNormal');
+	},
+
+	/**
+	 * Gets called when a TinyMCE editor instance gets filled with content on startup.
+	 *
+	 * @param {string} editor_id TinyMCE editor instance id that was filled with content.
+	 * @param {HTMLElement} body HTML body element of editor instance.
+	 * @param {HTMLDocument} doc HTML document instance.
+	 */
+	setupContent : function(editor_id, body, doc) {
+	},
+
+	/**
+	 * Gets called when the contents of a TinyMCE area is modified, in other words when a undo level is
+	 * added.
+	 *
+	 * @param {TinyMCE_Control} inst TinyMCE editor area control instance that got modified.
+	 */
+	onChange : function(inst) {
+	},
+
+	/**
+	 * Gets called when TinyMCE handles events such as keydown, mousedown etc. TinyMCE
+	 * doesn't listen on all types of events so custom event handling may be required for
+	 * some purposes.
+	 *
+	 * @param {Event} e HTML editor event reference.
+	 * @return true - pass to next handler in chain, false - stop chain execution
+	 * @type boolean
+	 */
+	handleEvent : function(e) {
+		// Display event type in statusbar
+		top.status = "template plugin event: " + e.type;
+
+		return true; // Pass to next handler
+	},
+
+	/**
+	 * Gets called when HTML contents is inserted or retrived from a TinyMCE editor instance.
+	 * The type parameter contains what type of event that was performed and what format the content is in.
+	 * Possible valuses for type is get_from_editor, insert_to_editor, get_from_editor_dom, insert_to_editor_dom.
+	 *
+	 * @param {string} type Cleanup event type.
+	 * @param {mixed} content Editor contents that gets inserted/extracted can be a string or DOM element.
+	 * @param {TinyMCE_Control} inst TinyMCE editor instance control that performes the cleanup.
+	 * @return New content or the input content depending on action.
+	 * @type string
+	 */
+	cleanup : function(type, content, inst) {
+		switch (type) {
+			case "get_from_editor":
+				alert("[FROM] Value HTML string: " + content);
+
+				// Do custom cleanup code here
+
+				break;
+
+			case "insert_to_editor":
+				alert("[TO] Value HTML string: " + content);
+
+				// Do custom cleanup code here
+
+				break;
+
+			case "get_from_editor_dom":
+				alert("[FROM] Value DOM Element " + content.innerHTML);
+
+				// Do custom cleanup code here
+
+				break;
+
+			case "insert_to_editor_dom":
+				alert("[TO] Value DOM Element: " + content.innerHTML);
+
+				// Do custom cleanup code here
+
+				break;
+		}
+
+		return content;
+	},
+
+	// Private plugin internal methods
+
+	/**
+	 * This is just a internal plugin method, prefix all internal methods with a _ character.
+	 * The prefix is needed so they doesn't collide with future TinyMCE callback functions.
+	 *
+	 * @param {string} a Some arg1.
+	 * @param {string} b Some arg2.
+	 * @return Some return.
+	 * @type string
+	 */
+	_someInternalFunction : function(a, b) {
+		return 1;
+	}
+};
+
+// Adds the plugin class to the list of available TinyMCE plugins
+tinyMCE.addPlugin("template", TinyMCE_TemplatePlugin);

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/images/template.gif
===================================================================
(Binary files differ)


Property changes on: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/images/template.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/langs/en.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/langs/en.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/langs/en.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,8 @@
+// UK lang variables
+
+/* Remember to namespace the language parameters lang_<your plugin>_<some name> */
+
+tinyMCE.addToLang('',{
+template_title : 'This is just a template popup',
+template_desc : 'This is just a template button'
+});

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/popup.htm
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/popup.htm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/popup.htm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,48 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_template_title}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript">
+	<!--
+		function init() {
+			var inst = tinyMCE.selectedInstance;
+			var elm = inst.getFocusElement();
+
+			alert("Got a window argument from plugin: " + tinyMCE.getWindowArg('some_custom_arg'));
+
+			// Set the form item value to the selected node element name
+			document.forms[0].nodename.value = elm.nodeName;
+		}
+
+		function insertSomething() {
+			// Execute the mceTemplate command without UI this time
+			tinyMCEPopup.execCommand('mceTemplate');
+
+			// Close the dialog
+			tinyMCEPopup.close();
+		}
+	//-->
+	</script>
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');"> 
+	<form onsubmit="insert();return false;">
+		<h3>{$lang_template_title}</h3>
+
+		<!-- Gets filled with the selected elements name -->
+		<div style="margin-top: 10px; margin-bottom: 10px">
+			The selected element name: <input type="text" name="nodename" />
+		</div>
+
+		<div class="mceActionPanel">
+			<div style="float: left">
+				<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertSomething();" />
+			</div>
+
+			<div style="float: right">
+				<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+			</div>
+		</div>
+	</form>
+</body> 
+</html> 

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/readme.txt
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/readme.txt	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/_template/readme.txt	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1 @@
+This is a template/tutorial plugin that where created to help you in the development of own plugins for TinyMCE.
\ No newline at end of file

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/css/advhr.css
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/css/advhr.css	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/css/advhr.css	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,23 @@
+input.radio {
+	border: 1px none #000000;
+	background-color: 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;
+}

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('advhr','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk');var TinyMCE_AdvancedHRPlugin={getInfo:function(){return{longname:'Advanced HR',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion}},getControlHTML:function(cn){switch(cn){case"advhr":return tinyMCE.getButtonHTML(cn,'lang_insert_advhr_desc','{$pluginurl}/images/advhr.gif','mceAdvancedHr');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvancedHr":var template=new Array();template['file']='../../plugins/advhr/rule.htm';template['width']=250;template['height']=160;template['width']+=tinyMCE.getLang('lang_advhr_delta_width',0);template['height']+=tinyMCE.getLang('lang_advhr_delta_height',0);var size="",width="",noshade="";if(tinyMCE.selectedElement!=null&&tinyMCE.selectedElement.nodeName.toLowerCase()=="hr"){tinyMCE.hrElement=tinyMCE.selectedElement;if(tinyMCE.hrElement){size=tinyMCE.hrElement.getAttribute('size')?tinyMCE.hrElement.getAttribute('size'):"";width=tinyMCE.hrElement.getAttribute('width')?tinyMCE.hrElement.getAttribute('width'):"";noshade=tinyMCE.hrElement.getAttribute('noshade')?tinyMCE.hrElement.getAttribute('noshade'):"";}tinyMCE.openWindow(template,{editor_id:editor_id,size:size,width:width,noshade:noshade,mceDo:'update'});}else{if(tinyMCE.isMSIE){tinyMCE.execInstanceCommand(editor_id,'mceInsertContent',false,'<hr />');}else{tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes",size:size,width:width,noshade:noshade,mceDo:'insert'});}}return true;}return false;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="HR"){tinyMCE.switchClass(editor_id+'_advhr','mceButtonSelected');return true;}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_advhr','mceButtonNormal');return true;}};tinyMCE.addPlugin("advhr",TinyMCE_AdvancedHRPlugin);
\ No newline at end of file

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin_src.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin_src.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/editor_plugin_src.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,92 @@
+/**
+ * $RCSfile: editor_plugin_src.js,v $
+ * $Revision: 1.19 $
+ * $Date: 2006/02/10 16:29:37 $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('advhr', 'en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,da,he,nb,hu,ru,ru_KOI8-R,ru_UTF-8,nn,fi,es,cy,is,zh_tw,zh_tw_utf8,sk');
+
+var TinyMCE_AdvancedHRPlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Advanced HR',
+			author : 'Moxiecode Systems',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advhr.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		}
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "advhr":
+				return tinyMCE.getButtonHTML(cn, 'lang_insert_advhr_desc', '{$pluginurl}/images/advhr.gif', 'mceAdvancedHr');
+		}
+
+		return "";
+	},
+
+	/**
+	 * Executes the mceAdvanceHr command.
+	 */
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		// Handle commands
+		switch (command) {
+			case "mceAdvancedHr":
+				var template = new Array();
+
+				template['file']   = '../../plugins/advhr/rule.htm'; // Relative to theme
+				template['width']  = 250;
+				template['height'] = 160;
+
+				template['width']  += tinyMCE.getLang('lang_advhr_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_advhr_delta_height', 0);
+
+				var size = "", width = "", noshade = "";
+				if (tinyMCE.selectedElement != null && tinyMCE.selectedElement.nodeName.toLowerCase() == "hr") {
+					tinyMCE.hrElement = tinyMCE.selectedElement;
+
+					if (tinyMCE.hrElement) {
+						size    = tinyMCE.hrElement.getAttribute('size') ? tinyMCE.hrElement.getAttribute('size') : "";
+						width   = tinyMCE.hrElement.getAttribute('width') ? tinyMCE.hrElement.getAttribute('width') : "";
+						noshade = tinyMCE.hrElement.getAttribute('noshade') ? tinyMCE.hrElement.getAttribute('noshade') : "";
+					}
+
+					tinyMCE.openWindow(template, {editor_id : editor_id, size : size, width : width, noshade : noshade, mceDo : 'update'});
+				} else {
+					if (tinyMCE.isMSIE) {
+						tinyMCE.execInstanceCommand(editor_id, 'mceInsertContent', false,'<hr />');
+					} else {
+						tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes", size : size, width : width, noshade : noshade, mceDo : 'insert'});
+					}
+				}
+
+				return true;
+		}
+
+		// Pass to next handler in chain
+		return false;
+	},
+
+	handleNodeChange : function(editor_id, node, undo_index, undo_levels, visual_aid, any_selection) {
+		if (node == null)
+			return;
+
+		do {
+			if (node.nodeName == "HR") {
+				tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonSelected');
+				return true;
+			}
+		} while ((node = node.parentNode));
+
+		tinyMCE.switchClass(editor_id + '_advhr', 'mceButtonNormal');
+
+		return true;
+	}
+};
+
+tinyMCE.addPlugin("advhr", TinyMCE_AdvancedHRPlugin);

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/images/advhr.gif
===================================================================
(Binary files differ)


Property changes on: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/images/advhr.gif
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/jscripts/rule.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/jscripts/rule.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/jscripts/rule.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,41 @@
+function init() {
+	var formObj = document.forms[0];
+	formObj.width.value  = tinyMCE.getWindowArg('width');
+	formObj.size.value   = tinyMCE.getWindowArg('size');
+	formObj.insert.value = tinyMCE.getLang('lang_' + tinyMCE.getWindowArg('mceDo'),'Insert',true);
+	if (tinyMCE.getWindowArg('noshade')) {
+		formObj.noshade.checked = true;
+	}
+	if (tinyMCE.getWindowArg('width').lastIndexOf('%')!=-1) {
+		formObj.width2.value = "%";
+		formObj.width.value  = formObj.width.value.substring(0,formObj.width.value.length-1);
+	}
+}
+
+function insertHR() {
+	var formObj = document.forms[0];
+	var width   = formObj.width.value;
+	var size    = formObj.size.value;
+	var html = '<hr';
+	if (size!='' && size!=0) {
+		html += ' size="' + size + '"';
+	}
+	if (width!='' && width!=0) {
+		html += ' width="' + width;
+		if (formObj.width2.value=='%') {
+			html += '%';
+		}
+		html += '"';
+	}
+	if (formObj.noshade.checked==true) {
+		html += ' noshade="noshade"';
+	}
+	html += ' />';
+
+	tinyMCEPopup.execCommand("mceInsertContent", true, html);
+	tinyMCEPopup.close();
+}
+
+function cancelAction() {
+	tinyMCEPopup.close();
+}

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/langs/en.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/langs/en.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/langs/en.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,8 @@
+// UK lang variables
+
+tinyMCE.addToLang('',{
+insert_advhr_desc : 'Horizontale rule',
+insert_advhr_width : 'Width',
+insert_advhr_size : 'Height',
+insert_advhr_noshade : 'No shadow'
+});

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/readme.txt
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/readme.txt	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/readme.txt	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1 @@
+Check the TinyMCE documentation for details on this plugin.

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/rule.htm
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/rule.htm	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advhr/rule.htm	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,61 @@
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+	<title>{$lang_insert_advhr_desc}</title>
+	<script language="javascript" type="text/javascript" src="../../tiny_mce_popup.js"></script>
+	<script language="javascript" type="text/javascript" src="jscripts/rule.js"></script>
+	<script language="javascript" type="text/javascript" src="../../utils/mctabs.js"></script>
+	<link href="css/advhr.css" rel="stylesheet" type="text/css" />
+	<base target="_self" />
+</head>
+<body onload="tinyMCEPopup.executeOnLoad('init();');">
+<form onsubmit="insertHR();return false;" action="#">
+	<div class="tabs">
+		<ul>
+			<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{$lang_insert_advhr_desc}</a></span></li>
+		</ul>
+	</div>
+
+	<div class="panel_wrapper">
+		<div id="general_panel" class="panel current">
+			<table border="0" cellpadding="4" cellspacing="0">
+                    <tr>
+                        <td><label for="width">{$lang_insert_advhr_width}</label></td>
+                        <td nowrap="nowrap">
+                            <input id="width" name="width" type="text" value="" />
+                            <select name="width2" id="width2">
+                                <option value="">px</option>
+                                <option value="%">%</option>
+                            </select>
+                        </td>
+                    </tr>
+                    <tr>
+                        <td><label for="size">{$lang_insert_advhr_size}</label></td>
+                        <td><select id="size" name="size">
+                            <option value="">Normal</option>
+                            <option value="1">1</option>
+                            <option value="2">2</option>
+                            <option value="3">3</option>
+                            <option value="4">4</option>
+                            <option value="5">5</option>
+                        </select></td>
+                    </tr>
+                    <tr>
+                        <td><label for="noshade">{$lang_insert_advhr_noshade}</label></td>
+                        <td><input type="checkbox" name="noshade" id="noshade" class="radio" /></td>
+                    </tr>
+            </table>
+		</div>
+	</div>
+
+	<div class="mceActionPanel">
+		<div style="float: left">
+			<input type="button" id="insert" name="insert" value="{$lang_insert}" onclick="insertHR();" />
+		</div>
+
+		<div style="float: right">
+			<input type="button" id="cancel" name="cancel" value="{$lang_cancel}" onclick="tinyMCEPopup.close();" />
+		</div>
+	</div>
+</form>
+</body>
+</html>

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/css/advimage.css
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/css/advimage.css	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/css/advimage.css	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,66 @@
+/* CSS file for advimage plugin popup */
+
+.mceImageList {
+	width: 280px;
+}
+
+.mceActionPanel {
+	margin-top: 7px;
+}
+
+.alignPreview {
+	border: 1px solid black;
+	width: 140px;
+	height: 140px;
+	overflow: hidden;
+	padding: 5px;
+}
+
+.checkbox {
+	border: 0;
+}
+
+.panel_wrapper div.current {
+	height: 305px;
+}
+
+#prev {
+	margin: 0;
+	border: 1px
+	solid black;
+	width: 99%;
+	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;
+}
+
+#classlist {
+	width: 180px;
+}
+
+input {
+	width: 280px;
+}
+
+#constrain, #onmousemovecheck {
+	width: auto;
+}
+
+#id, #dir, #lang, #usemap, #longdesc {
+	width: 200px;
+}

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1 @@
+tinyMCE.importPluginLanguagePack('advimage','en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,es,is,zh_tw,zh_tw_utf8,sk,da');var TinyMCE_AdvancedImagePlugin={getInfo:function(){return{longname:'Advanced image',author:'Moxiecode Systems',authorurl:'http://tinymce.moxiecode.com',infourl:'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',version:tinyMCE.majorVersion+"."+tinyMCE.minorVersion};},getControlHTML:function(cn){switch(cn){case"image":return tinyMCE.getButtonHTML(cn,'lang_image_desc','{$themeurl}/images/image.gif','mceAdvImage');}return"";},execCommand:function(editor_id,element,command,user_interface,value){switch(command){case"mceAdvImage":var template=new Array();template['file']='../../plugins/advimage/image.htm';template['width']=480;template['height']=380;template['width']+=tinyMCE.getLang('lang_advimage_delta_width',0);template['height']+=tinyMCE.getLang('lang_advimage_delta_height',0);var inst=tinyMCE.getInstanceById(editor_id);var elm=inst.getFocusElement();if(elm!=null&&tinyMCE.getAttrib(elm,'class').indexOf('mceItem')!=-1)return true;tinyMCE.openWindow(template,{editor_id:editor_id,inline:"yes"});return true;}return false;},cleanup:function(type,content){switch(type){case"insert_to_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=this._getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseover',"this.src='"+src+"';");}if((src=this._getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'],src);imgs[i].setAttribute('onmouseout',"this.src='"+src+"';");}}break;case"get_from_editor_dom":var imgs=content.getElementsByTagName("img");for(var i=0;i<imgs.length;i++){var onmouseover=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseover'));var onmouseout=tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i],'onmouseout'));if((src=this._getImageSrc(onmouseover))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseover',"this.src='"+src+"';");}if((src=this._getImageSrc(onmouseout))!=""){if(tinyMCE.getParam('convert_urls'))src=eval(tinyMCE.settings['urlconverter_callback']+"(src, null, true);");imgs[i].setAttribute('onmouseout',"this.src='"+src+"';");}}break;}return content;},handleNodeChange:function(editor_id,node,undo_index,undo_levels,visual_aid,any_selection){if(node==null)return;do{if(node.nodeName=="IMG"&&tinyMCE.getAttrib(node,'class').indexOf('mceItem')==-1){tinyMCE.switchClass(editor_id+'_advimage','mceButtonSelected');return true;}}while((node=node.parentNode));tinyMCE.switchClass(editor_id+'_advimage','mceButtonNormal');return true;},_getImageSrc:function(s){var sr,p=-1;if(!s)return"";if((p=s.indexOf('this.src='))!=-1){sr=s.substring(p+10);sr=sr.substring(0,sr.indexOf('\''));return sr;}return"";}};tinyMCE.addPlugin("advimage",TinyMCE_AdvancedImagePlugin);
\ No newline at end of file

Added: xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin_src.js
===================================================================
--- xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin_src.js	2006-11-02 15:21:11 UTC (rev 1496)
+++ xwiki/trunk/src/main/web/tiny_mce_2/plugins/advimage/editor_plugin_src.js	2006-11-03 04:42:49 UTC (rev 1497)
@@ -0,0 +1,150 @@
+/**
+ * $RCSfile: editor_plugin_src.js,v $
+ * $Revision: 1.30 $
+ * $Date: 2006/02/10 16:29:37 $
+ *
+ * @author Moxiecode
+ * @copyright Copyright © 2004-2006, Moxiecode Systems AB, All rights reserved.
+ */
+
+/* Import plugin specific language pack */
+tinyMCE.importPluginLanguagePack('advimage', 'en,tr,de,sv,zh_cn,cs,fa,fr_ca,fr,pl,pt_br,nl,he,nb,ru,ru_KOI8-R,ru_UTF-8,nn,cy,es,is,zh_tw,zh_tw_utf8,sk,da');
+
+var TinyMCE_AdvancedImagePlugin = {
+	getInfo : function() {
+		return {
+			longname : 'Advanced image',
+			author : 'Moxiecode Systems',
+			authorurl : 'http://tinymce.moxiecode.com',
+			infourl : 'http://tinymce.moxiecode.com/tinymce/docs/plugin_advimage.html',
+			version : tinyMCE.majorVersion + "." + tinyMCE.minorVersion
+		};
+	},
+
+	getControlHTML : function(cn) {
+		switch (cn) {
+			case "image":
+				return tinyMCE.getButtonHTML(cn, 'lang_image_desc', '{$themeurl}/images/image.gif', 'mceAdvImage');
+		}
+
+		return "";
+	},
+
+	execCommand : function(editor_id, element, command, user_interface, value) {
+		switch (command) {
+			case "mceAdvImage":
+				var template = new Array();
+
+				template['file']   = '../../plugins/advimage/image.htm';
+				template['width']  = 480;
+				template['height'] = 380;
+
+				// Language specific width and height addons
+				template['width']  += tinyMCE.getLang('lang_advimage_delta_width', 0);
+				template['height'] += tinyMCE.getLang('lang_advimage_delta_height', 0);
+
+				var inst = tinyMCE.getInstanceById(editor_id);
+				var elm = inst.getFocusElement();
+
+				if (elm != null && tinyMCE.getAttrib(elm, 'class').indexOf('mceItem') != -1)
+					return true;
+
+				tinyMCE.openWindow(template, {editor_id : editor_id, inline : "yes"});
+
+				return true;
+		}
+
+		return false;
+	},
+
+	cleanup : function(type, content) {
+		switch (type) {
+			case "insert_to_editor_dom":
+				var imgs = content.getElementsByTagName("img");
+				for (var i=0; i<imgs.length; i++) {
+					var onmouseover = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseover'));
+					var onmouseout = tinyMCE.cleanupEventStr(tinyMCE.getAttrib(imgs[i], 'onmouseout'));
+
+					if ((src = this._getImageSrc(onmouseover)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+
+						imgs[i].setAttribute('onmouseover', "this.src='" + src + "';");
+					}
+
+					if ((src = this._getImageSrc(onmouseout)) != "") {
+						if (tinyMCE.getParam('convert_urls'))
+							src = tinyMCE.convertRelativeToAbsoluteURL(tinyMCE.settings['base_href'], src);
+
+						imgs[i].setAttribute('onmouseout', "this.src='" + src + "';");
+					}
+				}
+				break;
+
+			case "get_from_editor_dom":
+				var imgs = content.getElementsByTagName("img");
+				for