kitsune 0.0.18 → 0.0.19
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/generators/kitsune/kitsune_generator.rb +14 -1
- data/generators/kitsune/templates/javascripts/tiny_mce/langs/en.js +154 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/license.txt +504 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +54 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advhr/rule.htm +62 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +47 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/image.htm +237 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +58 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/advlink/link.htm +338 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +114 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +51 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +117 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +95 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +79 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +40 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/dialog.htm +27 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +81 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +146 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +576 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +461 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +145 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +110 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +51 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +632 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +80 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +209 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +411 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/media/media.htm +822 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +50 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +87 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +74 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +531 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/pastetext.htm +33 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/paste/pasteword.htm +27 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +50 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/preview/example.html +28 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +31 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/safari/blank.htm +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/safari/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/safari/editor_plugin_src.js +438 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +98 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +54 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +126 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +104 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +338 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +52 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/style/props.htm +730 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +109 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/cell.htm +183 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1202 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/js/cell.js +269 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/js/merge_cells.js +29 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/js/row.js +212 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/js/table.js +440 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/merge_cells.htm +37 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/row.htm +160 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/table/table.htm +192 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +156 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/template/template.htm +38 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +73 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +95 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +148 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +148 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +153 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +148 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +169 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +136 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +169 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +25 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +25 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +123 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +25 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +60 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +231 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +59 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/about.htm +56 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/anchor.htm +31 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/charmap.htm +53 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/color_picker.htm +75 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1153 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/image.htm +85 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/charmap.js +325 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/link.htm +63 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/content.css +32 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +116 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +214 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +32 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +115 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +215 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/advanced/source_editor.htm +31 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/tiny_mce.js +1 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/tiny_mce_src.js +13231 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/utils/editable_selects.js +69 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/utils/form_utils.js +199 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/utils/mctabs.js +76 -0
- data/generators/kitsune/templates/javascripts/tiny_mce/utils/validate.js +219 -0
- data/lib/kitsune.rb +1 -1
- metadata +243 -2
- data/generators/kitsune/templates/javascripts/nicEdit.js +0 -102
@@ -0,0 +1,9 @@
|
|
1
|
+
input.field, select.field {width:200px;}
|
2
|
+
input.picker {width:179px; margin-left: 5px;}
|
3
|
+
input.disabled {border-color:#F2F2F2;}
|
4
|
+
img.picker {vertical-align:text-bottom; cursor:pointer;}
|
5
|
+
h1 {padding: 0 0 5px 0;}
|
6
|
+
.panel_wrapper div.current {height:160px;}
|
7
|
+
#xhtmlxtrasdel .panel_wrapper div.current, #xhtmlxtrasins .panel_wrapper div.current {height: 230px;}
|
8
|
+
a.browse span {display:block; width:20px; height:20px; background:url('../../../themes/advanced/img/icons.gif') -140px -20px;}
|
9
|
+
#datetime {width:180px;}
|
@@ -0,0 +1,169 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title>{#xhtmlxtras_dlg.title_del_element}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
7
|
+
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
8
|
+
<script type="text/javascript" src="../../utils/editable_selects.js"></script>
|
9
|
+
<script type="text/javascript" src="js/element_common.js"></script>
|
10
|
+
<script type="text/javascript" src="js/del.js"></script>
|
11
|
+
<link rel="stylesheet" type="text/css" href="css/popup.css" />
|
12
|
+
</head>
|
13
|
+
<body id="xhtmlxtrasins" style="display: none">
|
14
|
+
<form onsubmit="insertDel();return false;" action="#">
|
15
|
+
<div class="tabs">
|
16
|
+
<ul>
|
17
|
+
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
|
18
|
+
<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="panel_wrapper">
|
23
|
+
<div id="general_panel" class="panel current">
|
24
|
+
<fieldset>
|
25
|
+
<legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
|
26
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
27
|
+
<tr>
|
28
|
+
<td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
|
29
|
+
<td>
|
30
|
+
<table border="0" cellspacing="0" cellpadding="0">
|
31
|
+
<tr>
|
32
|
+
<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
|
33
|
+
<td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
|
40
|
+
<td><input id="cite" name="cite" type="text" value="" class="field" /></td>
|
41
|
+
</tr>
|
42
|
+
</table>
|
43
|
+
</fieldset>
|
44
|
+
<fieldset>
|
45
|
+
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
|
46
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
47
|
+
<tr>
|
48
|
+
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
|
49
|
+
<td><input id="title" name="title" type="text" value="" class="field" /></td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
|
53
|
+
<td><input id="id" name="id" type="text" value="" class="field" /></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
|
57
|
+
<td>
|
58
|
+
<select id="class" name="class" class="field mceEditableSelect">
|
59
|
+
<option value="">{#not_set}</option>
|
60
|
+
</select>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
|
65
|
+
<td><input id="style" name="style" type="text" value="" class="field" /></td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
|
69
|
+
<td>
|
70
|
+
<select id="dir" name="dir" class="field">
|
71
|
+
<option value="">{#not_set}</option>
|
72
|
+
<option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
|
73
|
+
<option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
|
74
|
+
</select>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
|
79
|
+
<td>
|
80
|
+
<input id="lang" name="lang" type="text" value="" class="field" />
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
</table>
|
84
|
+
</fieldset>
|
85
|
+
</div>
|
86
|
+
<div id="events_panel" class="panel">
|
87
|
+
<fieldset>
|
88
|
+
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
|
89
|
+
|
90
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
91
|
+
<tr>
|
92
|
+
<td class="label"><label for="onfocus">onfocus</label>:</td>
|
93
|
+
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
|
94
|
+
</tr>
|
95
|
+
|
96
|
+
<tr>
|
97
|
+
<td class="label"><label for="onblur">onblur</label>:</td>
|
98
|
+
<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
|
99
|
+
</tr>
|
100
|
+
|
101
|
+
<tr>
|
102
|
+
<td class="label"><label for="onclick">onclick</label>:</td>
|
103
|
+
<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
|
104
|
+
</tr>
|
105
|
+
|
106
|
+
<tr>
|
107
|
+
<td class="label"><label for="ondblclick">ondblclick</label>:</td>
|
108
|
+
<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
|
109
|
+
</tr>
|
110
|
+
|
111
|
+
<tr>
|
112
|
+
<td class="label"><label for="onmousedown">onmousedown</label>:</td>
|
113
|
+
<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
|
114
|
+
</tr>
|
115
|
+
|
116
|
+
<tr>
|
117
|
+
<td class="label"><label for="onmouseup">onmouseup</label>:</td>
|
118
|
+
<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
|
119
|
+
</tr>
|
120
|
+
|
121
|
+
<tr>
|
122
|
+
<td class="label"><label for="onmouseover">onmouseover</label>:</td>
|
123
|
+
<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
|
124
|
+
</tr>
|
125
|
+
|
126
|
+
<tr>
|
127
|
+
<td class="label"><label for="onmousemove">onmousemove</label>:</td>
|
128
|
+
<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
|
129
|
+
</tr>
|
130
|
+
|
131
|
+
<tr>
|
132
|
+
<td class="label"><label for="onmouseout">onmouseout</label>:</td>
|
133
|
+
<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
|
134
|
+
</tr>
|
135
|
+
|
136
|
+
<tr>
|
137
|
+
<td class="label"><label for="onkeypress">onkeypress</label>:</td>
|
138
|
+
<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
|
139
|
+
</tr>
|
140
|
+
|
141
|
+
<tr>
|
142
|
+
<td class="label"><label for="onkeydown">onkeydown</label>:</td>
|
143
|
+
<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
|
144
|
+
</tr>
|
145
|
+
|
146
|
+
<tr>
|
147
|
+
<td class="label"><label for="onkeyup">onkeyup</label>:</td>
|
148
|
+
<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
|
149
|
+
</tr>
|
150
|
+
</table>
|
151
|
+
</fieldset>
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
<div class="mceActionPanel">
|
155
|
+
<div style="float: left">
|
156
|
+
<input type="submit" id="insert" name="insert" value="{#update}" />
|
157
|
+
</div>
|
158
|
+
<div style="float: left">
|
159
|
+
<input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeDel();" style="display: none;" />
|
160
|
+
</div>
|
161
|
+
<div style="float: right">
|
162
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
</form>
|
167
|
+
|
168
|
+
</body>
|
169
|
+
</html>
|
@@ -0,0 +1 @@
|
|
1
|
+
(function(){tinymce.create("tinymce.plugins.XHTMLXtrasPlugin",{init:function(b,c){b.addCommand("mceCite",function(){b.windowManager.open({file:c+"/cite.htm",width:350+parseInt(b.getLang("xhtmlxtras.cite_delta_width",0)),height:250+parseInt(b.getLang("xhtmlxtras.cite_delta_height",0)),inline:1},{plugin_url:c})});b.addCommand("mceAcronym",function(){b.windowManager.open({file:c+"/acronym.htm",width:350+parseInt(b.getLang("xhtmlxtras.acronym_delta_width",0)),height:250+parseInt(b.getLang("xhtmlxtras.acronym_delta_width",0)),inline:1},{plugin_url:c})});b.addCommand("mceAbbr",function(){b.windowManager.open({file:c+"/abbr.htm",width:350+parseInt(b.getLang("xhtmlxtras.abbr_delta_width",0)),height:250+parseInt(b.getLang("xhtmlxtras.abbr_delta_width",0)),inline:1},{plugin_url:c})});b.addCommand("mceDel",function(){b.windowManager.open({file:c+"/del.htm",width:340+parseInt(b.getLang("xhtmlxtras.del_delta_width",0)),height:310+parseInt(b.getLang("xhtmlxtras.del_delta_width",0)),inline:1},{plugin_url:c})});b.addCommand("mceIns",function(){b.windowManager.open({file:c+"/ins.htm",width:340+parseInt(b.getLang("xhtmlxtras.ins_delta_width",0)),height:310+parseInt(b.getLang("xhtmlxtras.ins_delta_width",0)),inline:1},{plugin_url:c})});b.addCommand("mceAttributes",function(){b.windowManager.open({file:c+"/attributes.htm",width:380,height:370,inline:1},{plugin_url:c})});b.addButton("cite",{title:"xhtmlxtras.cite_desc",cmd:"mceCite"});b.addButton("acronym",{title:"xhtmlxtras.acronym_desc",cmd:"mceAcronym"});b.addButton("abbr",{title:"xhtmlxtras.abbr_desc",cmd:"mceAbbr"});b.addButton("del",{title:"xhtmlxtras.del_desc",cmd:"mceDel"});b.addButton("ins",{title:"xhtmlxtras.ins_desc",cmd:"mceIns"});b.addButton("attribs",{title:"xhtmlxtras.attribs_desc",cmd:"mceAttributes"});if(tinymce.isIE){function a(d,e){if(e.set){e.content=e.content.replace(/<abbr([^>]+)>/gi,"<html:abbr $1>");e.content=e.content.replace(/<\/abbr>/gi,"</html:abbr>")}}b.onBeforeSetContent.add(a);b.onPostProcess.add(a)}b.onNodeChange.add(function(e,d,g,f){g=e.dom.getParent(g,"CITE,ACRONYM,ABBR,DEL,INS");d.setDisabled("cite",f);d.setDisabled("acronym",f);d.setDisabled("abbr",f);d.setDisabled("del",f);d.setDisabled("ins",f);d.setDisabled("attribs",g&&g.nodeName=="BODY");d.setActive("cite",0);d.setActive("acronym",0);d.setActive("abbr",0);d.setActive("del",0);d.setActive("ins",0);if(g){do{d.setDisabled(g.nodeName.toLowerCase(),0);d.setActive(g.nodeName.toLowerCase(),1)}while(g=g.parentNode)}})},getInfo:function(){return{longname:"XHTML Xtras Plugin",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("xhtmlxtras",tinymce.plugins.XHTMLXtrasPlugin)})();
|
data/generators/kitsune/templates/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js
ADDED
@@ -0,0 +1,136 @@
|
|
1
|
+
/**
|
2
|
+
* $Id: editor_plugin_src.js 201 2007-02-12 15:56:56Z spocke $
|
3
|
+
*
|
4
|
+
* @author Moxiecode
|
5
|
+
* @copyright Copyright � 2004-2008, Moxiecode Systems AB, All rights reserved.
|
6
|
+
*/
|
7
|
+
|
8
|
+
(function() {
|
9
|
+
tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', {
|
10
|
+
init : function(ed, url) {
|
11
|
+
// Register commands
|
12
|
+
ed.addCommand('mceCite', function() {
|
13
|
+
ed.windowManager.open({
|
14
|
+
file : url + '/cite.htm',
|
15
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.cite_delta_width', 0)),
|
16
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.cite_delta_height', 0)),
|
17
|
+
inline : 1
|
18
|
+
}, {
|
19
|
+
plugin_url : url
|
20
|
+
});
|
21
|
+
});
|
22
|
+
|
23
|
+
ed.addCommand('mceAcronym', function() {
|
24
|
+
ed.windowManager.open({
|
25
|
+
file : url + '/acronym.htm',
|
26
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
|
27
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
|
28
|
+
inline : 1
|
29
|
+
}, {
|
30
|
+
plugin_url : url
|
31
|
+
});
|
32
|
+
});
|
33
|
+
|
34
|
+
ed.addCommand('mceAbbr', function() {
|
35
|
+
ed.windowManager.open({
|
36
|
+
file : url + '/abbr.htm',
|
37
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
|
38
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
|
39
|
+
inline : 1
|
40
|
+
}, {
|
41
|
+
plugin_url : url
|
42
|
+
});
|
43
|
+
});
|
44
|
+
|
45
|
+
ed.addCommand('mceDel', function() {
|
46
|
+
ed.windowManager.open({
|
47
|
+
file : url + '/del.htm',
|
48
|
+
width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
|
49
|
+
height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
|
50
|
+
inline : 1
|
51
|
+
}, {
|
52
|
+
plugin_url : url
|
53
|
+
});
|
54
|
+
});
|
55
|
+
|
56
|
+
ed.addCommand('mceIns', function() {
|
57
|
+
ed.windowManager.open({
|
58
|
+
file : url + '/ins.htm',
|
59
|
+
width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
|
60
|
+
height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
|
61
|
+
inline : 1
|
62
|
+
}, {
|
63
|
+
plugin_url : url
|
64
|
+
});
|
65
|
+
});
|
66
|
+
|
67
|
+
ed.addCommand('mceAttributes', function() {
|
68
|
+
ed.windowManager.open({
|
69
|
+
file : url + '/attributes.htm',
|
70
|
+
width : 380,
|
71
|
+
height : 370,
|
72
|
+
inline : 1
|
73
|
+
}, {
|
74
|
+
plugin_url : url
|
75
|
+
});
|
76
|
+
});
|
77
|
+
|
78
|
+
// Register buttons
|
79
|
+
ed.addButton('cite', {title : 'xhtmlxtras.cite_desc', cmd : 'mceCite'});
|
80
|
+
ed.addButton('acronym', {title : 'xhtmlxtras.acronym_desc', cmd : 'mceAcronym'});
|
81
|
+
ed.addButton('abbr', {title : 'xhtmlxtras.abbr_desc', cmd : 'mceAbbr'});
|
82
|
+
ed.addButton('del', {title : 'xhtmlxtras.del_desc', cmd : 'mceDel'});
|
83
|
+
ed.addButton('ins', {title : 'xhtmlxtras.ins_desc', cmd : 'mceIns'});
|
84
|
+
ed.addButton('attribs', {title : 'xhtmlxtras.attribs_desc', cmd : 'mceAttributes'});
|
85
|
+
|
86
|
+
if (tinymce.isIE) {
|
87
|
+
function fix(ed, o) {
|
88
|
+
if (o.set) {
|
89
|
+
o.content = o.content.replace(/<abbr([^>]+)>/gi, '<html:abbr $1>');
|
90
|
+
o.content = o.content.replace(/<\/abbr>/gi, '</html:abbr>');
|
91
|
+
}
|
92
|
+
};
|
93
|
+
|
94
|
+
ed.onBeforeSetContent.add(fix);
|
95
|
+
ed.onPostProcess.add(fix);
|
96
|
+
}
|
97
|
+
|
98
|
+
ed.onNodeChange.add(function(ed, cm, n, co) {
|
99
|
+
n = ed.dom.getParent(n, 'CITE,ACRONYM,ABBR,DEL,INS');
|
100
|
+
|
101
|
+
cm.setDisabled('cite', co);
|
102
|
+
cm.setDisabled('acronym', co);
|
103
|
+
cm.setDisabled('abbr', co);
|
104
|
+
cm.setDisabled('del', co);
|
105
|
+
cm.setDisabled('ins', co);
|
106
|
+
cm.setDisabled('attribs', n && n.nodeName == 'BODY');
|
107
|
+
cm.setActive('cite', 0);
|
108
|
+
cm.setActive('acronym', 0);
|
109
|
+
cm.setActive('abbr', 0);
|
110
|
+
cm.setActive('del', 0);
|
111
|
+
cm.setActive('ins', 0);
|
112
|
+
|
113
|
+
// Activate all
|
114
|
+
if (n) {
|
115
|
+
do {
|
116
|
+
cm.setDisabled(n.nodeName.toLowerCase(), 0);
|
117
|
+
cm.setActive(n.nodeName.toLowerCase(), 1);
|
118
|
+
} while (n = n.parentNode);
|
119
|
+
}
|
120
|
+
});
|
121
|
+
},
|
122
|
+
|
123
|
+
getInfo : function() {
|
124
|
+
return {
|
125
|
+
longname : 'XHTML Xtras Plugin',
|
126
|
+
author : 'Moxiecode Systems AB',
|
127
|
+
authorurl : 'http://tinymce.moxiecode.com',
|
128
|
+
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras',
|
129
|
+
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
130
|
+
};
|
131
|
+
}
|
132
|
+
});
|
133
|
+
|
134
|
+
// Register plugin
|
135
|
+
tinymce.PluginManager.add('xhtmlxtras', tinymce.plugins.XHTMLXtrasPlugin);
|
136
|
+
})();
|
@@ -0,0 +1,169 @@
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
3
|
+
<head>
|
4
|
+
<title>{#xhtmlxtras_dlg.title_ins_element}</title>
|
5
|
+
<script type="text/javascript" src="../../tiny_mce_popup.js"></script>
|
6
|
+
<script type="text/javascript" src="../../utils/mctabs.js"></script>
|
7
|
+
<script type="text/javascript" src="../../utils/form_utils.js"></script>
|
8
|
+
<script type="text/javascript" src="../../utils/editable_selects.js"></script>
|
9
|
+
<script type="text/javascript" src="js/element_common.js"></script>
|
10
|
+
<script type="text/javascript" src="js/ins.js"></script>
|
11
|
+
<link rel="stylesheet" type="text/css" href="css/popup.css" />
|
12
|
+
</head>
|
13
|
+
<body id="xhtmlxtrasins" style="display: none">
|
14
|
+
<form onsubmit="insertIns();return false;" action="#">
|
15
|
+
<div class="tabs">
|
16
|
+
<ul>
|
17
|
+
<li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.general_tab}</a></span></li>
|
18
|
+
<!-- <li id="events_tab"><span><a href="javascript:mcTabs.displayTab('events_tab','events_panel');" onmousedown="return false;">{#xhtmlxtras_dlg.events_tab}</a></span></li> -->
|
19
|
+
</ul>
|
20
|
+
</div>
|
21
|
+
|
22
|
+
<div class="panel_wrapper">
|
23
|
+
<div id="general_panel" class="panel current">
|
24
|
+
<fieldset>
|
25
|
+
<legend>{#xhtmlxtras_dlg.fieldset_general_tab}</legend>
|
26
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
27
|
+
<tr>
|
28
|
+
<td class="label"><label id="datetimelabel" for="datetime">{#xhtmlxtras_dlg.attribute_label_datetime}</label>:</td>
|
29
|
+
<td>
|
30
|
+
<table border="0" cellspacing="0" cellpadding="0">
|
31
|
+
<tr>
|
32
|
+
<td><input id="datetime" name="datetime" type="text" value="" maxlength="19" class="field mceFocus" /></td>
|
33
|
+
<td><a href="javascript:insertDateTime('datetime');" onmousedown="return false;" class="browse"><span class="datetime" title="{#xhtmlxtras_dlg.insert_date}"></span></a></td>
|
34
|
+
</tr>
|
35
|
+
</table>
|
36
|
+
</td>
|
37
|
+
</tr>
|
38
|
+
<tr>
|
39
|
+
<td class="label"><label id="citelabel" for="cite">{#xhtmlxtras_dlg.attribute_label_cite}</label>:</td>
|
40
|
+
<td><input id="cite" name="cite" type="text" value="" class="field" /></td>
|
41
|
+
</tr>
|
42
|
+
</table>
|
43
|
+
</fieldset>
|
44
|
+
<fieldset>
|
45
|
+
<legend>{#xhtmlxtras_dlg.fieldset_attrib_tab}</legend>
|
46
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
47
|
+
<tr>
|
48
|
+
<td class="label"><label id="titlelabel" for="title">{#xhtmlxtras_dlg.attribute_label_title}</label>:</td>
|
49
|
+
<td><input id="title" name="title" type="text" value="" class="field" /></td>
|
50
|
+
</tr>
|
51
|
+
<tr>
|
52
|
+
<td class="label"><label id="idlabel" for="id">{#xhtmlxtras_dlg.attribute_label_id}</label>:</td>
|
53
|
+
<td><input id="id" name="id" type="text" value="" class="field" /></td>
|
54
|
+
</tr>
|
55
|
+
<tr>
|
56
|
+
<td class="label"><label id="classlabel" for="class">{#xhtmlxtras_dlg.attribute_label_class}</label>:</td>
|
57
|
+
<td>
|
58
|
+
<select id="class" name="class" class="field mceEditableSelect">
|
59
|
+
<option value="">{#not_set}</option>
|
60
|
+
</select>
|
61
|
+
</td>
|
62
|
+
</tr>
|
63
|
+
<tr>
|
64
|
+
<td class="label"><label id="stylelabel" for="class">{#xhtmlxtras_dlg.attribute_label_style}</label>:</td>
|
65
|
+
<td><input id="style" name="style" type="text" value="" class="field" /></td>
|
66
|
+
</tr>
|
67
|
+
<tr>
|
68
|
+
<td class="label"><label id="dirlabel" for="dir">{#xhtmlxtras_dlg.attribute_label_langdir}</label>:</td>
|
69
|
+
<td>
|
70
|
+
<select id="dir" name="dir" class="field">
|
71
|
+
<option value="">{#not_set}</option>
|
72
|
+
<option value="ltr">{#xhtmlxtras_dlg.attribute_option_ltr}</option>
|
73
|
+
<option value="rtl">{#xhtmlxtras_dlg.attribute_option_rtl}</option>
|
74
|
+
</select>
|
75
|
+
</td>
|
76
|
+
</tr>
|
77
|
+
<tr>
|
78
|
+
<td class="label"><label id="langlabel" for="lang">{#xhtmlxtras_dlg.attribute_label_langcode}</label>:</td>
|
79
|
+
<td>
|
80
|
+
<input id="lang" name="lang" type="text" value="" class="field" />
|
81
|
+
</td>
|
82
|
+
</tr>
|
83
|
+
</table>
|
84
|
+
</fieldset>
|
85
|
+
</div>
|
86
|
+
<div id="events_panel" class="panel">
|
87
|
+
<fieldset>
|
88
|
+
<legend>{#xhtmlxtras_dlg.fieldset_events_tab}</legend>
|
89
|
+
|
90
|
+
<table border="0" cellpadding="0" cellspacing="4">
|
91
|
+
<tr>
|
92
|
+
<td class="label"><label for="onfocus">onfocus</label>:</td>
|
93
|
+
<td><input id="onfocus" name="onfocus" type="text" value="" class="field" /></td>
|
94
|
+
</tr>
|
95
|
+
|
96
|
+
<tr>
|
97
|
+
<td class="label"><label for="onblur">onblur</label>:</td>
|
98
|
+
<td><input id="onblur" name="onblur" type="text" value="" class="field" /></td>
|
99
|
+
</tr>
|
100
|
+
|
101
|
+
<tr>
|
102
|
+
<td class="label"><label for="onclick">onclick</label>:</td>
|
103
|
+
<td><input id="onclick" name="onclick" type="text" value="" class="field" /></td>
|
104
|
+
</tr>
|
105
|
+
|
106
|
+
<tr>
|
107
|
+
<td class="label"><label for="ondblclick">ondblclick</label>:</td>
|
108
|
+
<td><input id="ondblclick" name="ondblclick" type="text" value="" class="field" /></td>
|
109
|
+
</tr>
|
110
|
+
|
111
|
+
<tr>
|
112
|
+
<td class="label"><label for="onmousedown">onmousedown</label>:</td>
|
113
|
+
<td><input id="onmousedown" name="onmousedown" type="text" value="" class="field" /></td>
|
114
|
+
</tr>
|
115
|
+
|
116
|
+
<tr>
|
117
|
+
<td class="label"><label for="onmouseup">onmouseup</label>:</td>
|
118
|
+
<td><input id="onmouseup" name="onmouseup" type="text" value="" class="field" /></td>
|
119
|
+
</tr>
|
120
|
+
|
121
|
+
<tr>
|
122
|
+
<td class="label"><label for="onmouseover">onmouseover</label>:</td>
|
123
|
+
<td><input id="onmouseover" name="onmouseover" type="text" value="" class="field" /></td>
|
124
|
+
</tr>
|
125
|
+
|
126
|
+
<tr>
|
127
|
+
<td class="label"><label for="onmousemove">onmousemove</label>:</td>
|
128
|
+
<td><input id="onmousemove" name="onmousemove" type="text" value="" class="field" /></td>
|
129
|
+
</tr>
|
130
|
+
|
131
|
+
<tr>
|
132
|
+
<td class="label"><label for="onmouseout">onmouseout</label>:</td>
|
133
|
+
<td><input id="onmouseout" name="onmouseout" type="text" value="" class="field" /></td>
|
134
|
+
</tr>
|
135
|
+
|
136
|
+
<tr>
|
137
|
+
<td class="label"><label for="onkeypress">onkeypress</label>:</td>
|
138
|
+
<td><input id="onkeypress" name="onkeypress" type="text" value="" class="field" /></td>
|
139
|
+
</tr>
|
140
|
+
|
141
|
+
<tr>
|
142
|
+
<td class="label"><label for="onkeydown">onkeydown</label>:</td>
|
143
|
+
<td><input id="onkeydown" name="onkeydown" type="text" value="" class="field" /></td>
|
144
|
+
</tr>
|
145
|
+
|
146
|
+
<tr>
|
147
|
+
<td class="label"><label for="onkeyup">onkeyup</label>:</td>
|
148
|
+
<td><input id="onkeyup" name="onkeyup" type="text" value="" class="field" /></td>
|
149
|
+
</tr>
|
150
|
+
</table>
|
151
|
+
</fieldset>
|
152
|
+
</div>
|
153
|
+
</div>
|
154
|
+
<div class="mceActionPanel">
|
155
|
+
<div style="float: left">
|
156
|
+
<input type="submit" id="insert" name="insert" value="{#update}" />
|
157
|
+
</div>
|
158
|
+
<div style="float: left">
|
159
|
+
<input type="button" id="remove" name="remove" class="button" value="{#xhtmlxtras_dlg.remove}" onclick="removeIns();" style="display: none;" />
|
160
|
+
</div>
|
161
|
+
<div style="float: right">
|
162
|
+
<input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
|
163
|
+
</div>
|
164
|
+
</div>
|
165
|
+
|
166
|
+
</form>
|
167
|
+
|
168
|
+
</body>
|
169
|
+
</html>
|