beef-admin_area 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/VERSION +1 -1
  2. data/app/views/admin/users/index.html.erb +1 -1
  3. data/app/views/layouts/admin.html.erb +1 -2
  4. data/beef-admin_area.gemspec +54 -4
  5. data/generators/admin_area_files/admin_area_files_generator.rb +74 -2
  6. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/langs/en.js +1 -0
  7. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/editor_plugin.js +1 -0
  8. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/button.gif +0 -0
  9. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/buttons.gif +0 -0
  10. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/corners.gif +0 -0
  11. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/horizontal.gif +0 -0
  12. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/img/vertical.gif +0 -0
  13. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/skins/clearlooks2/window.css +1 -0
  14. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/inlinepopups/template.htm +387 -0
  15. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/editor_plugin.js +1 -0
  16. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pastetext.js +1 -0
  17. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/js/pasteword.js +1 -0
  18. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/langs/en_dlg.js +1 -0
  19. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/pastetext.htm +33 -0
  20. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/paste/pasteword.htm +27 -0
  21. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/safari/blank.htm +1 -0
  22. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/safari/editor_plugin.js +1 -0
  23. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/blank.htm +12 -0
  24. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/css/template.css +1 -0
  25. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/editor_plugin.js +1 -0
  26. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/js/template.js +1 -0
  27. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/langs/en_dlg.js +1 -0
  28. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/plugins/template/template.htm +38 -0
  29. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/anchor.htm +31 -0
  30. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/color_picker.htm +75 -0
  31. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/editor_template.js +1 -0
  32. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/img/colorpicker.jpg +0 -0
  33. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/img/icons.gif +0 -0
  34. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/js/anchor.js +1 -0
  35. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/js/color_picker.js +1 -0
  36. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/js/link.js +1 -0
  37. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/langs/en.js +1 -0
  38. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/langs/en_dlg.js +1 -0
  39. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/link.htm +63 -0
  40. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/content.css +1 -0
  41. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/dialog.css +1 -0
  42. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/buttons.png +0 -0
  43. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/items.gif +0 -0
  44. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/menu_arrow.gif +0 -0
  45. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/menu_check.gif +0 -0
  46. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/progress.gif +0 -0
  47. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/img/tabs.gif +0 -0
  48. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/themes/advanced/skins/default/ui.css +1 -0
  49. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/tiny_mce.js +1 -0
  50. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/tiny_mce_popup.js +1 -0
  51. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/utils/form_utils.js +1 -0
  52. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/utils/mctabs.js +1 -0
  53. data/generators/admin_area_files/templates/public/javascripts/admin/tiny_mce/utils/validate.js +1 -0
  54. data/generators/admin_area_files/templates/public/javascripts/tiny-mce-config.js +78 -0
  55. data/generators/admin_area_files/templates/public/stylesheets/admin/screen.css +2 -2
  56. metadata +51 -2
@@ -0,0 +1,75 @@
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
+ <div style="float: left">
64
+ <input type="submit" id="insert" name="insert" value="{#apply}" />
65
+ </div>
66
+
67
+ <div id="preview"></div>
68
+
69
+ <div id="previewblock">
70
+ <label for="color">{#advanced_dlg.colorpicker_color}</label> <input id="color" type="text" size="8" maxlength="8" class="text mceFocus" />
71
+ </div>
72
+ </div>
73
+ </form>
74
+ </body>
75
+ </html>
@@ -0,0 +1 @@
1
+ (function(n){var o=n.DOM,i=n.dom.Event,k=n.extend,m=n.each,j=n.util.Cookie,l,p=n.explode;n.ThemeManager.requireLangPack("advanced");n.create("tinymce.themes.AdvancedTheme",{sizes:[8,10,12,14,18,24,36],controls:{bold:["bold_desc","Bold"],italic:["italic_desc","Italic"],underline:["underline_desc","Underline"],strikethrough:["striketrough_desc","Strikethrough"],justifyleft:["justifyleft_desc","JustifyLeft"],justifycenter:["justifycenter_desc","JustifyCenter"],justifyright:["justifyright_desc","JustifyRight"],justifyfull:["justifyfull_desc","JustifyFull"],bullist:["bullist_desc","InsertUnorderedList"],numlist:["numlist_desc","InsertOrderedList"],outdent:["outdent_desc","Outdent"],indent:["indent_desc","Indent"],cut:["cut_desc","Cut"],copy:["copy_desc","Copy"],paste:["paste_desc","Paste"],undo:["undo_desc","Undo"],redo:["redo_desc","Redo"],link:["link_desc","mceLink"],unlink:["unlink_desc","unlink"],image:["image_desc","mceImage"],cleanup:["cleanup_desc","mceCleanup"],help:["help_desc","mceHelp"],code:["code_desc","mceCodeEditor"],hr:["hr_desc","InsertHorizontalRule"],removeformat:["removeformat_desc","RemoveFormat"],sub:["sub_desc","subscript"],sup:["sup_desc","superscript"],forecolor:["forecolor_desc","ForeColor"],forecolorpicker:["forecolor_desc","mceForeColor"],backcolor:["backcolor_desc","HiliteColor"],backcolorpicker:["backcolor_desc","mceBackColor"],charmap:["charmap_desc","mceCharMap"],visualaid:["visualaid_desc","mceToggleVisualAid"],anchor:["anchor_desc","mceInsertAnchor"],newdocument:["newdocument_desc","mceNewDocument"],blockquote:["blockquote_desc","mceBlockQuote"]},stateControls:["bold","italic","underline","strikethrough","bullist","numlist","justifyleft","justifycenter","justifyright","justifyfull","sub","sup","blockquote"],init:function(d,c){var b=this,a,e,f;b.editor=d;b.url=c;b.onResolveName=new n.util.Dispatcher(this);b.settings=a=k({theme_advanced_path:true,theme_advanced_toolbar_location:"bottom",theme_advanced_buttons1:"bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect",theme_advanced_buttons2:"bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code",theme_advanced_buttons3:"hr,removeformat,visualaid,|,sub,sup,|,charmap",theme_advanced_blockformats:"p,address,pre,h1,h2,h3,h4,h5,h6",theme_advanced_toolbar_align:"center",theme_advanced_fonts:"Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats",theme_advanced_more_colors:1,theme_advanced_row_height:23,theme_advanced_resize_horizontal:1,theme_advanced_resizing_use_cookie:1,theme_advanced_font_sizes:"1,2,3,4,5,6,7",readonly:d.settings.readonly},d.settings);if(!a.font_size_style_values){a.font_size_style_values="8pt,10pt,12pt,14pt,18pt,24pt,36pt"}if(n.is(a.theme_advanced_font_sizes,"string")){a.font_size_style_values=n.explode(a.font_size_style_values);a.font_size_classes=n.explode(a.font_size_classes||"");f={};d.settings.theme_advanced_font_sizes=a.theme_advanced_font_sizes;m(d.getParam("theme_advanced_font_sizes","","hash"),function(g,h){var r;if(h==g&&g>=1&&g<=7){h=g+" ("+b.sizes[g-1]+"pt)";if(d.settings.convert_fonts_to_spans){r=a.font_size_classes[g-1];g=a.font_size_style_values[g-1]||(b.sizes[g-1]+"pt")}}if(/^\s*\./.test(g)){r=g.replace(/\./g,"")}f[h]=r?{"class":r}:{fontSize:g}});a.theme_advanced_font_sizes=f}if((e=a.theme_advanced_path_location)&&e!="none"){a.theme_advanced_statusbar_location=a.theme_advanced_path_location}if(a.theme_advanced_statusbar_location=="none"){a.theme_advanced_statusbar_location=0}d.onInit.add(function(){d.onNodeChange.add(b._nodeChanged,b);if(d.settings.content_css!==false){d.dom.loadCSS(d.baseURI.toAbsolute("themes/advanced/skins/"+d.settings.skin+"/content.css"))}});d.onSetProgressState.add(function(v,x,u){var h,g=v.id,w;if(x){b.progressTimer=setTimeout(function(){h=v.getContainer();h=h.insertBefore(o.create("DIV",{style:"position:relative"}),h.firstChild);w=o.get(v.id+"_tbl");o.add(h,"div",{id:g+"_blocker","class":"mceBlocker",style:{width:w.clientWidth+2,height:w.clientHeight+2}});o.add(h,"div",{id:g+"_progress","class":"mceProgress",style:{left:w.clientWidth/2,top:w.clientHeight/2}})},u||0)}else{o.remove(g+"_blocker");o.remove(g+"_progress");clearTimeout(b.progressTimer)}});o.loadCSS(a.editor_css?d.documentBaseURI.toAbsolute(a.editor_css):c+"/skins/"+d.settings.skin+"/ui.css");if(a.skin_variant){o.loadCSS(c+"/skins/"+d.settings.skin+"/ui_"+a.skin_variant+".css")}},createControl:function(a,d){var c,b;if(b=d.createControl(a)){return b}switch(a){case"styleselect":return this._createStyleSelect();case"formatselect":return this._createBlockFormats();case"fontselect":return this._createFontSelect();case"fontsizeselect":return this._createFontSizeSelect();case"forecolor":return this._createForeColorMenu();case"backcolor":return this._createBackColorMenu()}if((c=this.controls[a])){return d.createButton(a,{title:"advanced."+c[0],cmd:c[1],ui:c[2],value:c[3]})}},execCommand:function(b,c,a){var d=this["_"+b];if(d){d.call(this,c,a);return true}return false},_importClasses:function(b){var c=this.editor,a=c.controlManager.get("styleselect");if(a.getLength()==0){m(c.dom.getClasses(),function(d){a.add(d["class"],d["class"])})}},_createStyleSelect:function(a){var d=this,e=d.editor,c=e.controlManager,b=c.createListBox("styleselect",{title:"advanced.style_select",onselect:function(f){if(b.selectedValue===f){e.execCommand("mceSetStyleInfo",0,{command:"removeformat"});b.select();return false}else{e.execCommand("mceSetCSSClass",0,f)}}});if(b){m(e.getParam("theme_advanced_styles","","hash"),function(f,g){if(f){b.add(d.editor.translate(g),f)}});b.onPostRender.add(function(g,f){if(!b.NativeListBox){i.add(f.id+"_text","focus",d._importClasses,d);i.add(f.id+"_text","mousedown",d._importClasses,d);i.add(f.id+"_open","focus",d._importClasses,d);i.add(f.id+"_open","mousedown",d._importClasses,d)}else{i.add(f.id,"focus",d._importClasses,d)}})}return b},_createFontSelect:function(){var a,b=this,c=b.editor;a=c.controlManager.createListBox("fontselect",{title:"advanced.fontdefault",cmd:"FontName"});if(a){m(c.getParam("theme_advanced_fonts",b.settings.theme_advanced_fonts,"hash"),function(d,e){a.add(c.translate(e),d,{style:d.indexOf("dings")==-1?"font-family:"+d:""})})}return a},_createFontSizeSelect:function(){var a=this,c=a.editor,e,b=0,d=[];e=c.controlManager.createListBox("fontsizeselect",{title:"advanced.font_size",onselect:function(f){if(f.fontSize){c.execCommand("FontSize",false,f.fontSize)}else{m(a.settings.theme_advanced_font_sizes,function(g,h){if(g["class"]){d.push(g["class"])}});c.editorCommands._applyInlineStyle("span",{"class":f["class"]},{check_classes:d})}}});if(e){m(a.settings.theme_advanced_font_sizes,function(h,f){var g=h.fontSize;if(g>=1&&g<=7){g=a.sizes[parseInt(g)-1]+"pt"}e.add(f,h,{style:"font-size:"+g,"class":"mceFontSize"+(b++)+(" "+(h["class"]||""))})})}return e},_createBlockFormats:function(){var a,c={p:"advanced.paragraph",address:"advanced.address",pre:"advanced.pre",h1:"advanced.h1",h2:"advanced.h2",h3:"advanced.h3",h4:"advanced.h4",h5:"advanced.h5",h6:"advanced.h6",div:"advanced.div",blockquote:"advanced.blockquote",code:"advanced.code",dt:"advanced.dt",dd:"advanced.dd",samp:"advanced.samp"},b=this;a=b.editor.controlManager.createListBox("formatselect",{title:"advanced.block",cmd:"FormatBlock"});if(a){m(b.editor.getParam("theme_advanced_blockformats",b.settings.theme_advanced_blockformats,"hash"),function(d,e){a.add(b.editor.translate(e!=d?e:c[d]),d,{"class":"mce_formatPreview mce_"+d})})}return a},_createForeColorMenu:function(){var a,d=this,c=d.settings,b={},e;if(c.theme_advanced_more_colors){b.more_colors_func=function(){d._mceColorPicker(0,{color:a.value,func:function(f){a.setColor(f)}})}}if(e=c.theme_advanced_text_colors){b.colors=e}if(c.theme_advanced_default_foreground_color){b.default_color=c.theme_advanced_default_foreground_color}b.title="advanced.forecolor_desc";b.cmd="ForeColor";b.scope=this;a=d.editor.controlManager.createColorSplitButton("forecolor",b);return a},_createBackColorMenu:function(){var a,d=this,c=d.settings,b={},e;if(c.theme_advanced_more_colors){b.more_colors_func=function(){d._mceColorPicker(0,{color:a.value,func:function(f){a.setColor(f)}})}}if(e=c.theme_advanced_background_colors){b.colors=e}if(c.theme_advanced_default_background_color){b.default_color=c.theme_advanced_default_background_color}b.title="advanced.backcolor_desc";b.cmd="HiliteColor";b.scope=this;a=d.editor.controlManager.createColorSplitButton("backcolor",b);return a},renderUI:function(e){var c,d,b,s=this,a=s.editor,h=s.settings,t,f,g;c=f=o.create("span",{id:a.id+"_parent","class":"mceEditor "+a.settings.skin+"Skin"+(h.skin_variant?" "+a.settings.skin+"Skin"+s._ufirst(h.skin_variant):"")});if(!o.boxModel){c=o.add(c,"div",{"class":"mceOldBoxModel"})}c=t=o.add(c,"table",{id:a.id+"_tbl","class":"mceLayout",cellSpacing:0,cellPadding:0});c=b=o.add(c,"tbody");switch((h.theme_advanced_layout_manager||"").toLowerCase()){case"rowlayout":d=s._rowLayout(h,b,e);break;case"customlayout":d=a.execCallback("theme_advanced_custom_layout",h,b,e,f);break;default:d=s._simpleLayout(h,b,e,f)}c=e.targetNode;g=o.stdMode?t.getElementsByTagName("tr"):t.rows;o.addClass(g[0],"mceFirst");o.addClass(g[g.length-1],"mceLast");m(o.select("tr",b),function(q){o.addClass(q.firstChild,"mceFirst");o.addClass(q.childNodes[q.childNodes.length-1],"mceLast")});if(o.get(h.theme_advanced_toolbar_container)){o.get(h.theme_advanced_toolbar_container).appendChild(f)}else{o.insertAfter(f,c)}i.add(a.id+"_path_row","click",function(q){q=q.target;if(q.nodeName=="A"){s._sel(q.className.replace(/^.*mcePath_([0-9]+).*$/,"$1"));return i.cancel(q)}});if(!a.getParam("accessibility_focus")){i.add(o.add(f,"a",{href:"#"},"<!-- IE -->"),"focus",function(){tinyMCE.get(a.id).focus()})}if(h.theme_advanced_toolbar_location=="external"){e.deltaHeight=0}s.deltaHeight=e.deltaHeight;e.targetNode=null;return{iframeContainer:d,editorContainer:a.id+"_parent",sizeContainer:t,deltaHeight:e.deltaHeight}},getInfo:function(){return{longname:"Advanced theme",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",version:n.majorVersion+"."+n.minorVersion}},resizeBy:function(c,b){var a=o.get(this.editor.id+"_tbl");this.resizeTo(a.clientWidth+c,a.clientHeight+b)},resizeTo:function(e,b){var d=this.editor,c=d.settings,g=o.get(d.id+"_tbl"),f=o.get(d.id+"_ifr"),a;e=Math.max(c.theme_advanced_resizing_min_width||100,e);b=Math.max(c.theme_advanced_resizing_min_height||100,b);e=Math.min(c.theme_advanced_resizing_max_width||65535,e);b=Math.min(c.theme_advanced_resizing_max_height||65535,b);a=g.clientHeight-f.clientHeight;o.setStyle(f,"height",b-a);o.setStyles(g,{width:e,height:b})},destroy:function(){var a=this.editor.id;i.clear(a+"_resize");i.clear(a+"_path_row");i.clear(a+"_external_close")},_simpleLayout:function(h,a,e,g){var s=this,A=s.editor,z=h.theme_advanced_toolbar_location,c=h.theme_advanced_statusbar_location,d,f,b,t;if(h.readonly){d=o.add(a,"tr");d=f=o.add(d,"td",{"class":"mceIframeContainer"});return f}if(z=="top"){s._addToolbars(a,e)}if(z=="external"){d=t=o.create("div",{style:"position:relative"});d=o.add(d,"div",{id:A.id+"_external","class":"mceExternalToolbar"});o.add(d,"a",{id:A.id+"_external_close",href:"javascript:;","class":"mceExternalClose"});d=o.add(d,"table",{id:A.id+"_tblext",cellSpacing:0,cellPadding:0});b=o.add(d,"tbody");if(g.firstChild.className=="mceOldBoxModel"){g.firstChild.appendChild(t)}else{g.insertBefore(t,g.firstChild)}s._addToolbars(b,e);A.onMouseUp.add(function(){var q=o.get(A.id+"_external");o.show(q);o.hide(l);var r=i.add(A.id+"_external_close","click",function(){o.hide(A.id+"_external");i.remove(A.id+"_external_close","click",r)});o.show(q);o.setStyle(q,"top",0-o.getRect(A.id+"_tblext").h-1);o.hide(q);o.show(q);q.style.filter="";l=A.id+"_external";q=null})}if(c=="top"){s._addStatusBar(a,e)}if(!h.theme_advanced_toolbar_container){d=o.add(a,"tr");d=f=o.add(d,"td",{"class":"mceIframeContainer"})}if(z=="bottom"){s._addToolbars(a,e)}if(c=="bottom"){s._addStatusBar(a,e)}return f},_rowLayout:function(t,d,f){var y=this,c=y.editor,z,s,h=c.controlManager,e,g,a,b;z=t.theme_advanced_containers_default_class||"";s=t.theme_advanced_containers_default_align||"center";m(p(t.theme_advanced_containers||""),function(q,r){var u=t["theme_advanced_container_"+q]||"";switch(u.toLowerCase()){case"mceeditor":e=o.add(d,"tr");e=g=o.add(e,"td",{"class":"mceIframeContainer"});break;case"mceelementpath":y._addStatusBar(d,f);break;default:b=(t["theme_advanced_container_"+q+"_align"]||s).toLowerCase();b="mce"+y._ufirst(b);e=o.add(o.add(d,"tr"),"td",{"class":"mceToolbar "+(t["theme_advanced_container_"+q+"_class"]||z)+" "+b||s});a=h.createToolbar("toolbar"+r);y._addControls(u,a);o.setHTML(e,a.renderHTML());f.deltaHeight-=t.theme_advanced_row_height}});return g},_addControls:function(d,e){var c=this,b=c.settings,a,f=c.editor.controlManager;if(b.theme_advanced_disable&&!c._disabled){a={};m(p(b.theme_advanced_disable),function(g){a[g]=1});c._disabled=a}else{a=c._disabled}m(p(d),function(g){var h;if(a&&a[g]){return}if(g=="tablecontrols"){m(["table","|","row_props","cell_props","|","row_before","row_after","delete_row","|","col_before","col_after","delete_col","|","split_cells","merge_cells"],function(r){r=c.createControl(r,f);if(r){e.add(r)}});return}h=c.createControl(g,f);if(h){e.add(h)}})},_addToolbars:function(B,g){var s=this,c,e,a=s.editor,d=s.settings,t,h=a.controlManager,C,f,b=[],v;v=d.theme_advanced_toolbar_align.toLowerCase();v="mce"+s._ufirst(v);f=o.add(o.add(B,"tr"),"td",{"class":"mceToolbar "+v});if(!a.getParam("accessibility_focus")){b.push(o.createHTML("a",{href:"#",onfocus:"tinyMCE.get('"+a.id+"').focus();"},"<!-- IE -->"))}b.push(o.createHTML("a",{href:"#",accesskey:"q",title:a.getLang("advanced.toolbar_focus")},"<!-- IE -->"));for(c=1;(t=d["theme_advanced_buttons"+c]);c++){e=h.createToolbar("toolbar"+c,{"class":"mceToolbarRow"+c});if(d["theme_advanced_buttons"+c+"_add"]){t+=","+d["theme_advanced_buttons"+c+"_add"]}if(d["theme_advanced_buttons"+c+"_add_before"]){t=d["theme_advanced_buttons"+c+"_add_before"]+","+t}s._addControls(t,e);b.push(e.renderHTML());g.deltaHeight-=d.theme_advanced_row_height}b.push(o.createHTML("a",{href:"#",accesskey:"z",title:a.getLang("advanced.toolbar_focus"),onfocus:"tinyMCE.getInstanceById('"+a.id+"').focus();"},"<!-- IE -->"));o.setHTML(f,b.join(""))},_addStatusBar:function(c,f){var e,r=this,b=r.editor,h=r.settings,g,a,s,d;e=o.add(c,"tr");e=d=o.add(e,"td",{"class":"mceStatusbar"});e=o.add(e,"div",{id:b.id+"_path_row"},h.theme_advanced_path?b.translate("advanced.path")+": ":"&#160;");o.add(e,"a",{href:"#",accesskey:"x"});if(h.theme_advanced_resizing){o.add(d,"a",{id:b.id+"_resize",href:"javascript:;",onclick:"return false;","class":"mceResize"});if(h.theme_advanced_resizing_use_cookie){b.onPostRender.add(function(){var t=j.getHash("TinyMCE_"+b.id+"_size"),q=o.get(b.id+"_tbl");if(!t){return}if(h.theme_advanced_resize_horizontal){q.style.width=Math.max(10,t.cw)+"px"}q.style.height=Math.max(10,t.ch)+"px";o.get(b.id+"_ifr").style.height=Math.max(10,parseInt(t.ch)+r.deltaHeight)+"px"})}b.onPostRender.add(function(){i.add(b.id+"_resize","mousedown",function(q){var B,u,A,v,C,w;B=o.get(b.id+"_tbl");A=B.clientWidth;v=B.clientHeight;miw=h.theme_advanced_resizing_min_width||100;mih=h.theme_advanced_resizing_min_height||100;maw=h.theme_advanced_resizing_max_width||65535;mah=h.theme_advanced_resizing_max_height||65535;u=o.add(o.get(b.id+"_parent"),"div",{"class":"mcePlaceHolder"});o.setStyles(u,{width:A,height:v});o.hide(B);o.show(u);g={x:q.screenX,y:q.screenY,w:A,h:v,dx:null,dy:null};a=i.add(o.doc,"mousemove",function(y){var x,t;g.dx=y.screenX-g.x;g.dy=y.screenY-g.y;x=Math.max(miw,g.w+g.dx);t=Math.max(mih,g.h+g.dy);x=Math.min(maw,x);t=Math.min(mah,t);if(h.theme_advanced_resize_horizontal){u.style.width=x+"px"}u.style.height=t+"px";return i.cancel(y)});s=i.add(o.doc,"mouseup",function(x){var t;i.remove(o.doc,"mousemove",a);i.remove(o.doc,"mouseup",s);B.style.display="";o.remove(u);if(g.dx===null){return}t=o.get(b.id+"_ifr");if(h.theme_advanced_resize_horizontal){B.style.width=Math.max(10,g.w+g.dx)+"px"}B.style.height=Math.max(10,g.h+g.dy)+"px";t.style.height=Math.max(10,t.clientHeight+g.dy)+"px";if(h.theme_advanced_resizing_use_cookie){j.setHash("TinyMCE_"+b.id+"_size",{cw:g.w+g.dx,ch:g.h+g.dy})}});return i.cancel(q)})})}f.deltaHeight-=21;e=c=null},_nodeChanged:function(e,B,f,b){var t=this,h,a=0,v,d,s=t.settings,A,g,c;if(s.readonly){return}n.each(t.stateControls,function(q){B.setActive(q,e.queryCommandState(t.controls[q][1]))});B.setActive("visualaid",e.hasVisual);B.setDisabled("undo",!e.undoManager.hasUndo()&&!e.typing);B.setDisabled("redo",!e.undoManager.hasRedo());B.setDisabled("outdent",!e.queryCommandState("Outdent"));h=o.getParent(f,"A");if(d=B.get("link")){if(!h||!h.name){d.setDisabled(!h&&b);d.setActive(!!h)}}if(d=B.get("unlink")){d.setDisabled(!h&&b);d.setActive(!!h&&!h.name)}if(d=B.get("anchor")){d.setActive(!!h&&h.name);if(n.isWebKit){h=o.getParent(f,"IMG");d.setActive(!!h&&o.getAttrib(h,"mce_name")=="a")}}h=o.getParent(f,"IMG");if(d=B.get("image")){d.setActive(!!h&&f.className.indexOf("mceItem")==-1)}if(d=B.get("styleselect")){if(f.className){t._importClasses();d.select(f.className)}else{d.select()}}if(d=B.get("formatselect")){h=o.getParent(f,o.isBlock);if(h){d.select(h.nodeName.toLowerCase())}}if(e.settings.convert_fonts_to_spans){e.dom.getParent(f,function(q){if(q.nodeName==="SPAN"){if(!A&&q.className){A=q.className}if(!g&&q.style.fontSize){g=q.style.fontSize}if(!c&&q.style.fontFamily){c=q.style.fontFamily.replace(/[\"\']+/g,"").replace(/^([^,]+).*/,"$1").toLowerCase()}}return false});if(d=B.get("fontselect")){d.select(function(q){return q.replace(/^([^,]+).*/,"$1").toLowerCase()==c})}if(d=B.get("fontsizeselect")){d.select(function(q){if(q.fontSize&&q.fontSize===g){return true}if(q["class"]&&q["class"]===A){return true}})}}else{if(d=B.get("fontselect")){d.select(e.queryCommandValue("FontName"))}if(d=B.get("fontsizeselect")){v=e.queryCommandValue("FontSize");d.select(function(q){return q.fontSize==v})}}if(s.theme_advanced_path&&s.theme_advanced_statusbar_location){h=o.get(e.id+"_path")||o.add(e.id+"_path_row","span",{id:e.id+"_path"});o.setHTML(h,"");e.dom.getParent(f,function(q){var x=q.nodeName.toLowerCase(),w,r,u="";if(q.nodeType!=1||q.nodeName==="BR"||(o.hasClass(q,"mceItemHidden")||o.hasClass(q,"mceItemRemoved"))){return}if(v=o.getAttrib(q,"mce_name")){x=v}if(n.isIE&&q.scopeName!=="HTML"){x=q.scopeName+":"+x}x=x.replace(/mce\:/g,"");switch(x){case"b":x="strong";break;case"i":x="em";break;case"img":if(v=o.getAttrib(q,"src")){u+="src: "+v+" "}break;case"a":if(v=o.getAttrib(q,"name")){u+="name: "+v+" ";x+="#"+v}if(v=o.getAttrib(q,"href")){u+="href: "+v+" "}break;case"font":if(s.convert_fonts_to_spans){x="span"}if(v=o.getAttrib(q,"face")){u+="font: "+v+" "}if(v=o.getAttrib(q,"size")){u+="size: "+v+" "}if(v=o.getAttrib(q,"color")){u+="color: "+v+" "}break;case"span":if(v=o.getAttrib(q,"style")){u+="style: "+v+" "}break}if(v=o.getAttrib(q,"id")){u+="id: "+v+" "}if(v=q.className){v=v.replace(/(webkit-[\w\-]+|Apple-[\w\-]+|mceItem\w+|mceVisualAid)/g,"");if(v&&v.indexOf("mceItem")==-1){u+="class: "+v+" ";if(o.isBlock(q)||x=="img"||x=="span"){x+="."+v}}}x=x.replace(/(html:)/g,"");x={name:x,node:q,title:u};t.onResolveName.dispatch(t,x);u=x.title;x=x.name;r=o.create("a",{href:"javascript:;",onmousedown:"return false;",title:u,"class":"mcePath_"+(a++)},x);if(h.hasChildNodes()){h.insertBefore(o.doc.createTextNode(" \u00bb "),h.firstChild);h.insertBefore(r,h.firstChild)}else{h.appendChild(r)}},e.getBody())}},_sel:function(a){this.editor.execCommand("mceSelectNodeDepth",false,a)},_mceInsertAnchor:function(a,b){var c=this.editor;c.windowManager.open({url:n.baseURL+"/themes/advanced/anchor.htm",width:320+parseInt(c.getLang("advanced.anchor_delta_width",0)),height:90+parseInt(c.getLang("advanced.anchor_delta_height",0)),inline:true},{theme_url:this.url})},_mceCharMap:function(){var a=this.editor;a.windowManager.open({url:n.baseURL+"/themes/advanced/charmap.htm",width:550+parseInt(a.getLang("advanced.charmap_delta_width",0)),height:250+parseInt(a.getLang("advanced.charmap_delta_height",0)),inline:true},{theme_url:this.url})},_mceHelp:function(){var a=this.editor;a.windowManager.open({url:n.baseURL+"/themes/advanced/about.htm",width:480,height:380,inline:true},{theme_url:this.url})},_mceColorPicker:function(a,b){var c=this.editor;b=b||{};c.windowManager.open({url:n.baseURL+"/themes/advanced/color_picker.htm",width:375+parseInt(c.getLang("advanced.colorpicker_delta_width",0)),height:250+parseInt(c.getLang("advanced.colorpicker_delta_height",0)),close_previous:false,inline:true},{input_color:b.color,func:b.func,theme_url:this.url})},_mceCodeEditor:function(b,a){var c=this.editor;c.windowManager.open({url:n.baseURL+"/themes/advanced/source_editor.htm",width:parseInt(c.getParam("theme_advanced_source_editor_width",720)),height:parseInt(c.getParam("theme_advanced_source_editor_height",580)),inline:true,resizable:true,maximizable:true},{theme_url:this.url})},_mceImage:function(b,a){var c=this.editor;if(c.dom.getAttrib(c.selection.getNode(),"class").indexOf("mceItem")!=-1){return}c.windowManager.open({url:n.baseURL+"/themes/advanced/image.htm",width:355+parseInt(c.getLang("advanced.image_delta_width",0)),height:275+parseInt(c.getLang("advanced.image_delta_height",0)),inline:true},{theme_url:this.url})},_mceLink:function(b,a){var c=this.editor;c.windowManager.open({url:n.baseURL+"/themes/advanced/link.htm",width:310+parseInt(c.getLang("advanced.link_delta_width",0)),height:200+parseInt(c.getLang("advanced.link_delta_height",0)),inline:true},{theme_url:this.url})},_mceNewDocument:function(){var a=this.editor;a.windowManager.confirm("advanced.newdocument",function(b){if(b){a.execCommand("mceSetContent",false,"")}})},_mceForeColor:function(){var a=this;this._mceColorPicker(0,{color:a.fgColor,func:function(b){a.fgColor=b;a.editor.execCommand("ForeColor",false,b)}})},_mceBackColor:function(){var a=this;this._mceColorPicker(0,{color:a.bgColor,func:function(b){a.bgColor=b;a.editor.execCommand("HiliteColor",false,b)}})},_ufirst:function(a){return a.substring(0,1).toUpperCase()+a.substring(1)}});n.ThemeManager.add("advanced",n.themes.AdvancedTheme)}(tinymce));
@@ -0,0 +1 @@
1
+ tinyMCEPopup.requireLangPack();var AnchorDialog={init:function(a){var c,d,b=document.forms[0];this.editor=a;d=a.dom.getParent(a.selection.getNode(),"A,IMG");v=a.dom.getAttrib(d,"name");if(v){this.action="update";b.anchorName.value=v}b.insert.value=a.getLang(d?"update":"insert")},update:function(){var a=this.editor;tinyMCEPopup.restoreSelection();if(this.action!="update"){a.selection.collapse(1)}if(tinymce.isWebKit){a.execCommand("mceInsertContent",0,a.dom.createHTML("img",{mce_name:"a",name:document.forms[0].anchorName.value,"class":"mceItemAnchor"}))}else{a.execCommand("mceInsertContent",0,a.dom.createHTML("a",{name:document.forms[0].anchorName.value,"class":"mceItemAnchor"},""))}tinyMCEPopup.close()}};tinyMCEPopup.onInit.add(AnchorDialog.init,AnchorDialog);
@@ -0,0 +1 @@
1
+ tinyMCEPopup.requireLangPack();var detail=50,strhex="0123456789abcdef",i,isMouseDown=false,isMouseOver=false;var colors=["#000000","#000033","#000066","#000099","#0000cc","#0000ff","#330000","#330033","#330066","#330099","#3300cc","#3300ff","#660000","#660033","#660066","#660099","#6600cc","#6600ff","#990000","#990033","#990066","#990099","#9900cc","#9900ff","#cc0000","#cc0033","#cc0066","#cc0099","#cc00cc","#cc00ff","#ff0000","#ff0033","#ff0066","#ff0099","#ff00cc","#ff00ff","#003300","#003333","#003366","#003399","#0033cc","#0033ff","#333300","#333333","#333366","#333399","#3333cc","#3333ff","#663300","#663333","#663366","#663399","#6633cc","#6633ff","#993300","#993333","#993366","#993399","#9933cc","#9933ff","#cc3300","#cc3333","#cc3366","#cc3399","#cc33cc","#cc33ff","#ff3300","#ff3333","#ff3366","#ff3399","#ff33cc","#ff33ff","#006600","#006633","#006666","#006699","#0066cc","#0066ff","#336600","#336633","#336666","#336699","#3366cc","#3366ff","#666600","#666633","#666666","#666699","#6666cc","#6666ff","#996600","#996633","#996666","#996699","#9966cc","#9966ff","#cc6600","#cc6633","#cc6666","#cc6699","#cc66cc","#cc66ff","#ff6600","#ff6633","#ff6666","#ff6699","#ff66cc","#ff66ff","#009900","#009933","#009966","#009999","#0099cc","#0099ff","#339900","#339933","#339966","#339999","#3399cc","#3399ff","#669900","#669933","#669966","#669999","#6699cc","#6699ff","#999900","#999933","#999966","#999999","#9999cc","#9999ff","#cc9900","#cc9933","#cc9966","#cc9999","#cc99cc","#cc99ff","#ff9900","#ff9933","#ff9966","#ff9999","#ff99cc","#ff99ff","#00cc00","#00cc33","#00cc66","#00cc99","#00cccc","#00ccff","#33cc00","#33cc33","#33cc66","#33cc99","#33cccc","#33ccff","#66cc00","#66cc33","#66cc66","#66cc99","#66cccc","#66ccff","#99cc00","#99cc33","#99cc66","#99cc99","#99cccc","#99ccff","#cccc00","#cccc33","#cccc66","#cccc99","#cccccc","#ccccff","#ffcc00","#ffcc33","#ffcc66","#ffcc99","#ffcccc","#ffccff","#00ff00","#00ff33","#00ff66","#00ff99","#00ffcc","#00ffff","#33ff00","#33ff33","#33ff66","#33ff99","#33ffcc","#33ffff","#66ff00","#66ff33","#66ff66","#66ff99","#66ffcc","#66ffff","#99ff00","#99ff33","#99ff66","#99ff99","#99ffcc","#99ffff","#ccff00","#ccff33","#ccff66","#ccff99","#ccffcc","#ccffff","#ffff00","#ffff33","#ffff66","#ffff99","#ffffcc","#ffffff"];var named={"#F0F8FF":"AliceBlue","#FAEBD7":"AntiqueWhite","#00FFFF":"Aqua","#7FFFD4":"Aquamarine","#F0FFFF":"Azure","#F5F5DC":"Beige","#FFE4C4":"Bisque","#000000":"Black","#FFEBCD":"BlanchedAlmond","#0000FF":"Blue","#8A2BE2":"BlueViolet","#A52A2A":"Brown","#DEB887":"BurlyWood","#5F9EA0":"CadetBlue","#7FFF00":"Chartreuse","#D2691E":"Chocolate","#FF7F50":"Coral","#6495ED":"CornflowerBlue","#FFF8DC":"Cornsilk","#DC143C":"Crimson","#00FFFF":"Cyan","#00008B":"DarkBlue","#008B8B":"DarkCyan","#B8860B":"DarkGoldenRod","#A9A9A9":"DarkGray","#A9A9A9":"DarkGrey","#006400":"DarkGreen","#BDB76B":"DarkKhaki","#8B008B":"DarkMagenta","#556B2F":"DarkOliveGreen","#FF8C00":"Darkorange","#9932CC":"DarkOrchid","#8B0000":"DarkRed","#E9967A":"DarkSalmon","#8FBC8F":"DarkSeaGreen","#483D8B":"DarkSlateBlue","#2F4F4F":"DarkSlateGray","#2F4F4F":"DarkSlateGrey","#00CED1":"DarkTurquoise","#9400D3":"DarkViolet","#FF1493":"DeepPink","#00BFFF":"DeepSkyBlue","#696969":"DimGray","#696969":"DimGrey","#1E90FF":"DodgerBlue","#B22222":"FireBrick","#FFFAF0":"FloralWhite","#228B22":"ForestGreen","#FF00FF":"Fuchsia","#DCDCDC":"Gainsboro","#F8F8FF":"GhostWhite","#FFD700":"Gold","#DAA520":"GoldenRod","#808080":"Gray","#808080":"Grey","#008000":"Green","#ADFF2F":"GreenYellow","#F0FFF0":"HoneyDew","#FF69B4":"HotPink","#CD5C5C":"IndianRed","#4B0082":"Indigo","#FFFFF0":"Ivory","#F0E68C":"Khaki","#E6E6FA":"Lavender","#FFF0F5":"LavenderBlush","#7CFC00":"LawnGreen","#FFFACD":"LemonChiffon","#ADD8E6":"LightBlue","#F08080":"LightCoral","#E0FFFF":"LightCyan","#FAFAD2":"LightGoldenRodYellow","#D3D3D3":"LightGray","#D3D3D3":"LightGrey","#90EE90":"LightGreen","#FFB6C1":"LightPink","#FFA07A":"LightSalmon","#20B2AA":"LightSeaGreen","#87CEFA":"LightSkyBlue","#778899":"LightSlateGray","#778899":"LightSlateGrey","#B0C4DE":"LightSteelBlue","#FFFFE0":"LightYellow","#00FF00":"Lime","#32CD32":"LimeGreen","#FAF0E6":"Linen","#FF00FF":"Magenta","#800000":"Maroon","#66CDAA":"MediumAquaMarine","#0000CD":"MediumBlue","#BA55D3":"MediumOrchid","#9370D8":"MediumPurple","#3CB371":"MediumSeaGreen","#7B68EE":"MediumSlateBlue","#00FA9A":"MediumSpringGreen","#48D1CC":"MediumTurquoise","#C71585":"MediumVioletRed","#191970":"MidnightBlue","#F5FFFA":"MintCream","#FFE4E1":"MistyRose","#FFE4B5":"Moccasin","#FFDEAD":"NavajoWhite","#000080":"Navy","#FDF5E6":"OldLace","#808000":"Olive","#6B8E23":"OliveDrab","#FFA500":"Orange","#FF4500":"OrangeRed","#DA70D6":"Orchid","#EEE8AA":"PaleGoldenRod","#98FB98":"PaleGreen","#AFEEEE":"PaleTurquoise","#D87093":"PaleVioletRed","#FFEFD5":"PapayaWhip","#FFDAB9":"PeachPuff","#CD853F":"Peru","#FFC0CB":"Pink","#DDA0DD":"Plum","#B0E0E6":"PowderBlue","#800080":"Purple","#FF0000":"Red","#BC8F8F":"RosyBrown","#4169E1":"RoyalBlue","#8B4513":"SaddleBrown","#FA8072":"Salmon","#F4A460":"SandyBrown","#2E8B57":"SeaGreen","#FFF5EE":"SeaShell","#A0522D":"Sienna","#C0C0C0":"Silver","#87CEEB":"SkyBlue","#6A5ACD":"SlateBlue","#708090":"SlateGray","#708090":"SlateGrey","#FFFAFA":"Snow","#00FF7F":"SpringGreen","#4682B4":"SteelBlue","#D2B48C":"Tan","#008080":"Teal","#D8BFD8":"Thistle","#FF6347":"Tomato","#40E0D0":"Turquoise","#EE82EE":"Violet","#F5DEB3":"Wheat","#FFFFFF":"White","#F5F5F5":"WhiteSmoke","#FFFF00":"Yellow","#9ACD32":"YellowGreen"};function init(){var a=convertRGBToHex(tinyMCEPopup.getWindowArg("input_color"));tinyMCEPopup.resizeToInnerSize();generatePicker();if(a){changeFinalColor(a);col=convertHexToRGB(a);if(col){updateLight(col.r,col.g,col.b)}}}function insertAction(){var a=document.getElementById("color").value,c=tinyMCEPopup.getWindowArg("func");tinyMCEPopup.restoreSelection();if(c){c(a)}tinyMCEPopup.close()}function showColor(a,c){if(c){document.getElementById("colorname").innerHTML=c}document.getElementById("preview").style.backgroundColor=a;document.getElementById("color").value=a.toLowerCase()}function convertRGBToHex(c){var d=new RegExp("rgb\\s*\\(\\s*([0-9]+).*,\\s*([0-9]+).*,\\s*([0-9]+).*\\)","gi");if(!c){return c}var a=c.replace(d,"$1,$2,$3").split(",");if(a.length==3){r=parseInt(a[0]).toString(16);g=parseInt(a[1]).toString(16);b=parseInt(a[2]).toString(16);r=r.length==1?"0"+r:r;g=g.length==1?"0"+g:g;b=b.length==1?"0"+b:b;return"#"+r+g+b}return c}function convertHexToRGB(a){if(a.indexOf("#")!=-1){a=a.replace(new RegExp("[^0-9A-F]","gi"),"");r=parseInt(a.substring(0,2),16);g=parseInt(a.substring(2,4),16);b=parseInt(a.substring(4,6),16);return{r:r,g:g,b:b}}return null}function generatePicker(){var d=document.getElementById("light"),c="",a;for(a=0;a<detail;a++){c+='<div id="gs'+a+'" style="background-color:#000000; width:15px; height:3px; border-style:none; border-width:0px;" onclick="changeFinalColor(this.style.backgroundColor)" onmousedown="isMouseDown = true; return false;" onmouseup="isMouseDown = false;" onmousemove="if (isMouseDown && isMouseOver) changeFinalColor(this.style.backgroundColor); return false;" onmouseover="isMouseOver = true;" onmouseout="isMouseOver = false;"></div>'}d.innerHTML=c}function generateWebColors(){var d=document.getElementById("webcolors"),c="",a;if(d.className=="generated"){return}c+='<table border="0" cellspacing="1" cellpadding="0"><tr>';for(a=0;a<colors.length;a++){c+='<td bgcolor="'+colors[a]+'" width="10" height="10"><a href="javascript:insertAction();" onfocus="showColor(\''+colors[a]+"');\" onmouseover=\"showColor('"+colors[a]+'\');" style="display:block;width:10px;height:10px;overflow:hidden;"></a></td>';if((a+1)%18==0){c+="</tr><tr>"}}c+="</table>";d.innerHTML=c;d.className="generated"}function generateNamedColors(){var e=document.getElementById("namedcolors"),d="",f,a,c=0;if(e.className=="generated"){return}for(f in named){a=named[f];d+='<a href="javascript:insertAction();" onmouseover="showColor(\''+f+"','"+a+'\');" style="background-color: '+f+'"><!-- IE --></a>'}e.innerHTML=d;e.className="generated"}function dechex(a){return strhex.charAt(Math.floor(a/16))+strhex.charAt(a%16)}function computeColor(n){var s,q,l,c,f,a,m,p,o,j,k,h,t,d;s=n.offsetX?n.offsetX:(n.target?n.clientX-n.target.x:0);q=n.offsetY?n.offsetY:(n.target?n.clientY-n.target.y:0);l=document.getElementById("colors").width/6;c=detail/2;f=document.getElementById("colors").height;a=(s>=0)*(s<l)*255+(s>=l)*(s<2*l)*(2*255-s*255/l)+(s>=4*l)*(s<5*l)*(-4*255+s*255/l)+(s>=5*l)*(s<6*l)*255;m=(s>=0)*(s<l)*(s*255/l)+(s>=l)*(s<3*l)*255+(s>=3*l)*(s<4*l)*(4*255-s*255/l);p=(s>=2*l)*(s<3*l)*(-2*255+s*255/l)+(s>=3*l)*(s<5*l)*255+(s>=5*l)*(s<6*l)*(6*255-s*255/l);o=(f-q)/f;a=128+(a-128)*o;m=128+(m-128)*o;p=128+(p-128)*o;changeFinalColor("#"+dechex(a)+dechex(m)+dechex(p));updateLight(a,m,p)}function updateLight(a,k,l){var f,c=detail/2,j,h,m,d,e;for(f=0;f<detail;f++){if((f>=0)&&(f<c)){j=f/c;h=dechex(255-(255-a)*j);m=dechex(255-(255-k)*j);d=dechex(255-(255-l)*j)}else{j=2-f/c;h=dechex(a*j);m=dechex(k*j);d=dechex(l*j)}e=h+m+d;setCol("gs"+f,"#"+e)}}function changeFinalColor(a){if(a.indexOf("#")==-1){a=convertRGBToHex(a)}setCol("preview",a);document.getElementById("color").value=a}function setCol(d,f){try{document.getElementById(d).style.backgroundColor=f}catch(a){}}tinyMCEPopup.onInit.add(init);
@@ -0,0 +1 @@
1
+ tinyMCEPopup.requireLangPack();var LinkDialog={preInit:function(){var a;if(a=tinyMCEPopup.getParam("external_link_list_url")){document.write('<script language="javascript" type="text/javascript" src="'+tinyMCEPopup.editor.documentBaseURI.toAbsolute(a)+'"><\/script>')}},init:function(){var b=document.forms[0],a=tinyMCEPopup.editor;document.getElementById("hrefbrowsercontainer").innerHTML=getBrowserHTML("hrefbrowser","href","file","theme_advanced_link");if(isVisible("hrefbrowser")){document.getElementById("href").style.width="180px"}this.fillClassList("class_list");this.fillFileList("link_list","tinyMCELinkList");this.fillTargetList("target_list");if(e=a.dom.getParent(a.selection.getNode(),"A")){b.href.value=a.dom.getAttrib(e,"href");b.linktitle.value=a.dom.getAttrib(e,"title");b.insert.value=a.getLang("update");selectByValue(b,"link_list",b.href.value);selectByValue(b,"target_list",a.dom.getAttrib(e,"target"));selectByValue(b,"class_list",a.dom.getAttrib(e,"class"))}},update:function(){var d=document.forms[0],c=tinyMCEPopup.editor,g,a;tinyMCEPopup.restoreSelection();g=c.dom.getParent(c.selection.getNode(),"A");if(!d.href.value){if(g){tinyMCEPopup.execCommand("mceBeginUndoLevel");a=c.selection.getBookmark();c.dom.remove(g,1);c.selection.moveToBookmark(a);tinyMCEPopup.execCommand("mceEndUndoLevel");tinyMCEPopup.close();return}}tinyMCEPopup.execCommand("mceBeginUndoLevel");if(g==null){c.getDoc().execCommand("unlink",false,null);tinyMCEPopup.execCommand("CreateLink",false,"#mce_temp_url#",{skip_undo:1});tinymce.each(c.dom.select("a"),function(b){if(c.dom.getAttrib(b,"href")=="#mce_temp_url#"){g=b;c.dom.setAttribs(g,{href:d.href.value,title:d.linktitle.value,target:d.target_list?getSelectValue(d,"target_list"):null,"class":d.class_list?getSelectValue(d,"class_list"):null})}})}else{c.dom.setAttribs(g,{href:d.href.value,title:d.linktitle.value,target:d.target_list?getSelectValue(d,"target_list"):null,"class":d.class_list?getSelectValue(d,"class_list"):null})}if(g.childNodes.length!=1||g.firstChild.nodeName!="IMG"){c.focus();c.selection.select(g);c.selection.collapse(0);tinyMCEPopup.storeSelection()}tinyMCEPopup.execCommand("mceEndUndoLevel");tinyMCEPopup.close()},checkPrefix:function(a){if(a.value&&Validator.isEmail(a)&&!/^\s*mailto:/i.test(a.value)&&confirm(tinyMCEPopup.getLang("advanced_dlg.link_is_email"))){a.value="mailto:"+a.value}if(/^\s*www\./i.test(a.value)&&confirm(tinyMCEPopup.getLang("advanced_dlg.link_is_external"))){a.value="http://"+a.value}},fillFileList:function(g,c){var f=tinyMCEPopup.dom,a=f.get(g),d,b;c=window[c];if(c&&c.length>0){a.options[a.options.length]=new Option("","");tinymce.each(c,function(h){a.options[a.options.length]=new Option(h[0],h[1])})}else{f.remove(f.getParent(g,"tr"))}},fillClassList:function(f){var d=tinyMCEPopup.dom,a=d.get(f),c,b;if(c=tinyMCEPopup.getParam("theme_advanced_styles")){b=[];tinymce.each(c.split(";"),function(g){var h=g.split("=");b.push({title:h[0],"class":h[1]})})}else{b=tinyMCEPopup.editor.dom.getClasses()}if(b.length>0){a.options[a.options.length]=new Option(tinyMCEPopup.getLang("not_set"),"");tinymce.each(b,function(g){a.options[a.options.length]=new Option(g.title||g["class"],g["class"])})}else{d.remove(d.getParent(f,"tr"))}},fillTargetList:function(d){var c=tinyMCEPopup.dom,a=c.get(d),b;a.options[a.options.length]=new Option(tinyMCEPopup.getLang("not_set"),"");a.options[a.options.length]=new Option(tinyMCEPopup.getLang("advanced_dlg.link_target_same"),"_self");a.options[a.options.length]=new Option(tinyMCEPopup.getLang("advanced_dlg.link_target_blank"),"_blank");if(b=tinyMCEPopup.getParam("theme_advanced_link_targets")){tinymce.each(b.split(","),function(f){f=f.split("=");a.options[a.options.length]=new Option(f[0],f[1])})}}};LinkDialog.preInit();tinyMCEPopup.onInit.add(LinkDialog.init,LinkDialog);
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n("en.advanced",{style_select:"Styles",font_size:"Font size",fontdefault:"Font family",block:"Format",paragraph:"Paragraph",div:"Div",address:"Address",pre:"Preformatted",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",h5:"Heading 5",h6:"Heading 6",blockquote:"Blockquote",code:"Code",samp:"Code sample",dt:"Definition term ",dd:"Definition description",bold_desc:"Bold (Ctrl+B)",italic_desc:"Italic (Ctrl+I)",underline_desc:"Underline (Ctrl+U)",striketrough_desc:"Strikethrough",justifyleft_desc:"Align left",justifycenter_desc:"Align center",justifyright_desc:"Align right",justifyfull_desc:"Align full",bullist_desc:"Unordered list",numlist_desc:"Ordered list",outdent_desc:"Outdent",indent_desc:"Indent",undo_desc:"Undo (Ctrl+Z)",redo_desc:"Redo (Ctrl+Y)",link_desc:"Insert/edit link",unlink_desc:"Unlink",image_desc:"Insert/edit image",cleanup_desc:"Cleanup messy code",code_desc:"Edit HTML Source",sub_desc:"Subscript",sup_desc:"Superscript",hr_desc:"Insert horizontal ruler",removeformat_desc:"Remove formatting",custom1_desc:"Your custom description here",forecolor_desc:"Select text color",backcolor_desc:"Select background color",charmap_desc:"Insert custom character",visualaid_desc:"Toggle guidelines/invisible elements",anchor_desc:"Insert/edit anchor",cut_desc:"Cut",copy_desc:"Copy",paste_desc:"Paste",image_props_desc:"Image properties",newdocument_desc:"New document",help_desc:"Help",blockquote_desc:"Blockquote",clipboard_msg:"Copy/Cut/Paste is not available in Mozilla and Firefox.\r\nDo you want more information about this issue?",path:"Path",newdocument:"Are you sure you want clear all contents?",toolbar_focus:"Jump to tool buttons - Alt+Q, Jump to editor - Alt-Z, Jump to element path - Alt-X",more_colors:"More colors"});
@@ -0,0 +1 @@
1
+ tinyMCE.addI18n("en.advanced_dlg",{about_title:"About TinyMCE",about_general:"About",about_help:"Help",about_license:"License",about_plugins:"Plugins",about_plugin:"Plugin",about_author:"Author",about_version:"Version",about_loaded:"Loaded plugins",anchor_title:"Insert/edit anchor",anchor_name:"Anchor name",code_title:"HTML Source Editor",code_wordwrap:"Word wrap",colorpicker_title:"Select a color",colorpicker_picker_tab:"Picker",colorpicker_picker_title:"Color picker",colorpicker_palette_tab:"Palette",colorpicker_palette_title:"Palette colors",colorpicker_named_tab:"Named",colorpicker_named_title:"Named colors",colorpicker_color:"Color:",colorpicker_name:"Name:",charmap_title:"Select custom character",image_title:"Insert/edit image",image_src:"Image URL",image_alt:"Image description",image_list:"Image list",image_border:"Border",image_dimensions:"Dimensions",image_vspace:"Vertical space",image_hspace:"Horizontal space",image_align:"Alignment",image_align_baseline:"Baseline",image_align_top:"Top",image_align_middle:"Middle",image_align_bottom:"Bottom",image_align_texttop:"Text top",image_align_textbottom:"Text bottom",image_align_left:"Left",image_align_right:"Right",link_title:"Insert/edit link",link_url:"Link URL",link_target:"Target",link_target_same:"Open link in the same window",link_target_blank:"Open link in a new window",link_titlefield:"Title",link_is_email:"The URL you entered seems to be an email address, do you want to add the required mailto: prefix?",link_is_external:"The URL you entered seems to external link, do you want to add the required http:// prefix?",link_list:"Link list"});
@@ -0,0 +1,63 @@
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.link_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="../../utils/form_utils.js"></script>
8
+ <script type="text/javascript" src="../../utils/validate.js"></script>
9
+ <script type="text/javascript" src="js/link.js"></script>
10
+ </head>
11
+ <body id="link" style="display: none">
12
+ <form onsubmit="LinkDialog.update();return false;" action="#">
13
+ <div class="tabs">
14
+ <ul>
15
+ <li id="general_tab" class="current"><span><a href="javascript:mcTabs.displayTab('general_tab','general_panel');" onmousedown="return false;">{#advanced_dlg.link_title}</a></span></li>
16
+ </ul>
17
+ </div>
18
+
19
+ <div class="panel_wrapper">
20
+ <div id="general_panel" class="panel current">
21
+
22
+ <table border="0" cellpadding="4" cellspacing="0">
23
+ <tr>
24
+ <td class="nowrap"><label for="href">{#advanced_dlg.link_url}</label></td>
25
+ <td><table border="0" cellspacing="0" cellpadding="0">
26
+ <tr>
27
+ <td><input id="href" name="href" type="text" class="mceFocus" value="" style="width: 200px" onchange="LinkDialog.checkPrefix(this);" /></td>
28
+ <td id="hrefbrowsercontainer">&nbsp;</td>
29
+ </tr>
30
+ </table></td>
31
+ </tr>
32
+ <tr>
33
+ <td><label for="link_list">{#advanced_dlg.link_list}</label></td>
34
+ <td><select id="link_list" name="link_list" onchange="document.getElementById('href').value=this.options[this.selectedIndex].value;"></select></td>
35
+ </tr>
36
+ <tr>
37
+ <td><label id="targetlistlabel" for="targetlist">{#advanced_dlg.link_target}</label></td>
38
+ <td><select id="target_list" name="target_list"></select></td>
39
+ </tr>
40
+ <tr>
41
+ <td class="nowrap"><label for="linktitle">{#advanced_dlg.link_titlefield}</label></td>
42
+ <td><input id="linktitle" name="linktitle" type="text" value="" style="width: 200px" /></td>
43
+ </tr>
44
+ <tr>
45
+ <td><label for="class_list">{#class_name}</label></td>
46
+ <td><select id="class_list" name="class_list"></select></td>
47
+ </tr>
48
+ </table>
49
+ </div>
50
+ </div>
51
+
52
+ <div class="mceActionPanel">
53
+ <div style="float: left">
54
+ <input type="submit" id="insert" name="insert" value="{#insert}" />
55
+ </div>
56
+
57
+ <div style="float: right">
58
+ <input type="button" id="cancel" name="cancel" value="{#cancel}" onclick="tinyMCEPopup.close();" />
59
+ </div>
60
+ </div>
61
+ </form>
62
+ </body>
63
+ </html>
@@ -0,0 +1 @@
1
+ body,td,pre{color:#000;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;margin:8px;}body{background:#FFF;}body.mceForceColors{background:#FFF;color:#000;}h1{font-size:2em;}h2{font-size:1.5em;}h3{font-size:1.17em;}h4{font-size:1em;}h5{font-size:.83em;}h6{font-size:.75em;}.mceItemTable,.mceItemTable td,.mceItemTable th,.mceItemTable caption,.mceItemVisualAid{border:1px dashed #BBB;}a.mceItemAnchor{width:12px;line-height:6px;overflow:hidden;padding-left:12px;background:url(img/items.gif) no-repeat bottom left;}img.mceItemAnchor{width:12px;height:12px;background:url(img/items.gif) no-repeat;}img{border:0;}table{cursor:default;}table td,table th{cursor:text;}ins{border-bottom:1px solid green;text-decoration:none;color:green;}del{color:red;text-decoration:line-through;}cite{border-bottom:1px dashed blue;}acronym{border-bottom:1px dotted #CCC;cursor:help;}abbr,html:abbr{border-bottom:1px dashed #CCC;cursor:help;}* html body{scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5;}
@@ -0,0 +1 @@
1
+ body{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:11px;scrollbar-3dlight-color:#F0F0EE;scrollbar-arrow-color:#676662;scrollbar-base-color:#F0F0EE;scrollbar-darkshadow-color:#DDD;scrollbar-face-color:#E0E0DD;scrollbar-highlight-color:#F0F0EE;scrollbar-shadow-color:#F0F0EE;scrollbar-track-color:#F5F5F5;background:#F0F0EE;padding:0;margin:8px 8px 0 8px;}html{background:#F0F0EE;}td{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;}textarea{resize:none;outline:none;}a:link,a:visited{color:black;}a:hover{color:#2B6FB6;}.nowrap{white-space:nowrap;}fieldset{margin:0;padding:4px;border:1px solid #919B9C;font-family:Verdana,Arial;font-size:10px;}legend{color:#2B6FB6;font-weight:bold;}label.msg{display:none;}label.invalid{color:#E00;display:inline;}input.invalid{border:1px solid #E00;}input{background:#FFF;border:1px solid #CCC;}input,select,textarea{font-family:Verdana,Arial,Helvetica,sans-serif;font-size:10px;}input,select,textarea{border:1px solid #808080;}input.radio{border:1px none #000;background:transparent;vertical-align:middle;}input.checkbox{border:1px none #000;background:transparent;vertical-align:middle;}.input_noborder{border:0;}#insert,#cancel,input.button,.updateButton{border:0;margin:0;padding:0;font-weight:bold;width:94px;height:26px;background:url(img/buttons.png) 0 -26px;cursor:pointer;padding-bottom:2px;}#insert{background:url(img/buttons.png) 0 -52px;}#cancel{background:url(img/buttons.png) 0 0;}a.pickcolor,a.browse{text-decoration:none;}a.browse span{display:block;width:20px;height:18px;background:url(../../img/icons.gif) -860px 0;border:1px solid #FFF;margin-left:1px;}.mceOldBoxModel a.browse span{width:22px;height:20px;}a.browse:hover span{border:1px solid #0A246A;background-color:#B2BBD0;}a.browse span.disabled{border:1px solid white;opacity:.3;-ms-filter:'alpha(opacity=30)';filter:alpha(opacity=30);}a.browse:hover span.disabled{border:1px solid white;background-color:transparent;}a.pickcolor span{display:block;width:20px;height:16px;background:url(../../img/icons.gif) -840px 0;margin-left:2px;}.mceOldBoxModel a.pickcolor span{width:21px;height:17px;}a.pickcolor:hover span{background-color:#B2BBD0;}table.charmap{border:1px solid #AAA;text-align:center;}td.charmap,#charmap a{width:18px;height:18px;color:#000;border:1px solid #AAA;text-align:center;font-size:12px;vertical-align:middle;line-height:18px;}#charmap a{display:block;color:#000;text-decoration:none;border:0;}#charmap a:hover{background:#CCC;color:#2B6FB6;}#charmap #codeN{font-size:10px;font-family:Arial,Helvetica,sans-serif;text-align:center;}#charmap #codeV{font-size:40px;height:80px;border:1px solid #AAA;text-align:center;}.wordWrapCode{vertical-align:middle;border:1px none #000;background:transparent;}.mceActionPanel{margin-top:5px;}.tabs{width:100%;height:18px;line-height:normal;background:url(img/tabs.gif) repeat-x 0 -72px;}.tabs ul{margin:0;padding:0;list-style:none;}.tabs li{float:left;background:url(img/tabs.gif) no-repeat 0 0;margin:0 2px 0 0;padding:0 0 0 10px;line-height:17px;height:18px;display:block;}.tabs li.current{background:url(img/tabs.gif) no-repeat 0 -18px;margin-right:2px;}.tabs span{float:left;display:block;background:url(img/tabs.gif) no-repeat right -36px;padding:0 10px 0 0;}.tabs .current span{background:url(img/tabs.gif) no-repeat right -54px;}.tabs a{text-decoration:none;font-family:Verdana,Arial;font-size:10px;}.tabs a:link,.tabs a:visited,.tabs a:hover{color:black;}.panel_wrapper div.panel{display:none;}.panel_wrapper div.current{display:block;width:100%;height:300px;overflow:visible;}.panel_wrapper{border:1px solid #919B9C;border-top:0;padding:10px;padding-top:5px;clear:both;background:white;}.column{float:left;}.properties{width:100%;}.properties .column2{text-align:left;}h1,h2,h3,h4{color:#2B6FB6;margin:0;padding:0;padding-top:5px;}h3{font-size:14px;}.title{font-size:12px;font-weight:bold;color:#2B6FB6;}#link .panel_wrapper,#link div.current{height:125px;}#image .panel_wrapper,#image div.current{height:200px;}#plugintable thead{font-weight:bold;background:#DDD;}#plugintable,#about #plugintable td{border:1px solid #919B9C;}#plugintable{width:96%;margin-top:10px;}#pluginscontainer{height:290px;overflow:auto;}#colorpicker #preview{float:right;width:50px;height:14px;line-height:1px;border:1px solid black;margin-left:5px;}#colorpicker #colors{float:left;border:1px solid gray;cursor:crosshair;}#colorpicker #light{border:1px solid gray;margin-left:5px;float:left;width:15px;height:150px;cursor:crosshair;}#colorpicker #light div{overflow:hidden;}#colorpicker #previewblock{float:right;padding-left:10px;height:20px;}#colorpicker .panel_wrapper div.current{height:175px;}#colorpicker #namedcolors{width:150px;}#colorpicker #namedcolors a{display:block;float:left;width:10px;height:10px;margin:1px 1px 0 0;overflow:hidden;}#colorpicker #colornamecontainer{margin-top:5px;}#colorpicker #picker_panel fieldset{margin:auto;width:325px;}
@@ -0,0 +1 @@
1
+ .defaultSkin table,.defaultSkin tbody,.defaultSkin a,.defaultSkin img,.defaultSkin tr,.defaultSkin div,.defaultSkin td,.defaultSkin iframe,.defaultSkin span,.defaultSkin *,.defaultSkin .mceText{border:0;margin:0;padding:0;background:transparent;white-space:nowrap;text-decoration:none;font-weight:normal;cursor:default;color:#000;vertical-align:baseline;width:auto;border-collapse:separate;text-align:left;}.defaultSkin a:hover,.defaultSkin a:link,.defaultSkin a:visited,.defaultSkin a:active{text-decoration:none;font-weight:normal;cursor:default;color:#000;}.defaultSkin table td{vertical-align:middle;}.defaultSkin table{background:#F0F0EE;}.defaultSkin iframe{display:block;background:#FFF;}.defaultSkin .mceToolbar{height:26px;}.defaultSkin .mceLeft{text-align:left;}.defaultSkin .mceRight{text-align:right;}.defaultSkin .mceExternalToolbar{position:absolute;border:1px solid #CCC;border-bottom:0;display:none;}.defaultSkin .mceExternalToolbar td.mceToolbar{padding-right:13px;}.defaultSkin .mceExternalClose{position:absolute;top:3px;right:3px;width:7px;height:7px;background:url(../../img/icons.gif) -820px 0;}.defaultSkin table.mceLayout{border:0;border-left:1px solid #CCC;border-right:1px solid #CCC;}.defaultSkin table.mceLayout tr.mceFirst td{border-top:1px solid #CCC;}.defaultSkin table.mceLayout tr.mceLast td{border-bottom:1px solid #CCC;}.defaultSkin table.mceToolbar,.defaultSkin tr.mceFirst .mceToolbar tr td,.defaultSkin tr.mceLast .mceToolbar tr td{border:0;margin:0;padding:0;}.defaultSkin td.mceToolbar{padding-top:1px;vertical-align:top;}.defaultSkin .mceIframeContainer{border-top:1px solid #CCC;border-bottom:1px solid #CCC;}.defaultSkin .mceStatusbar{font-family:'MS Sans Serif',sans-serif,Verdana,Arial;font-size:9pt;line-height:16px;overflow:visible;color:#000;display:block;height:20px;}.defaultSkin .mceStatusbar div{float:left;margin:2px;}.defaultSkin .mceStatusbar a.mceResize{display:block;float:right;background:url(../../img/icons.gif) -800px 0;width:20px;height:20px;cursor:se-resize;}.defaultSkin .mceStatusbar a:hover{text-decoration:underline;}.defaultSkin table.mceToolbar{margin-left:3px;}.defaultSkin span.mceIcon,.defaultSkin img.mceIcon{display:block;width:20px;height:20px;}.defaultSkin .mceIcon{background:url(../../img/icons.gif) no-repeat 20px 20px;}.defaultSkin td.mceCenter{text-align:center;}.defaultSkin td.mceCenter table{margin:0 auto;text-align:left;}.defaultSkin td.mceRight table{margin:0 0 0 auto;}.defaultSkin .mceButton{display:block;border:1px solid #F0F0EE;width:20px;height:20px;margin-right:1px;}.defaultSkin a.mceButtonEnabled:hover{border:1px solid #0A246A;background-color:#B2BBD0;}.defaultSkin a.mceButtonActive,.defaultSkin a.mceButtonSelected{border:1px solid #0A246A;background-color:#C2CBE0;}.defaultSkin .mceButtonDisabled .mceIcon{opacity:.3;-ms-filter:'alpha(opacity=30)';filter:alpha(opacity=30);}.defaultSkin .mceButtonLabeled{width:auto;}.defaultSkin .mceButtonLabeled span.mceIcon{float:left;}.defaultSkin span.mceButtonLabel{display:block;font-size:10px;padding:4px 6px 0 22px;font-family:Tahoma,Verdana,Arial,Helvetica;}.defaultSkin .mceButtonDisabled .mceButtonLabel{color:#888;}.defaultSkin .mceSeparator{display:block;background:url(../../img/icons.gif) -180px 0;width:2px;height:20px;margin:2px 2px 0 4px;}.defaultSkin .mceListBox{direction:ltr;}.defaultSkin .mceListBox,.defaultSkin .mceListBox a{display:block;}.defaultSkin .mceListBox .mceText{padding-left:4px;width:70px;text-align:left;border:1px solid #CCC;border-right:0;background:#FFF;font-family:Tahoma,Verdana,Arial,Helvetica;font-size:11px;height:20px;line-height:20px;overflow:hidden;}.defaultSkin .mceListBox .mceOpen{width:9px;height:20px;background:url(../../img/icons.gif) -741px 0;margin-right:2px;border:1px solid #CCC;}.defaultSkin table.mceListBoxEnabled:hover .mceText,.defaultSkin .mceListBoxHover .mceText,.defaultSkin .mceListBoxSelected .mceText{border:1px solid #A2ABC0;border-right:0;background:#FFF;}.defaultSkin table.mceListBoxEnabled:hover .mceOpen,.defaultSkin .mceListBoxHover .mceOpen,.defaultSkin .mceListBoxSelected .mceOpen{background-color:#FFF;border:1px solid #A2ABC0;}.defaultSkin .mceListBoxDisabled a.mceText{color:gray;background-color:transparent;}.defaultSkin .mceListBoxMenu{overflow:auto;overflow-x:hidden;}.defaultSkin .mceOldBoxModel .mceListBox .mceText{height:22px;}.defaultSkin .mceOldBoxModel .mceListBox .mceOpen{width:11px;height:22px;}.defaultSkin select.mceNativeListBox{font-family:'MS Sans Serif',sans-serif,Verdana,Arial;font-size:7pt;background:#F0F0EE;border:1px solid gray;margin-right:2px;}.defaultSkin .mceSplitButton{width:32px;height:20px;direction:ltr;}.defaultSkin .mceSplitButton a,.defaultSkin .mceSplitButton span{height:20px;display:block;}.defaultSkin .mceSplitButton a.mceAction{width:20px;border:1px solid #F0F0EE;border-right:0;}.defaultSkin .mceSplitButton span.mceAction{width:20px;background:url(../../img/icons.gif) 20px 20px;}.defaultSkin .mceSplitButton a.mceOpen{width:9px;background:url(../../img/icons.gif) -741px 0;border:1px solid #F0F0EE;}.defaultSkin .mceSplitButton span.mceOpen{display:none;}.defaultSkin table.mceSplitButtonEnabled:hover a.mceAction,.defaultSkin .mceSplitButtonHover a.mceAction,.defaultSkin .mceSplitButtonSelected a.mceAction{border:1px solid #0A246A;border-right:0;background-color:#B2BBD0;}.defaultSkin table.mceSplitButtonEnabled:hover a.mceOpen,.defaultSkin .mceSplitButtonHover a.mceOpen,.defaultSkin .mceSplitButtonSelected a.mceOpen{background-color:#B2BBD0;border:1px solid #0A246A;}.defaultSkin .mceSplitButtonDisabled .mceAction,.defaultSkin .mceSplitButtonDisabled a.mceOpen{opacity:.3;-ms-filter:'alpha(opacity=30)';filter:alpha(opacity=30);}.defaultSkin .mceSplitButtonActive a.mceAction{border:1px solid #0A246A;background-color:#C2CBE0;}.defaultSkin .mceSplitButtonActive a.mceOpen{border-left:0;}.defaultSkin div.mceColorSplitMenu table{background:#FFF;border:1px solid gray;}.defaultSkin .mceColorSplitMenu td{padding:2px;}.defaultSkin .mceColorSplitMenu a{display:block;width:9px;height:9px;overflow:hidden;border:1px solid #808080;}.defaultSkin .mceColorSplitMenu td.mceMoreColors{padding:1px 3px 1px 1px;}.defaultSkin .mceColorSplitMenu a.mceMoreColors{width:100%;height:auto;text-align:center;font-family:Tahoma,Verdana,Arial,Helvetica;font-size:11px;line-height:20px;border:1px solid #FFF;}.defaultSkin .mceColorSplitMenu a.mceMoreColors:hover{border:1px solid #0A246A;background-color:#B6BDD2;}.defaultSkin a.mceMoreColors:hover{border:1px solid #0A246A;}.defaultSkin .mceColorPreview{margin-left:2px;width:16px;height:4px;overflow:hidden;background:#9a9b9a;}.defaultSkin .mce_forecolor span.mceAction,.defaultSkin .mce_backcolor span.mceAction{overflow:hidden;height:16px;}.defaultSkin .mceMenu{position:absolute;left:0;top:0;z-index:1000;border:1px solid #D4D0C8;}.defaultSkin .mceNoIcons span.mceIcon{width:0;}.defaultSkin .mceNoIcons a .mceText{padding-left:10px;}.defaultSkin .mceMenu table{background:#FFF;}.defaultSkin .mceMenu a,.defaultSkin .mceMenu span,.defaultSkin .mceMenu{display:block;}.defaultSkin .mceMenu td{height:20px;}.defaultSkin .mceMenu a{position:relative;padding:3px 0 4px 0;}.defaultSkin .mceMenu .mceText{position:relative;display:block;font-family:Tahoma,Verdana,Arial,Helvetica;color:#000;cursor:default;margin:0;padding:0 25px 0 25px;display:block;}.defaultSkin .mceMenu span.mceText,.defaultSkin .mceMenu .mcePreview{font-size:11px;}.defaultSkin .mceMenu pre.mceText{font-family:Monospace;}.defaultSkin .mceMenu .mceIcon{position:absolute;top:0;left:0;width:22px;}.defaultSkin .mceMenu .mceMenuItemEnabled a:hover,.defaultSkin .mceMenu .mceMenuItemActive{background-color:#dbecf3;}.defaultSkin td.mceMenuItemSeparator{background:#DDD;height:1px;}.defaultSkin .mceMenuItemTitle a{border:0;background:#EEE;border-bottom:1px solid #DDD;}.defaultSkin .mceMenuItemTitle span.mceText{color:#000;font-weight:bold;padding-left:4px;}.defaultSkin .mceMenuItemDisabled .mceText{color:#888;}.defaultSkin .mceMenuItemSelected .mceIcon{background:url(img/menu_check.gif);}.defaultSkin .mceNoIcons .mceMenuItemSelected a{background:url(img/menu_arrow.gif) no-repeat -6px center;}.defaultSkin .mceMenu span.mceMenuLine{display:none;}.defaultSkin .mceMenuItemSub a{background:url(img/menu_arrow.gif) no-repeat top right;}.defaultSkin .mceBlocker{position:absolute;left:0;top:0;z-index:1000;opacity:.5;-ms-filter:'alpha(opacity=50)';filter:alpha(opacity=50);background:#FFF;}.defaultSkin .mceProgress{position:absolute;left:0;top:0;z-index:1001;background:url(img/progress.gif) no-repeat;width:32px;height:32px;margin:-16px 0 0 -16px;}.defaultSkin .mcePlaceHolder{border:1px dotted gray;}.defaultSkin .mce_formatPreview a{font-size:10px;}.defaultSkin .mce_address span.mceText{font-style:italic;}.defaultSkin .mce_pre span.mceText{font-family:monospace;}.defaultSkin .mce_h1 span.mceText{font-weight:bolder;font-size:2em;}.defaultSkin .mce_h2 span.mceText{font-weight:bolder;font-size:1.5em;}.defaultSkin .mce_h3 span.mceText{font-weight:bolder;font-size:1.17em;}.defaultSkin .mce_h4 span.mceText{font-weight:bolder;font-size:1em;}.defaultSkin .mce_h5 span.mceText{font-weight:bolder;font-size:.83em;}.defaultSkin .mce_h6 span.mceText{font-weight:bolder;font-size:.75em;}.defaultSkin span.mce_bold{background-position:0 0;}.defaultSkin span.mce_italic{background-position:-60px 0;}.defaultSkin span.mce_underline{background-position:-140px 0;}.defaultSkin span.mce_strikethrough{background-position:-120px 0;}.defaultSkin span.mce_undo{background-position:-160px 0;}.defaultSkin span.mce_redo{background-position:-100px 0;}.defaultSkin span.mce_cleanup{background-position:-40px 0;}.defaultSkin span.mce_bullist{background-position:-20px 0;}.defaultSkin span.mce_numlist{background-position:-80px 0;}.defaultSkin span.mce_justifyleft{background-position:-460px 0;}.defaultSkin span.mce_justifyright{background-position:-480px 0;}.defaultSkin span.mce_justifycenter{background-position:-420px 0;}.defaultSkin span.mce_justifyfull{background-position:-440px 0;}.defaultSkin span.mce_anchor{background-position:-200px 0;}.defaultSkin span.mce_indent{background-position:-400px 0;}.defaultSkin span.mce_outdent{background-position:-540px 0;}.defaultSkin span.mce_link{background-position:-500px 0;}.defaultSkin span.mce_unlink{background-position:-640px 0;}.defaultSkin span.mce_sub{background-position:-600px 0;}.defaultSkin span.mce_sup{background-position:-620px 0;}.defaultSkin span.mce_removeformat{background-position:-580px 0;}.defaultSkin span.mce_newdocument{background-position:-520px 0;}.defaultSkin span.mce_image{background-position:-380px 0;}.defaultSkin span.mce_help{background-position:-340px 0;}.defaultSkin span.mce_code{background-position:-260px 0;}.defaultSkin span.mce_hr{background-position:-360px 0;}.defaultSkin span.mce_visualaid{background-position:-660px 0;}.defaultSkin span.mce_charmap{background-position:-240px 0;}.defaultSkin span.mce_paste{background-position:-560px 0;}.defaultSkin span.mce_copy{background-position:-700px 0;}.defaultSkin span.mce_cut{background-position:-680px 0;}.defaultSkin span.mce_blockquote{background-position:-220px 0;}.defaultSkin .mce_forecolor span.mceAction{background-position:-720px 0;}.defaultSkin .mce_backcolor span.mceAction{background-position:-760px 0;}.defaultSkin span.mce_forecolorpicker{background-position:-720px 0;}.defaultSkin span.mce_backcolorpicker{background-position:-760px 0;}.defaultSkin span.mce_advhr{background-position:-0px -20px;}.defaultSkin span.mce_ltr{background-position:-20px -20px;}.defaultSkin span.mce_rtl{background-position:-40px -20px;}.defaultSkin span.mce_emotions{background-position:-60px -20px;}.defaultSkin span.mce_fullpage{background-position:-80px -20px;}.defaultSkin span.mce_fullscreen{background-position:-100px -20px;}.defaultSkin span.mce_iespell{background-position:-120px -20px;}.defaultSkin span.mce_insertdate{background-position:-140px -20px;}.defaultSkin span.mce_inserttime{background-position:-160px -20px;}.defaultSkin span.mce_absolute{background-position:-180px -20px;}.defaultSkin span.mce_backward{background-position:-200px -20px;}.defaultSkin span.mce_forward{background-position:-220px -20px;}.defaultSkin span.mce_insert_layer{background-position:-240px -20px;}.defaultSkin span.mce_insertlayer{background-position:-260px -20px;}.defaultSkin span.mce_movebackward{background-position:-280px -20px;}.defaultSkin span.mce_moveforward{background-position:-300px -20px;}.defaultSkin span.mce_media{background-position:-320px -20px;}.defaultSkin span.mce_nonbreaking{background-position:-340px -20px;}.defaultSkin span.mce_pastetext{background-position:-360px -20px;}.defaultSkin span.mce_pasteword{background-position:-380px -20px;}.defaultSkin span.mce_selectall{background-position:-400px -20px;}.defaultSkin span.mce_preview{background-position:-420px -20px;}.defaultSkin span.mce_print{background-position:-440px -20px;}.defaultSkin span.mce_cancel{background-position:-460px -20px;}.defaultSkin span.mce_save{background-position:-480px -20px;}.defaultSkin span.mce_replace{background-position:-500px -20px;}.defaultSkin span.mce_search{background-position:-520px -20px;}.defaultSkin span.mce_styleprops{background-position:-560px -20px;}.defaultSkin span.mce_table{background-position:-580px -20px;}.defaultSkin span.mce_cell_props{background-position:-600px -20px;}.defaultSkin span.mce_delete_table{background-position:-620px -20px;}.defaultSkin span.mce_delete_col{background-position:-640px -20px;}.defaultSkin span.mce_delete_row{background-position:-660px -20px;}.defaultSkin span.mce_col_after{background-position:-680px -20px;}.defaultSkin span.mce_col_before{background-position:-700px -20px;}.defaultSkin span.mce_row_after{background-position:-720px -20px;}.defaultSkin span.mce_row_before{background-position:-740px -20px;}.defaultSkin span.mce_merge_cells{background-position:-760px -20px;}.defaultSkin span.mce_table_props{background-position:-980px -20px;}.defaultSkin span.mce_row_props{background-position:-780px -20px;}.defaultSkin span.mce_split_cells{background-position:-800px -20px;}.defaultSkin span.mce_template{background-position:-820px -20px;}.defaultSkin span.mce_visualchars{background-position:-840px -20px;}.defaultSkin span.mce_abbr{background-position:-860px -20px;}.defaultSkin span.mce_acronym{background-position:-880px -20px;}.defaultSkin span.mce_attribs{background-position:-900px -20px;}.defaultSkin span.mce_cite{background-position:-920px -20px;}.defaultSkin span.mce_del{background-position:-940px -20px;}.defaultSkin span.mce_ins{background-position:-960px -20px;}.defaultSkin span.mce_pagebreak{background-position:0 -40px;}.defaultSkin .mce_spellchecker span.mceAction{background-position:-540px -20px;}