comfortable_mexican_sofa 1.0.27 → 1.0.28

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/VERSION +1 -1
  2. data/comfortable_mexican_sofa.gemspec +34 -11
  3. data/lib/comfortable_mexican_sofa/view_methods.rb +4 -6
  4. data/public/javascripts/comfortable_mexican_sofa/cms.js +10 -7
  5. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/jquery.tinymce.js +1 -0
  6. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/langs/en.js +170 -0
  7. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/about.htm +54 -0
  8. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/anchor.htm +26 -0
  9. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/charmap.htm +52 -0
  10. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/color_picker.htm +73 -0
  11. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/editor_template.js +1 -0
  12. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/image.htm +80 -0
  13. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  14. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/img/icons.gif +0 -0
  15. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/about.js +72 -0
  16. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/anchor.js +37 -0
  17. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/charmap.js +335 -0
  18. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/color_picker.js +253 -0
  19. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/image.js +245 -0
  20. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/link.js +156 -0
  21. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/source_editor.js +56 -0
  22. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/langs/en.js +62 -0
  23. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/langs/en_dlg.js +51 -0
  24. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/link.htm +58 -0
  25. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/content.css +36 -0
  26. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/dialog.css +117 -0
  27. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  28. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  29. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  30. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  31. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  32. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  33. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/ui.css +213 -0
  34. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/source_editor.htm +25 -0
  35. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/tiny_mce.js +1 -0
  36. data/public/javascripts/comfortable_mexican_sofa/tiny_mce/tiny_mce_popup.js +5 -0
  37. metadata +36 -13
  38. data/public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.css +0 -62
  39. data/public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.gif +0 -0
  40. data/public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.jpg +0 -0
  41. data/public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.js +0 -1393
  42. data/public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.modal.css +0 -51
  43. data/public/javascripts/comfortable_mexican_sofa/plupload/plupload.full.min.js +0 -1
  44. data/public/javascripts/comfortable_mexican_sofa/plupload/plupload.html4.min.js +0 -1
  45. data/public/javascripts/comfortable_mexican_sofa/plupload/plupload.html5.min.js +0 -1
  46. data/public/javascripts/comfortable_mexican_sofa/uploader.js +0 -47
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.27
1
+ 1.0.28
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{comfortable_mexican_sofa}
8
- s.version = "1.0.27"
8
+ s.version = "1.0.28"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Oleg Khabarov", "The Working Group Inc"]
12
- s.date = %q{2010-11-19}
12
+ s.date = %q{2010-11-24}
13
13
  s.description = %q{}
14
14
  s.email = %q{oleg@theworkinggroup.ca}
15
15
  s.extra_rdoc_files = [
@@ -127,16 +127,39 @@ Gem::Specification.new do |s|
127
127
  "public/javascripts/comfortable_mexican_sofa/jquery-ui/jquery-ui.css",
128
128
  "public/javascripts/comfortable_mexican_sofa/jquery-ui/jquery-ui.js",
129
129
  "public/javascripts/comfortable_mexican_sofa/jquery.js",
130
- "public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.css",
131
- "public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.gif",
132
- "public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.jpg",
133
- "public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.js",
134
- "public/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.modal.css",
135
- "public/javascripts/comfortable_mexican_sofa/plupload/plupload.full.min.js",
136
- "public/javascripts/comfortable_mexican_sofa/plupload/plupload.html4.min.js",
137
- "public/javascripts/comfortable_mexican_sofa/plupload/plupload.html5.min.js",
138
130
  "public/javascripts/comfortable_mexican_sofa/rails.js",
139
- "public/javascripts/comfortable_mexican_sofa/uploader.js",
131
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/jquery.tinymce.js",
132
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/langs/en.js",
133
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/about.htm",
134
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/anchor.htm",
135
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/charmap.htm",
136
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/color_picker.htm",
137
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/editor_template.js",
138
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/image.htm",
139
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/img/colorpicker.jpg",
140
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/img/icons.gif",
141
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/about.js",
142
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/anchor.js",
143
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/charmap.js",
144
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/color_picker.js",
145
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/image.js",
146
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/link.js",
147
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/js/source_editor.js",
148
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/langs/en.js",
149
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/langs/en_dlg.js",
150
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/link.htm",
151
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/content.css",
152
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/dialog.css",
153
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/buttons.png",
154
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/items.gif",
155
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif",
156
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/menu_check.gif",
157
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/progress.gif",
158
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/img/tabs.gif",
159
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/skins/default/ui.css",
160
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/themes/advanced/source_editor.htm",
161
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/tiny_mce.js",
162
+ "public/javascripts/comfortable_mexican_sofa/tiny_mce/tiny_mce_popup.js",
140
163
  "public/robots.txt",
141
164
  "public/stylesheets/comfortable_mexican_sofa/reset.css",
142
165
  "public/stylesheets/comfortable_mexican_sofa/structure.css",
@@ -45,15 +45,13 @@ ActionView::Helpers::AssetTagHelper.register_javascript_expansion :cms => [
45
45
  'comfortable_mexican_sofa/jquery',
46
46
  'comfortable_mexican_sofa/jquery-ui/jquery-ui',
47
47
  'comfortable_mexican_sofa/rails',
48
- 'comfortable_mexican_sofa/cms',
49
- 'comfortable_mexican_sofa/plupload/plupload.full.min',
50
- 'comfortable_mexican_sofa/uploader',
51
- 'comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg'
48
+ 'comfortable_mexican_sofa/tiny_mce/tiny_mce',
49
+ 'comfortable_mexican_sofa/tiny_mce/jquery.tinymce',
50
+ 'comfortable_mexican_sofa/cms'
52
51
  ]
53
52
  ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :cms => [
54
53
  'comfortable_mexican_sofa/reset',
55
54
  'comfortable_mexican_sofa/structure',
56
55
  'comfortable_mexican_sofa/typography',
57
- '/javascripts/comfortable_mexican_sofa/jquery-ui/jquery-ui',
58
- '/javascripts/comfortable_mexican_sofa/jwysiwyg/jquery.wysiwyg.css'
56
+ '/javascripts/comfortable_mexican_sofa/jquery-ui/jquery-ui'
59
57
  ]
@@ -58,13 +58,16 @@ $.CMS = function(){
58
58
  },
59
59
 
60
60
  enable_rich_text: function(){
61
- $('.form_element.cms_tag_page_rich_text textarea').wysiwyg({
62
- controls: {
63
- html: { visible: true },
64
- undo: { visible : false },
65
- redo: { visible : false }
66
- }
67
- });
61
+ $('.form_element.cms_tag_page_rich_text textarea').tinymce({
62
+ theme : "advanced",
63
+ plugins: "",
64
+ theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,cut,copy,paste,pastetext,pasteword,|,bullist,numlist,|,outdent,indent,blockquote,|,undo,redo,|,link,unlink,anchor,image,code",
65
+ theme_advanced_buttons2 : "",
66
+ theme_advanced_buttons3 : "",
67
+ theme_advanced_buttons4 : "",
68
+ theme_advanced_toolbar_location : "top",
69
+ theme_advanced_toolbar_align : "left"
70
+ })
68
71
  },
69
72
  enable_date_picker: function(){
70
73
  $('input[type=datetime]').datepicker();
@@ -0,0 +1 @@
1
+ (function(b){var e,d,a=[],c=window;b.fn.tinymce=function(j){var p=this,g,k,h,m,i,l="",n="";if(!p.length){return p}if(!j){return tinyMCE.get(p[0].id)}function o(){var r=[],q=0;if(f){f();f=null}p.each(function(t,u){var s,w=u.id,v=j.oninit;if(!w){u.id=w=tinymce.DOM.uniqueId()}s=new tinymce.Editor(w,j);r.push(s);if(v){s.onInit.add(function(){var x,y=v;if(++q==r.length){if(tinymce.is(y,"string")){x=(y.indexOf(".")===-1)?null:tinymce.resolve(y.replace(/\.\w+$/,""));y=tinymce.resolve(y)}y.apply(x||tinymce,r)}})}});b.each(r,function(t,s){s.render()})}if(!c.tinymce&&!d&&(g=j.script_url)){d=1;h=g.substring(0,g.lastIndexOf("/"));if(/_(src|dev)\.js/g.test(g)){n="_src"}m=g.lastIndexOf("?");if(m!=-1){l=g.substring(m+1)}c.tinyMCEPreInit=c.tinyMCEPreInit||{base:h,suffix:n,query:l};if(g.indexOf("gzip")!=-1){i=j.language||"en";g=g+(/\?/.test(g)?"&":"?")+"js=true&core=true&suffix="+escape(n)+"&themes="+escape(j.theme)+"&plugins="+escape(j.plugins)+"&languages="+i;if(!c.tinyMCE_GZ){tinyMCE_GZ={start:function(){tinymce.suffix=n;function q(r){tinymce.ScriptLoader.markDone(tinyMCE.baseURI.toAbsolute(r))}q("langs/"+i+".js");q("themes/"+j.theme+"/editor_template"+n+".js");q("themes/"+j.theme+"/langs/"+i+".js");b.each(j.plugins.split(","),function(s,r){if(r){q("plugins/"+r+"/editor_plugin"+n+".js");q("plugins/"+r+"/langs/"+i+".js")}})},end:function(){}}}}b.ajax({type:"GET",url:g,dataType:"script",cache:true,success:function(){tinymce.dom.Event.domLoaded=1;d=2;if(j.script_loaded){j.script_loaded()}o();b.each(a,function(q,r){r()})}})}else{if(d===1){a.push(o)}else{o()}}return p};b.extend(b.expr[":"],{tinymce:function(g){return g.id&&!!tinyMCE.get(g.id)}});function f(){function i(l){if(l==="remove"){this.each(function(n,o){var m=h(o);if(m){m.remove()}})}this.find("span.mceEditor,div.mceEditor").each(function(n,o){var m=tinyMCE.get(o.id.replace(/_parent$/,""));if(m){m.remove()}})}function k(n){var m=this,l;if(n!==e){i.call(m);m.each(function(p,q){var o;if(o=tinyMCE.get(q.id)){o.setContent(n)}})}else{if(m.length>0){if(l=tinyMCE.get(m[0].id)){return l.getContent()}}}}function h(m){var l=null;(m)&&(m.id)&&(c.tinymce)&&(l=tinyMCE.get(m.id));return l}function g(l){return !!((l)&&(l.length)&&(c.tinymce)&&(l.is(":tinymce")))}var j={};b.each(["text","html","val"],function(n,l){var o=j[l]=b.fn[l],m=(l==="text");b.fn[l]=function(s){var p=this;if(!g(p)){return o.apply(p,arguments)}if(s!==e){k.call(p.filter(":tinymce"),s);o.apply(p.not(":tinymce"),arguments);return p}else{var r="";var q=arguments;(m?p:p.eq(0)).each(function(u,v){var t=h(v);r+=t?(m?t.getContent().replace(/<(?:"[^"]*"|'[^']*'|[^'">])*>/g,""):t.getContent()):o.apply(b(v),q)});return r}}});b.each(["append","prepend"],function(n,m){var o=j[m]=b.fn[m],l=(m==="prepend");b.fn[m]=function(q){var p=this;if(!g(p)){return o.apply(p,arguments)}if(q!==e){p.filter(":tinymce").each(function(s,t){var r=h(t);r&&r.setContent(l?q+r.getContent():r.getContent()+q)});o.apply(p.not(":tinymce"),arguments);return p}}});b.each(["remove","replaceWith","replaceAll","empty"],function(m,l){var n=j[l]=b.fn[l];b.fn[l]=function(){i.call(this,l);return n.apply(this,arguments)}});j.attr=b.fn.attr;b.fn.attr=function(n,q,o){var m=this;if((!n)||(n!=="value")||(!g(m))){return j.attr.call(m,n,q,o)}if(q!==e){k.call(m.filter(":tinymce"),q);j.attr.call(m.not(":tinymce"),n,q,o);return m}else{var p=m[0],l=h(p);return l?l.getContent():j.attr.call(b(p),n,q,o)}}}})(jQuery);
@@ -0,0 +1,170 @@
1
+ tinyMCE.addI18n({en:{
2
+ common:{
3
+ edit_confirm:"Do you want to use the WYSIWYG mode for this textarea?",
4
+ apply:"Apply",
5
+ insert:"Insert",
6
+ update:"Update",
7
+ cancel:"Cancel",
8
+ close:"Close",
9
+ browse:"Browse",
10
+ class_name:"Class",
11
+ not_set:"-- Not set --",
12
+ clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\nDo you want more information about this issue?",
13
+ clipboard_no_support:"Currently not supported by your browser, use keyboard shortcuts instead.",
14
+ 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.",
15
+ invalid_data:"Error: Invalid values entered, these are marked in red.",
16
+ more_colors:"More colors"
17
+ },
18
+ contextmenu:{
19
+ align:"Alignment",
20
+ left:"Left",
21
+ center:"Center",
22
+ right:"Right",
23
+ full:"Full"
24
+ },
25
+ insertdatetime:{
26
+ date_fmt:"%Y-%m-%d",
27
+ time_fmt:"%H:%M:%S",
28
+ insertdate_desc:"Insert date",
29
+ inserttime_desc:"Insert time",
30
+ months_long:"January,February,March,April,May,June,July,August,September,October,November,December",
31
+ months_short:"Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec",
32
+ day_long:"Sunday,Monday,Tuesday,Wednesday,Thursday,Friday,Saturday,Sunday",
33
+ day_short:"Sun,Mon,Tue,Wed,Thu,Fri,Sat,Sun"
34
+ },
35
+ print:{
36
+ print_desc:"Print"
37
+ },
38
+ preview:{
39
+ preview_desc:"Preview"
40
+ },
41
+ directionality:{
42
+ ltr_desc:"Direction left to right",
43
+ rtl_desc:"Direction right to left"
44
+ },
45
+ layer:{
46
+ insertlayer_desc:"Insert new layer",
47
+ forward_desc:"Move forward",
48
+ backward_desc:"Move backward",
49
+ absolute_desc:"Toggle absolute positioning",
50
+ content:"New layer..."
51
+ },
52
+ save:{
53
+ save_desc:"Save",
54
+ cancel_desc:"Cancel all changes"
55
+ },
56
+ nonbreaking:{
57
+ nonbreaking_desc:"Insert non-breaking space character"
58
+ },
59
+ iespell:{
60
+ iespell_desc:"Run spell checking",
61
+ download:"ieSpell not detected. Do you want to install it now?"
62
+ },
63
+ advhr:{
64
+ advhr_desc:"Horizontal rule"
65
+ },
66
+ emotions:{
67
+ emotions_desc:"Emotions"
68
+ },
69
+ searchreplace:{
70
+ search_desc:"Find",
71
+ replace_desc:"Find/Replace"
72
+ },
73
+ advimage:{
74
+ image_desc:"Insert/edit image"
75
+ },
76
+ advlink:{
77
+ link_desc:"Insert/edit link"
78
+ },
79
+ xhtmlxtras:{
80
+ cite_desc:"Citation",
81
+ abbr_desc:"Abbreviation",
82
+ acronym_desc:"Acronym",
83
+ del_desc:"Deletion",
84
+ ins_desc:"Insertion",
85
+ attribs_desc:"Insert/Edit Attributes"
86
+ },
87
+ style:{
88
+ desc:"Edit CSS Style"
89
+ },
90
+ paste:{
91
+ paste_text_desc:"Paste as Plain Text",
92
+ paste_word_desc:"Paste from Word",
93
+ selectall_desc:"Select All",
94
+ plaintext_mode_sticky:"Paste is now in plain text mode. Click again to toggle back to regular paste mode. After you paste something you will be returned to regular paste mode.",
95
+ plaintext_mode:"Paste is now in plain text mode. Click again to toggle back to regular paste mode."
96
+ },
97
+ paste_dlg:{
98
+ text_title:"Use CTRL+V on your keyboard to paste the text into the window.",
99
+ text_linebreaks:"Keep linebreaks",
100
+ word_title:"Use CTRL+V on your keyboard to paste the text into the window."
101
+ },
102
+ table:{
103
+ desc:"Inserts a new table",
104
+ row_before_desc:"Insert row before",
105
+ row_after_desc:"Insert row after",
106
+ delete_row_desc:"Delete row",
107
+ col_before_desc:"Insert column before",
108
+ col_after_desc:"Insert column after",
109
+ delete_col_desc:"Remove column",
110
+ split_cells_desc:"Split merged table cells",
111
+ merge_cells_desc:"Merge table cells",
112
+ row_desc:"Table row properties",
113
+ cell_desc:"Table cell properties",
114
+ props_desc:"Table properties",
115
+ paste_row_before_desc:"Paste table row before",
116
+ paste_row_after_desc:"Paste table row after",
117
+ cut_row_desc:"Cut table row",
118
+ copy_row_desc:"Copy table row",
119
+ del:"Delete table",
120
+ row:"Row",
121
+ col:"Column",
122
+ cell:"Cell"
123
+ },
124
+ autosave:{
125
+ unload_msg:"The changes you made will be lost if you navigate away from this page.",
126
+ restore_content:"Restore auto-saved content.",
127
+ warning_message:"If you restore the saved content, you will lose all the content that is currently in the editor.\n\nAre you sure you want to restore the saved content?."
128
+ },
129
+ fullscreen:{
130
+ desc:"Toggle fullscreen mode"
131
+ },
132
+ media:{
133
+ desc:"Insert / edit embedded media",
134
+ edit:"Edit embedded media"
135
+ },
136
+ fullpage:{
137
+ desc:"Document properties"
138
+ },
139
+ template:{
140
+ desc:"Insert predefined template content"
141
+ },
142
+ visualchars:{
143
+ desc:"Visual control characters on/off."
144
+ },
145
+ spellchecker:{
146
+ desc:"Toggle spellchecker",
147
+ menu:"Spellchecker settings",
148
+ ignore_word:"Ignore word",
149
+ ignore_words:"Ignore all",
150
+ langs:"Languages",
151
+ wait:"Please wait...",
152
+ sug:"Suggestions",
153
+ no_sug:"No suggestions",
154
+ no_mpell:"No misspellings found."
155
+ },
156
+ pagebreak:{
157
+ desc:"Insert page break."
158
+ },
159
+ advlist:{
160
+ types:"Types",
161
+ def:"Default",
162
+ lower_alpha:"Lower alpha",
163
+ lower_greek:"Lower greek",
164
+ lower_roman:"Lower roman",
165
+ upper_alpha:"Upper alpha",
166
+ upper_roman:"Upper roman",
167
+ circle:"Circle",
168
+ disc:"Disc",
169
+ square:"Square"
170
+ }}});
@@ -0,0 +1,54 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>{#advanced_dlg.about_title}</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="js/about.js"></script>
8
+ </head>
9
+ <body id="about" style="display: none">
10
+ <div class="tabs">
11
+ <ul>
12
+ <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.about_general}</a></span></li>
13
+ <li id="help_tab" style="display:none"><span><a href="javascript:mcTabs.displayTab('help_tab','help_panel');" onmousedown="return false;">{#advanced_dlg.about_help}</a></span></li>
14
+ <li id="plugins_tab"><span><a href="javascript:mcTabs.displayTab('plugins_tab','plugins_panel');" onmousedown="return false;">{#advanced_dlg.about_plugins}</a></span></li>
15
+ </ul>
16
+ </div>
17
+
18
+ <div class="panel_wrapper">
19
+ <div id="general_panel" class="panel current">
20
+ <h3>{#advanced_dlg.about_title}</h3>
21
+ <p>Version: <span id="version"></span> (<span id="date"></span>)</p>
22
+ <p>TinyMCE is a platform independent web based Javascript HTML WYSIWYG editor control released as Open Source under <a href="../../license.txt" target="_blank">LGPL</a>
23
+ by Moxiecode Systems AB. It has the ability to convert HTML TEXTAREA fields or other HTML elements to editor instances.</p>
24
+ <p>Copyright &copy; 2003-2008, <a href="http://www.moxiecode.com" target="_blank">Moxiecode Systems AB</a>, All rights reserved.</p>
25
+ <p>For more information about this software visit the <a href="http://tinymce.moxiecode.com" target="_blank">TinyMCE website</a>.</p>
26
+
27
+ <div id="buttoncontainer">
28
+ <a href="http://www.moxiecode.com" target="_blank"><img src="http://tinymce.moxiecode.com/images/gotmoxie.png" alt="Got Moxie?" border="0" /></a>
29
+ <a href="http://sourceforge.net/projects/tinymce/" target="_blank"><img src="http://sourceforge.net/sflogo.php?group_id=103281" alt="Hosted By Sourceforge" border="0" /></a>
30
+ <a href="http://www.freshmeat.net/projects/tinymce" target="_blank"><img src="http://tinymce.moxiecode.com/images/fm.gif" alt="Also on freshmeat" border="0" /></a>
31
+ </div>
32
+ </div>
33
+
34
+ <div id="plugins_panel" class="panel">
35
+ <div id="pluginscontainer">
36
+ <h3>{#advanced_dlg.about_loaded}</h3>
37
+
38
+ <div id="plugintablecontainer">
39
+ </div>
40
+
41
+ <p>&nbsp;</p>
42
+ </div>
43
+ </div>
44
+
45
+ <div id="help_panel" class="panel noscroll" style="overflow: visible;">
46
+ <div id="iframecontainer"></div>
47
+ </div>
48
+ </div>
49
+
50
+ <div class="mceActionPanel">
51
+ <input type="button" id="cancel" name="cancel" value="{#close}" onclick="tinyMCEPopup.close();" />
52
+ </div>
53
+ </body>
54
+ </html>
@@ -0,0 +1,26 @@
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>{#advanced_dlg.anchor_title}</title>
5
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
+ <script type="text/javascript" src="js/anchor.js"></script>
7
+ </head>
8
+ <body style="display: none">
9
+ <form onsubmit="AnchorDialog.update();return false;" action="#">
10
+ <table border="0" cellpadding="4" cellspacing="0">
11
+ <tr>
12
+ <td colspan="2" class="title">{#advanced_dlg.anchor_title}</td>
13
+ </tr>
14
+ <tr>
15
+ <td class="nowrap">{#advanced_dlg.anchor_name}:</td>
16
+ <td><input name="anchorName" type="text" class="mceFocus" id="anchorName" value="" style="width: 200px" /></td>
17
+ </tr>
18
+ </table>
19
+
20
+ <div class="mceActionPanel">
21
+ <input type="submit" id="insert" name="insert" value="{#update}" />
22
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
23
+ </div>
24
+ </form>
25
+ </body>
26
+ </html>
@@ -0,0 +1,52 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <title>{#advanced_dlg.charmap_title}</title>
5
+ <script type="text/javascript" src="../../tiny_mce_popup.js"></script>
6
+ <script type="text/javascript" src="js/charmap.js"></script>
7
+ </head>
8
+ <body id="charmap" style="display:none">
9
+ <table align="center" border="0" cellspacing="0" cellpadding="2">
10
+ <tr>
11
+ <td colspan="2" class="title">{#advanced_dlg.charmap_title}</td>
12
+ </tr>
13
+ <tr>
14
+ <td id="charmapView" rowspan="2" align="left" valign="top">
15
+ <!-- Chars will be rendered here -->
16
+ </td>
17
+ <td width="100" align="center" valign="top">
18
+ <table border="0" cellpadding="0" cellspacing="0" width="100" style="height:100px">
19
+ <tr>
20
+ <td id="codeV">&nbsp;</td>
21
+ </tr>
22
+ <tr>
23
+ <td id="codeN">&nbsp;</td>
24
+ </tr>
25
+ </table>
26
+ </td>
27
+ </tr>
28
+ <tr>
29
+ <td valign="bottom" style="padding-bottom: 3px;">
30
+ <table width="100" align="center" border="0" cellpadding="2" cellspacing="0">
31
+ <tr>
32
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">HTML-Code</td>
33
+ </tr>
34
+ <tr>
35
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeA" align="center">&nbsp;</td>
36
+ </tr>
37
+ <tr>
38
+ <td style="font-size: 1px;">&nbsp;</td>
39
+ </tr>
40
+ <tr>
41
+ <td align="center" style="border-left: 1px solid #666699; border-top: 1px solid #666699; border-right: 1px solid #666699;">NUM-Code</td>
42
+ </tr>
43
+ <tr>
44
+ <td style="font-size: 16px; font-weight: bold; border-left: 1px solid #666699; border-bottom: 1px solid #666699; border-right: 1px solid #666699;" id="codeB" align="center">&nbsp;</td>
45
+ </tr>
46
+ </table>
47
+ </td>
48
+ </tr>
49
+ </table>
50
+
51
+ </body>
52
+ </html>
@@ -0,0 +1,73 @@
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>{#advanced_dlg.colorpicker_title}</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="js/color_picker.js"></script>
8
+ </head>
9
+ <body id="colorpicker" style="display: none">
10
+ <form onsubmit="insertAction();return false" action="#">
11
+ <div class="tabs">
12
+ <ul>
13
+ <li id="picker_tab" class="current"><span><a href="javascript:mcTabs.displayTab('picker_tab','picker_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_picker_tab}</a></span></li>
14
+ <li id="rgb_tab"><span><a href="javascript:;" onclick="generateWebColors();mcTabs.displayTab('rgb_tab','rgb_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_palette_tab}</a></span></li>
15
+ <li id="named_tab"><span><a href="javascript:;" onclick="generateNamedColors();javascript:mcTabs.displayTab('named_tab','named_panel');" onmousedown="return false;">{#advanced_dlg.colorpicker_named_tab}</a></span></li>
16
+ </ul>
17
+ </div>
18
+
19
+ <div class="panel_wrapper">
20
+ <div id="picker_panel" class="panel current">
21
+ <fieldset>
22
+ <legend>{#advanced_dlg.colorpicker_picker_title}</legend>
23
+ <div id="picker">
24
+ <img id="colors" src="img/colorpicker.jpg" onclick="computeColor(event)" onmousedown="isMouseDown = true;return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) computeColor(event); return false;" onmouseover="isMouseOver=true;" onmouseout="isMouseOver=false;" alt="" />
25
+
26
+ <div id="light">
27
+ <!-- Will be filled with divs -->
28
+ </div>
29
+
30
+ <br style="clear: both" />
31
+ </div>
32
+ </fieldset>
33
+ </div>
34
+
35
+ <div id="rgb_panel" class="panel">
36
+ <fieldset>
37
+ <legend>{#advanced_dlg.colorpicker_palette_title}</legend>
38
+ <div id="webcolors">
39
+ <!-- Gets filled with web safe colors-->
40
+ </div>
41
+
42
+ <br style="clear: both" />
43
+ </fieldset>
44
+ </div>
45
+
46
+ <div id="named_panel" class="panel">
47
+ <fieldset>
48
+ <legend>{#advanced_dlg.colorpicker_named_title}</legend>
49
+ <div id="namedcolors">
50
+ <!-- Gets filled with named colors-->
51
+ </div>
52
+
53
+ <br style="clear: both" />
54
+
55
+ <div id="colornamecontainer">
56
+ {#advanced_dlg.colorpicker_name} <span id="colorname"></span>
57
+ </div>
58
+ </fieldset>
59
+ </div>
60
+ </div>
61
+
62
+ <div class="mceActionPanel">
63
+ <input type="submit" id="insert" name="insert" value="{#apply}" />
64
+
65
+ <div id="preview"></div>
66
+
67
+ <div id="previewblock">
68
+ <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
69
+ </div>
70
+ </div>
71
+ </form>
72
+ </body>
73
+ </html>