contentment 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +15 -0
- data/config/routes.rb +18 -0
- data/lib/contentment.rb +8 -0
- data/lib/contentment/engine.rb +16 -0
- data/lib/extensions/action_controller/base.rb +5 -0
- data/lib/generators/contentment/contentment_views_templates/contents/_preview.html.erb +9 -0
- data/lib/generators/contentment/contentment_views_templates/contents/edit.html.erb +56 -0
- data/lib/generators/contentment/contentment_views_templates/contents/index.html.erb +28 -0
- data/lib/generators/contentment/contentment_views_templates/contents/new.html.erb +37 -0
- data/lib/generators/contentment/contentment_views_templates/contents/show.html.erb +22 -0
- data/lib/generators/contentment/templates/content.rb +48 -0
- data/lib/generators/contentment/templates/contents_controller.rb +58 -0
- data/lib/generators/contentment/templates/migration.rb +24 -0
- data/lib/generators/contentment_generator.rb +46 -0
- data/lib/generators/contentment_views_generator.rb +15 -0
- data/public/javascripts/tiny_mce/langs/en.js +169 -0
- data/public/javascripts/tiny_mce/license.txt +504 -0
- data/public/javascripts/tiny_mce/plugins/advhr/css/advhr.css +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advhr/editor_plugin_src.js +57 -0
- data/public/javascripts/tiny_mce/plugins/advhr/js/rule.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advhr/langs/en_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/advhr/rule.htm +62 -0
- data/public/javascripts/tiny_mce/plugins/advimage/css/advimage.css +13 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advimage/editor_plugin_src.js +50 -0
- data/public/javascripts/tiny_mce/plugins/advimage/image.htm +237 -0
- data/public/javascripts/tiny_mce/plugins/advimage/img/sample.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/advimage/js/image.js +443 -0
- data/public/javascripts/tiny_mce/plugins/advimage/langs/en_dlg.js +43 -0
- data/public/javascripts/tiny_mce/plugins/advlink/css/advlink.css +8 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advlink/editor_plugin_src.js +61 -0
- data/public/javascripts/tiny_mce/plugins/advlink/js/advlink.js +528 -0
- data/public/javascripts/tiny_mce/plugins/advlink/langs/en_dlg.js +52 -0
- data/public/javascripts/tiny_mce/plugins/advlink/link.htm +338 -0
- data/public/javascripts/tiny_mce/plugins/advlist/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/advlist/editor_plugin_src.js +154 -0
- data/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/autoresize/editor_plugin_src.js +117 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/autosave/editor_plugin_src.js +422 -0
- data/public/javascripts/tiny_mce/plugins/autosave/langs/en.js +4 -0
- data/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/bbcode/editor_plugin_src.js +120 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/contextmenu/editor_plugin_src.js +127 -0
- data/public/javascripts/tiny_mce/plugins/directionality/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/directionality/editor_plugin_src.js +82 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/emotions/editor_plugin_src.js +43 -0
- data/public/javascripts/tiny_mce/plugins/emotions/emotions.htm +40 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cool.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-cry.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-embarassed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-foot-in-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-frown.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-innocent.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-kiss.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-laughing.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-money-mouth.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-sealed.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-smile.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-surprised.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-tongue-out.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-undecided.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-wink.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/img/smiley-yell.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/emotions/js/emotions.js +22 -0
- data/public/javascripts/tiny_mce/plugins/emotions/langs/en_dlg.js +20 -0
- data/public/javascripts/tiny_mce/plugins/example/dialog.htm +27 -0
- data/public/javascripts/tiny_mce/plugins/example/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/example/editor_plugin_src.js +84 -0
- data/public/javascripts/tiny_mce/plugins/example/img/example.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/example/js/dialog.js +19 -0
- data/public/javascripts/tiny_mce/plugins/example/langs/en.js +3 -0
- data/public/javascripts/tiny_mce/plugins/example/langs/en_dlg.js +3 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/css/fullpage.css +182 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/editor_plugin_src.js +149 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/fullpage.htm +576 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/js/fullpage.js +471 -0
- data/public/javascripts/tiny_mce/plugins/fullpage/langs/en_dlg.js +85 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/editor_plugin_src.js +148 -0
- data/public/javascripts/tiny_mce/plugins/fullscreen/fullscreen.htm +110 -0
- data/public/javascripts/tiny_mce/plugins/iespell/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/iespell/editor_plugin_src.js +54 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/editor_plugin_src.js +635 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/alert.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/confirm.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +90 -0
- data/public/javascripts/tiny_mce/plugins/inlinepopups/template.htm +387 -0
- data/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/insertdatetime/editor_plugin_src.js +83 -0
- data/public/javascripts/tiny_mce/plugins/layer/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/layer/editor_plugin_src.js +212 -0
- data/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/legacyoutput/editor_plugin_src.js +133 -0
- data/public/javascripts/tiny_mce/plugins/media/css/content.css +6 -0
- data/public/javascripts/tiny_mce/plugins/media/css/media.css +16 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/media/editor_plugin_src.js +414 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flash.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/flv_player.swf +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/quicktime.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/realmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/shockwave.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/trans.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/img/windowsmedia.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/media/js/embed.js +73 -0
- data/public/javascripts/tiny_mce/plugins/media/js/media.js +630 -0
- data/public/javascripts/tiny_mce/plugins/media/langs/en_dlg.js +103 -0
- data/public/javascripts/tiny_mce/plugins/media/media.htm +822 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/nonbreaking/editor_plugin_src.js +53 -0
- data/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/noneditable/editor_plugin_src.js +90 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/css/content.css +1 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/editor_plugin_src.js +77 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/img/pagebreak.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/pagebreak/img/trans.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/paste/editor_plugin_src.js +929 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pastetext.js +36 -0
- data/public/javascripts/tiny_mce/plugins/paste/js/pasteword.js +51 -0
- data/public/javascripts/tiny_mce/plugins/paste/langs/en_dlg.js +5 -0
- data/public/javascripts/tiny_mce/plugins/paste/pastetext.htm +33 -0
- data/public/javascripts/tiny_mce/plugins/paste/pasteword.htm +27 -0
- data/public/javascripts/tiny_mce/plugins/preview/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/preview/editor_plugin_src.js +53 -0
- data/public/javascripts/tiny_mce/plugins/preview/example.html +28 -0
- data/public/javascripts/tiny_mce/plugins/preview/jscripts/embed.js +73 -0
- data/public/javascripts/tiny_mce/plugins/preview/preview.html +17 -0
- data/public/javascripts/tiny_mce/plugins/print/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/print/editor_plugin_src.js +34 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/save/editor_plugin_src.js +101 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/css/searchreplace.css +6 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/editor_plugin_src.js +57 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/js/searchreplace.js +126 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/langs/en_dlg.js +16 -0
- data/public/javascripts/tiny_mce/plugins/searchreplace/searchreplace.htm +104 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/css/content.css +1 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/editor_plugin_src.js +341 -0
- data/public/javascripts/tiny_mce/plugins/spellchecker/img/wline.gif +0 -0
- data/public/javascripts/tiny_mce/plugins/style/css/props.css +13 -0
- data/public/javascripts/tiny_mce/plugins/style/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/style/editor_plugin_src.js +55 -0
- data/public/javascripts/tiny_mce/plugins/style/js/props.js +641 -0
- data/public/javascripts/tiny_mce/plugins/style/langs/en_dlg.js +63 -0
- data/public/javascripts/tiny_mce/plugins/style/props.htm +730 -0
- data/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/tabfocus/editor_plugin_src.js +112 -0
- data/public/javascripts/tiny_mce/plugins/table/cell.htm +183 -0
- data/public/javascripts/tiny_mce/plugins/table/css/cell.css +17 -0
- data/public/javascripts/tiny_mce/plugins/table/css/row.css +25 -0
- data/public/javascripts/tiny_mce/plugins/table/css/table.css +13 -0
- data/public/javascripts/tiny_mce/plugins/table/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/table/editor_plugin_src.js +1118 -0
- data/public/javascripts/tiny_mce/plugins/table/js/cell.js +269 -0
- data/public/javascripts/tiny_mce/plugins/table/js/merge_cells.js +27 -0
- data/public/javascripts/tiny_mce/plugins/table/js/row.js +212 -0
- data/public/javascripts/tiny_mce/plugins/table/js/table.js +449 -0
- data/public/javascripts/tiny_mce/plugins/table/langs/en_dlg.js +74 -0
- data/public/javascripts/tiny_mce/plugins/table/merge_cells.htm +37 -0
- data/public/javascripts/tiny_mce/plugins/table/row.htm +160 -0
- data/public/javascripts/tiny_mce/plugins/table/table.htm +192 -0
- data/public/javascripts/tiny_mce/plugins/template/blank.htm +12 -0
- data/public/javascripts/tiny_mce/plugins/template/css/template.css +23 -0
- data/public/javascripts/tiny_mce/plugins/template/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/template/editor_plugin_src.js +159 -0
- data/public/javascripts/tiny_mce/plugins/template/js/template.js +106 -0
- data/public/javascripts/tiny_mce/plugins/template/langs/en_dlg.js +15 -0
- data/public/javascripts/tiny_mce/plugins/template/template.htm +38 -0
- data/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/visualchars/editor_plugin_src.js +76 -0
- data/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/wordcount/editor_plugin_src.js +98 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/abbr.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/acronym.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/attributes.htm +153 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/cite.htm +148 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/attributes.css +11 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/css/popup.css +9 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/del.htm +169 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin.js +1 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/editor_plugin_src.js +139 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/ins.htm +169 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/abbr.js +28 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/acronym.js +28 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/attributes.js +126 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/cite.js +28 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/del.js +63 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/element_common.js +234 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/js/ins.js +62 -0
- data/public/javascripts/tiny_mce/plugins/xhtmlxtras/langs/en_dlg.js +32 -0
- data/public/javascripts/tiny_mce/themes/advanced/about.htm +56 -0
- data/public/javascripts/tiny_mce/themes/advanced/anchor.htm +31 -0
- data/public/javascripts/tiny_mce/themes/advanced/charmap.htm +53 -0
- data/public/javascripts/tiny_mce/themes/advanced/color_picker.htm +75 -0
- data/public/javascripts/tiny_mce/themes/advanced/editor_template.js +1 -0
- data/public/javascripts/tiny_mce/themes/advanced/editor_template_src.js +1209 -0
- data/public/javascripts/tiny_mce/themes/advanced/image.htm +85 -0
- data/public/javascripts/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/about.js +72 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/anchor.js +37 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/charmap.js +335 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/color_picker.js +253 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/image.js +245 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/link.js +156 -0
- data/public/javascripts/tiny_mce/themes/advanced/js/source_editor.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/en.js +62 -0
- data/public/javascripts/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
- data/public/javascripts/tiny_mce/themes/advanced/link.htm +63 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/content.css +36 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/dialog.css +116 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/default/ui.css +215 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/content.css +35 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/dialog.css +115 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_black.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/img/button_bg_silver.png +0 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui.css +216 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_black.css +8 -0
- data/public/javascripts/tiny_mce/themes/advanced/skins/o2k7/ui_silver.css +5 -0
- data/public/javascripts/tiny_mce/themes/advanced/source_editor.htm +31 -0
- data/public/javascripts/tiny_mce/themes/simple/editor_template.js +1 -0
- data/public/javascripts/tiny_mce/themes/simple/editor_template_src.js +85 -0
- data/public/javascripts/tiny_mce/themes/simple/img/icons.gif +0 -0
- data/public/javascripts/tiny_mce/themes/simple/langs/en.js +11 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/content.css +25 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/default/ui.css +32 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/content.css +17 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/img/button_bg.png +0 -0
- data/public/javascripts/tiny_mce/themes/simple/skins/o2k7/ui.css +35 -0
- data/public/javascripts/tiny_mce/tiny_mce.js +1 -0
- data/public/javascripts/tiny_mce/tiny_mce_popup.js +5 -0
- data/public/javascripts/tiny_mce/tiny_mce_src.js +13771 -0
- data/public/javascripts/tiny_mce/utils/editable_selects.js +70 -0
- data/public/javascripts/tiny_mce/utils/form_utils.js +200 -0
- data/public/javascripts/tiny_mce/utils/mctabs.js +77 -0
- data/public/javascripts/tiny_mce/utils/validate.js +220 -0
- metadata +322 -0
@@ -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)})();
|
@@ -0,0 +1,139 @@
|
|
1
|
+
/**
|
2
|
+
* editor_plugin_src.js
|
3
|
+
*
|
4
|
+
* Copyright 2009, Moxiecode Systems AB
|
5
|
+
* Released under LGPL License.
|
6
|
+
*
|
7
|
+
* License: http://tinymce.moxiecode.com/license
|
8
|
+
* Contributing: http://tinymce.moxiecode.com/contributing
|
9
|
+
*/
|
10
|
+
|
11
|
+
(function() {
|
12
|
+
tinymce.create('tinymce.plugins.XHTMLXtrasPlugin', {
|
13
|
+
init : function(ed, url) {
|
14
|
+
// Register commands
|
15
|
+
ed.addCommand('mceCite', function() {
|
16
|
+
ed.windowManager.open({
|
17
|
+
file : url + '/cite.htm',
|
18
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.cite_delta_width', 0)),
|
19
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.cite_delta_height', 0)),
|
20
|
+
inline : 1
|
21
|
+
}, {
|
22
|
+
plugin_url : url
|
23
|
+
});
|
24
|
+
});
|
25
|
+
|
26
|
+
ed.addCommand('mceAcronym', function() {
|
27
|
+
ed.windowManager.open({
|
28
|
+
file : url + '/acronym.htm',
|
29
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
|
30
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.acronym_delta_width', 0)),
|
31
|
+
inline : 1
|
32
|
+
}, {
|
33
|
+
plugin_url : url
|
34
|
+
});
|
35
|
+
});
|
36
|
+
|
37
|
+
ed.addCommand('mceAbbr', function() {
|
38
|
+
ed.windowManager.open({
|
39
|
+
file : url + '/abbr.htm',
|
40
|
+
width : 350 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
|
41
|
+
height : 250 + parseInt(ed.getLang('xhtmlxtras.abbr_delta_width', 0)),
|
42
|
+
inline : 1
|
43
|
+
}, {
|
44
|
+
plugin_url : url
|
45
|
+
});
|
46
|
+
});
|
47
|
+
|
48
|
+
ed.addCommand('mceDel', function() {
|
49
|
+
ed.windowManager.open({
|
50
|
+
file : url + '/del.htm',
|
51
|
+
width : 340 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
|
52
|
+
height : 310 + parseInt(ed.getLang('xhtmlxtras.del_delta_width', 0)),
|
53
|
+
inline : 1
|
54
|
+
}, {
|
55
|
+
plugin_url : url
|
56
|
+
});
|
57
|
+
});
|
58
|
+
|
59
|
+
ed.addCommand('mceIns', function() {
|
60
|
+
ed.windowManager.open({
|
61
|
+
file : url + '/ins.htm',
|
62
|
+
width : 340 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
|
63
|
+
height : 310 + parseInt(ed.getLang('xhtmlxtras.ins_delta_width', 0)),
|
64
|
+
inline : 1
|
65
|
+
}, {
|
66
|
+
plugin_url : url
|
67
|
+
});
|
68
|
+
});
|
69
|
+
|
70
|
+
ed.addCommand('mceAttributes', function() {
|
71
|
+
ed.windowManager.open({
|
72
|
+
file : url + '/attributes.htm',
|
73
|
+
width : 380,
|
74
|
+
height : 370,
|
75
|
+
inline : 1
|
76
|
+
}, {
|
77
|
+
plugin_url : url
|
78
|
+
});
|
79
|
+
});
|
80
|
+
|
81
|
+
// Register buttons
|
82
|
+
ed.addButton('cite', {title : 'xhtmlxtras.cite_desc', cmd : 'mceCite'});
|
83
|
+
ed.addButton('acronym', {title : 'xhtmlxtras.acronym_desc', cmd : 'mceAcronym'});
|
84
|
+
ed.addButton('abbr', {title : 'xhtmlxtras.abbr_desc', cmd : 'mceAbbr'});
|
85
|
+
ed.addButton('del', {title : 'xhtmlxtras.del_desc', cmd : 'mceDel'});
|
86
|
+
ed.addButton('ins', {title : 'xhtmlxtras.ins_desc', cmd : 'mceIns'});
|
87
|
+
ed.addButton('attribs', {title : 'xhtmlxtras.attribs_desc', cmd : 'mceAttributes'});
|
88
|
+
|
89
|
+
if (tinymce.isIE) {
|
90
|
+
function fix(ed, o) {
|
91
|
+
if (o.set) {
|
92
|
+
o.content = o.content.replace(/<abbr([^>]+)>/gi, '<html:abbr $1>');
|
93
|
+
o.content = o.content.replace(/<\/abbr>/gi, '</html:abbr>');
|
94
|
+
}
|
95
|
+
};
|
96
|
+
|
97
|
+
ed.onBeforeSetContent.add(fix);
|
98
|
+
ed.onPostProcess.add(fix);
|
99
|
+
}
|
100
|
+
|
101
|
+
ed.onNodeChange.add(function(ed, cm, n, co) {
|
102
|
+
n = ed.dom.getParent(n, 'CITE,ACRONYM,ABBR,DEL,INS');
|
103
|
+
|
104
|
+
cm.setDisabled('cite', co);
|
105
|
+
cm.setDisabled('acronym', co);
|
106
|
+
cm.setDisabled('abbr', co);
|
107
|
+
cm.setDisabled('del', co);
|
108
|
+
cm.setDisabled('ins', co);
|
109
|
+
cm.setDisabled('attribs', n && n.nodeName == 'BODY');
|
110
|
+
cm.setActive('cite', 0);
|
111
|
+
cm.setActive('acronym', 0);
|
112
|
+
cm.setActive('abbr', 0);
|
113
|
+
cm.setActive('del', 0);
|
114
|
+
cm.setActive('ins', 0);
|
115
|
+
|
116
|
+
// Activate all
|
117
|
+
if (n) {
|
118
|
+
do {
|
119
|
+
cm.setDisabled(n.nodeName.toLowerCase(), 0);
|
120
|
+
cm.setActive(n.nodeName.toLowerCase(), 1);
|
121
|
+
} while (n = n.parentNode);
|
122
|
+
}
|
123
|
+
});
|
124
|
+
},
|
125
|
+
|
126
|
+
getInfo : function() {
|
127
|
+
return {
|
128
|
+
longname : 'XHTML Xtras Plugin',
|
129
|
+
author : 'Moxiecode Systems AB',
|
130
|
+
authorurl : 'http://tinymce.moxiecode.com',
|
131
|
+
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/xhtmlxtras',
|
132
|
+
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
133
|
+
};
|
134
|
+
}
|
135
|
+
});
|
136
|
+
|
137
|
+
// Register plugin
|
138
|
+
tinymce.PluginManager.add('xhtmlxtras', tinymce.plugins.XHTMLXtrasPlugin);
|
139
|
+
})();
|
@@ -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>
|