cable 0.9.15 → 0.9.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (142) hide show
  1. data/VERSION +1 -1
  2. data/public/javascripts/tinymce/langs/en.js +54 -2
  3. data/public/javascripts/tinymce/plugins/advhr/langs/en_dlg.js +2 -0
  4. data/public/javascripts/tinymce/plugins/advhr/rule.htm +30 -29
  5. data/public/javascripts/tinymce/plugins/advimage/image.htm +34 -31
  6. data/public/javascripts/tinymce/plugins/advimage/js/image.js +4 -2
  7. data/public/javascripts/tinymce/plugins/advimage/langs/en_dlg.js +2 -0
  8. data/public/javascripts/tinymce/plugins/advlink/js/advlink.js +5 -10
  9. data/public/javascripts/tinymce/plugins/advlink/langs/en_dlg.js +4 -2
  10. data/public/javascripts/tinymce/plugins/advlink/link.htm +34 -29
  11. data/public/javascripts/tinymce/plugins/advlist/editor_plugin.js +1 -1
  12. data/public/javascripts/tinymce/plugins/advlist/editor_plugin_src.js +3 -3
  13. data/public/javascripts/tinymce/plugins/autolink/editor_plugin.js +1 -0
  14. data/public/javascripts/tinymce/plugins/autolink/editor_plugin_src.js +169 -0
  15. data/public/javascripts/tinymce/plugins/autosave/editor_plugin.js +1 -1
  16. data/public/javascripts/tinymce/plugins/autosave/editor_plugin_src.js +13 -4
  17. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin.js +1 -1
  18. data/public/javascripts/tinymce/plugins/bbcode/editor_plugin_src.js +1 -1
  19. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin.js +1 -1
  20. data/public/javascripts/tinymce/plugins/contextmenu/editor_plugin_src.js +23 -14
  21. data/public/javascripts/tinymce/plugins/emotions/emotions.htm +15 -14
  22. data/public/javascripts/tinymce/plugins/fullpage/css/fullpage.css +6 -4
  23. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin.js +1 -1
  24. data/public/javascripts/tinymce/plugins/fullpage/editor_plugin_src.js +53 -8
  25. data/public/javascripts/tinymce/plugins/fullpage/fullpage.htm +2 -2
  26. data/public/javascripts/tinymce/plugins/fullpage/js/fullpage.js +45 -19
  27. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin.js +1 -1
  28. data/public/javascripts/tinymce/plugins/fullscreen/editor_plugin_src.js +10 -2
  29. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin.js +1 -1
  30. data/public/javascripts/tinymce/plugins/inlinepopups/editor_plugin_src.js +76 -15
  31. data/public/javascripts/tinymce/plugins/inlinepopups/skins/clearlooks2/window.css +0 -10
  32. data/public/javascripts/tinymce/plugins/layer/editor_plugin.js +1 -1
  33. data/public/javascripts/tinymce/plugins/layer/editor_plugin_src.js +2 -0
  34. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin.js +1 -1
  35. data/public/javascripts/tinymce/plugins/legacyoutput/editor_plugin_src.js +29 -26
  36. data/public/javascripts/tinymce/plugins/lists/editor_plugin.js +1 -0
  37. data/public/javascripts/tinymce/plugins/lists/editor_plugin_src.js +617 -0
  38. data/public/javascripts/tinymce/plugins/media/css/media.css +5 -4
  39. data/public/javascripts/tinymce/plugins/media/editor_plugin.js +1 -1
  40. data/public/javascripts/tinymce/plugins/media/editor_plugin_src.js +652 -296
  41. data/public/javascripts/tinymce/plugins/media/js/media.js +327 -603
  42. data/public/javascripts/tinymce/plugins/media/langs/en_dlg.js +8 -2
  43. data/public/javascripts/tinymce/plugins/media/media.htm +283 -288
  44. data/public/javascripts/tinymce/plugins/media/moxieplayer.swf +0 -0
  45. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin.js +1 -1
  46. data/public/javascripts/tinymce/plugins/nonbreaking/editor_plugin_src.js +1 -1
  47. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin.js +1 -1
  48. data/public/javascripts/tinymce/plugins/pagebreak/editor_plugin_src.js +1 -4
  49. data/public/javascripts/tinymce/plugins/paste/editor_plugin.js +1 -1
  50. data/public/javascripts/tinymce/plugins/paste/editor_plugin_src.js +106 -128
  51. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin.js +1 -1
  52. data/public/javascripts/tinymce/plugins/searchreplace/editor_plugin_src.js +4 -0
  53. data/public/javascripts/tinymce/plugins/searchreplace/js/searchreplace.js +14 -10
  54. data/public/javascripts/tinymce/plugins/searchreplace/searchreplace.htm +17 -16
  55. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin.js +1 -1
  56. data/public/javascripts/tinymce/plugins/spellchecker/editor_plugin_src.js +55 -37
  57. data/public/javascripts/tinymce/plugins/style/js/props.js +2 -8
  58. data/public/javascripts/tinymce/plugins/style/langs/en_dlg.js +8 -1
  59. data/public/javascripts/tinymce/plugins/style/props.htm +513 -398
  60. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin.js +1 -1
  61. data/public/javascripts/tinymce/plugins/tabfocus/editor_plugin_src.js +30 -28
  62. data/public/javascripts/tinymce/plugins/table/cell.htm +12 -12
  63. data/public/javascripts/tinymce/plugins/table/editor_plugin.js +1 -1
  64. data/public/javascripts/tinymce/plugins/table/editor_plugin_src.js +85 -26
  65. data/public/javascripts/tinymce/plugins/table/js/cell.js +9 -11
  66. data/public/javascripts/tinymce/plugins/table/js/row.js +13 -18
  67. data/public/javascripts/tinymce/plugins/table/js/table.js +8 -12
  68. data/public/javascripts/tinymce/plugins/table/langs/en_dlg.js +1 -1
  69. data/public/javascripts/tinymce/plugins/table/merge_cells.htm +11 -11
  70. data/public/javascripts/tinymce/plugins/table/row.htm +10 -8
  71. data/public/javascripts/tinymce/plugins/table/table.htm +54 -53
  72. data/public/javascripts/tinymce/plugins/template/js/template.js +1 -1
  73. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin.js +1 -1
  74. data/public/javascripts/tinymce/plugins/visualchars/editor_plugin_src.js +1 -1
  75. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin.js +1 -1
  76. data/public/javascripts/tinymce/plugins/wordcount/editor_plugin_src.js +35 -19
  77. data/public/javascripts/tinymce/plugins/xhtmlxtras/abbr.htm +6 -5
  78. data/public/javascripts/tinymce/plugins/xhtmlxtras/acronym.htm +6 -5
  79. data/public/javascripts/tinymce/plugins/xhtmlxtras/attributes.htm +6 -5
  80. data/public/javascripts/tinymce/plugins/xhtmlxtras/cite.htm +5 -4
  81. data/public/javascripts/tinymce/plugins/xhtmlxtras/del.htm +9 -8
  82. data/public/javascripts/tinymce/plugins/xhtmlxtras/ins.htm +11 -10
  83. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/attributes.js +0 -1
  84. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/del.js +2 -2
  85. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/element_common.js +3 -5
  86. data/public/javascripts/tinymce/plugins/xhtmlxtras/js/ins.js +4 -3
  87. data/public/javascripts/tinymce/themes/advanced/about.htm +3 -5
  88. data/public/javascripts/tinymce/themes/advanced/anchor.htm +5 -5
  89. data/public/javascripts/tinymce/themes/advanced/charmap.htm +39 -40
  90. data/public/javascripts/tinymce/themes/advanced/color_picker.htm +10 -9
  91. data/public/javascripts/tinymce/themes/advanced/editor_template.js +1 -1
  92. data/public/javascripts/tinymce/themes/advanced/editor_template_src.js +171 -40
  93. data/public/javascripts/tinymce/themes/advanced/image.htm +51 -51
  94. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/flash.gif +0 -0
  95. data/public/javascripts/tinymce/themes/advanced/img/iframe.gif +0 -0
  96. data/public/javascripts/tinymce/{plugins/pagebreak → themes/advanced}/img/pagebreak.gif +0 -0
  97. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/quicktime.gif +0 -0
  98. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/realmedia.gif +0 -0
  99. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/shockwave.gif +0 -0
  100. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/trans.gif +0 -0
  101. data/public/javascripts/tinymce/themes/advanced/img/video.gif +0 -0
  102. data/public/javascripts/tinymce/{plugins/media → themes/advanced}/img/windowsmedia.gif +0 -0
  103. data/public/javascripts/tinymce/themes/advanced/js/about.js +1 -0
  104. data/public/javascripts/tinymce/themes/advanced/js/anchor.js +5 -0
  105. data/public/javascripts/tinymce/themes/advanced/js/charmap.js +26 -6
  106. data/public/javascripts/tinymce/themes/advanced/js/color_picker.js +108 -32
  107. data/public/javascripts/tinymce/themes/advanced/js/image.js +3 -1
  108. data/public/javascripts/tinymce/themes/advanced/js/link.js +4 -7
  109. data/public/javascripts/tinymce/themes/advanced/js/source_editor.js +1 -1
  110. data/public/javascripts/tinymce/themes/advanced/langs/en.js +8 -2
  111. data/public/javascripts/tinymce/themes/advanced/langs/en_dlg.js +6 -3
  112. data/public/javascripts/tinymce/themes/advanced/link.htm +27 -28
  113. data/public/javascripts/tinymce/themes/advanced/shortcuts.htm +47 -0
  114. data/public/javascripts/tinymce/themes/advanced/skins/default/content.css +11 -0
  115. data/public/javascripts/tinymce/themes/advanced/skins/default/ui.css +4 -4
  116. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/content.css +23 -0
  117. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/dialog.css +105 -0
  118. data/public/javascripts/tinymce/themes/advanced/skins/highcontrast/ui.css +101 -0
  119. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/content.css +10 -0
  120. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/dialog.css +1 -0
  121. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui.css +5 -4
  122. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_black.css +1 -1
  123. data/public/javascripts/tinymce/themes/advanced/skins/o2k7/ui_silver.css +1 -1
  124. data/public/javascripts/tinymce/themes/advanced/source_editor.htm +3 -3
  125. data/public/javascripts/tinymce/themes/simple/editor_template.js +1 -1
  126. data/public/javascripts/tinymce/themes/simple/editor_template_src.js +1 -2
  127. data/public/javascripts/tinymce/tiny_mce.js +1 -1
  128. data/public/javascripts/tinymce/tiny_mce_popup.js +1 -1
  129. data/public/javascripts/tinymce/tiny_mce_src.js +6383 -4025
  130. data/public/javascripts/tinymce/utils/form_utils.js +14 -4
  131. data/public/javascripts/tinymce/utils/mctabs.js +95 -10
  132. data/public/javascripts/tinymce/utils/validate.js +34 -2
  133. metadata +50 -93
  134. data/public/javascripts/tinymce/plugins/media/css/content.css +0 -6
  135. data/public/javascripts/tinymce/plugins/media/img/flv_player.swf +0 -0
  136. data/public/javascripts/tinymce/plugins/pagebreak/css/content.css +0 -1
  137. data/public/javascripts/tinymce/plugins/pagebreak/img/trans.gif +0 -0
  138. data/public/javascripts/tinymce/plugins/pdw/editor_plugin.js +0 -4
  139. data/public/javascripts/tinymce/plugins/pdw/editor_plugin_src.js +0 -158
  140. data/public/javascripts/tinymce/plugins/pdw/img/toolbars.gif +0 -0
  141. data/public/javascripts/tinymce/plugins/pdw/langs/en.js +0 -3
  142. data/public/javascripts/tinymce/plugins/pdw/langs/nl.js +0 -3
@@ -1 +1 @@
1
- (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})();
1
+ (function(){tinymce.create("tinymce.plugins.SearchReplacePlugin",{init:function(a,c){function b(d){window.focus();a.windowManager.open({file:c+"/searchreplace.htm",width:420+parseInt(a.getLang("searchreplace.delta_width",0)),height:170+parseInt(a.getLang("searchreplace.delta_height",0)),inline:1,auto_focus:0},{mode:d,search_string:a.selection.getContent({format:"text"}),plugin_url:c})}a.addCommand("mceSearch",function(){b("search")});a.addCommand("mceReplace",function(){b("replace")});a.addButton("search",{title:"searchreplace.search_desc",cmd:"mceSearch"});a.addButton("replace",{title:"searchreplace.replace_desc",cmd:"mceReplace"});a.addShortcut("ctrl+f","searchreplace.search_desc","mceSearch")},getInfo:function(){return{longname:"Search/Replace",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/searchreplace",version:tinymce.majorVersion+"."+tinymce.minorVersion}}});tinymce.PluginManager.add("searchreplace",tinymce.plugins.SearchReplacePlugin)})();
@@ -12,6 +12,10 @@
12
12
  tinymce.create('tinymce.plugins.SearchReplacePlugin', {
13
13
  init : function(ed, url) {
14
14
  function open(m) {
15
+ // Keep IE from writing out the f/r character to the editor
16
+ // instance while initializing a new dialog. See: #3131190
17
+ window.focus();
18
+
15
19
  ed.windowManager.open({
16
20
  file : url + '/searchreplace.htm',
17
21
  width : 420 + parseInt(ed.getLang('searchreplace.delta_width', 0)),
@@ -2,14 +2,18 @@ tinyMCEPopup.requireLangPack();
2
2
 
3
3
  var SearchReplaceDialog = {
4
4
  init : function(ed) {
5
- var f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
5
+ var t = this, f = document.forms[0], m = tinyMCEPopup.getWindowArg("mode");
6
6
 
7
- this.switchMode(m);
7
+ t.switchMode(m);
8
8
 
9
9
  f[m + '_panel_searchstring'].value = tinyMCEPopup.getWindowArg("search_string");
10
10
 
11
11
  // Focus input field
12
12
  f[m + '_panel_searchstring'].focus();
13
+
14
+ mcTabs.onChange.add(function(tab_id, panel_id) {
15
+ t.switchMode(tab_id.substring(0, tab_id.indexOf('_')));
16
+ });
13
17
  },
14
18
 
15
19
  switchMode : function(m) {
@@ -51,16 +55,14 @@ var SearchReplaceDialog = {
51
55
 
52
56
  function fix() {
53
57
  // Correct Firefox graphics glitches
58
+ // TODO: Verify if this is actually needed any more, maybe it was for very old FF versions?
54
59
  r = se.getRng().cloneRange();
55
60
  ed.getDoc().execCommand('SelectAll', false, null);
56
61
  se.setRng(r);
57
62
  };
58
63
 
59
64
  function replace() {
60
- if (tinymce.isIE)
61
- ed.selection.getRng().duplicate().pasteHTML(rs); // Needs to be duplicated due to selection bug in IE
62
- else
63
- ed.getDoc().execCommand('InsertHTML', false, rs);
65
+ ed.selection.setContent(rs); // Needs to be duplicated due to selection bug in IE
64
66
  };
65
67
 
66
68
  // IE flags
@@ -74,6 +76,9 @@ var SearchReplaceDialog = {
74
76
  ed.selection.collapse(true);
75
77
 
76
78
  if (tinymce.isIE) {
79
+ ed.focus();
80
+ r = ed.getDoc().selection.createRange();
81
+
77
82
  while (r.findText(s, b ? -1 : 1, fl)) {
78
83
  r.scrollIntoView();
79
84
  r.select();
@@ -110,15 +115,14 @@ var SearchReplaceDialog = {
110
115
  se.collapse(b);
111
116
  r = se.getRng();
112
117
 
113
- if (tinymce.isIE) {
114
- r = ed.getDoc().selection.createRange();
115
- }
116
-
117
118
  // Whats the point
118
119
  if (!s)
119
120
  return;
120
121
 
121
122
  if (tinymce.isIE) {
123
+ ed.focus();
124
+ r = ed.getDoc().selection.createRange();
125
+
122
126
  if (r.findText(s, b ? -1 : 1, fl)) {
123
127
  r.scrollIntoView();
124
128
  r.select();
@@ -8,27 +8,28 @@
8
8
  <script type="text/javascript" src="js/searchreplace.js"></script>
9
9
  <link rel="stylesheet" type="text/css" href="css/searchreplace.css" />
10
10
  </head>
11
- <body style="display:none;">
11
+ <body style="display:none;" role="application" aria-labelledby="app_title">
12
+ <span id="app_title" style="display:none">{#searchreplace_dlg.replace_title}</span>
12
13
  <form onsubmit="SearchReplaceDialog.searchNext('none');return false;" action="#">
13
14
  <div class="tabs">
14
15
  <ul>
15
- <li id="search_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
16
- <li id="replace_tab"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
16
+ <li id="search_tab" aria-controls="search_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('search');" onmousedown="return false;">{#searchreplace.search_desc}</a></span></li>
17
+ <li id="replace_tab" aria-controls="replace_panel"><span><a href="javascript:SearchReplaceDialog.switchMode('replace');" onmousedown="return false;">{#searchreplace_dlg.replace}</a></span></li>
17
18
  </ul>
18
19
  </div>
19
20
 
20
21
  <div class="panel_wrapper">
21
22
  <div id="search_panel" class="panel">
22
- <table border="0" cellspacing="0" cellpadding="2">
23
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
23
24
  <tr>
24
25
  <td><label for="search_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
25
- <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" /></td>
26
+ <td><input type="text" id="search_panel_searchstring" name="search_panel_searchstring" style="width: 200px" aria-required="true" /></td>
26
27
  </tr>
27
28
  <tr>
28
29
  <td colspan="2">
29
- <table border="0" cellspacing="0" cellpadding="0" class="direction">
30
- <tr>
31
- <td><label>{#searchreplace_dlg.direction}</label></td>
30
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
31
+ <tr role="group" aria-labelledby="search_panel_backwards_label">
32
+ <td><label id="search_panel_backwards_label">{#searchreplace_dlg.direction}</label></td>
32
33
  <td><input id="search_panel_backwardsu" name="search_panel_backwards" class="radio" type="radio" /></td>
33
34
  <td><label for="search_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
34
35
  <td><input id="search_panel_backwardsd" name="search_panel_backwards" class="radio" type="radio" checked="checked" /></td>
@@ -39,7 +40,7 @@
39
40
  </tr>
40
41
  <tr>
41
42
  <td colspan="2">
42
- <table border="0" cellspacing="0" cellpadding="0">
43
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
43
44
  <tr>
44
45
  <td><input id="search_panel_casesensitivebox" name="search_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
45
46
  <td><label for="search_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
@@ -51,20 +52,20 @@
51
52
  </div>
52
53
 
53
54
  <div id="replace_panel" class="panel">
54
- <table border="0" cellspacing="0" cellpadding="2">
55
+ <table role="presentation" border="0" cellspacing="0" cellpadding="2">
55
56
  <tr>
56
57
  <td><label for="replace_panel_searchstring">{#searchreplace_dlg.findwhat}</label></td>
57
- <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" /></td>
58
+ <td><input type="text" id="replace_panel_searchstring" name="replace_panel_searchstring" style="width: 200px" aria-required="true" /></td>
58
59
  </tr>
59
60
  <tr>
60
61
  <td><label for="replace_panel_replacestring">{#searchreplace_dlg.replacewith}</label></td>
61
- <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" /></td>
62
+ <td><input type="text" id="replace_panel_replacestring" name="replace_panel_replacestring" style="width: 200px" aria-required="true" /></td>
62
63
  </tr>
63
64
  <tr>
64
65
  <td colspan="2">
65
- <table border="0" cellspacing="0" cellpadding="0" class="direction">
66
- <tr>
67
- <td><label>{#searchreplace_dlg.direction}</label></td>
66
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" class="direction">
67
+ <tr role="group" aria-labelledby="replace_panel_dir_label">
68
+ <td><label id="replace_panel_dir_label">{#searchreplace_dlg.direction}</label></td>
68
69
  <td><input id="replace_panel_backwardsu" name="replace_panel_backwards" class="radio" type="radio" /></td>
69
70
  <td><label for="replace_panel_backwardsu">{#searchreplace_dlg.up}</label></td>
70
71
  <td><input id="replace_panel_backwardsd" name="replace_panel_backwards" class="radio" type="radio" checked="checked" /></td>
@@ -75,7 +76,7 @@
75
76
  </tr>
76
77
  <tr>
77
78
  <td colspan="2">
78
- <table border="0" cellspacing="0" cellpadding="0">
79
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
79
80
  <tr>
80
81
  <td><input id="replace_panel_casesensitivebox" name="replace_panel_casesensitivebox" class="checkbox" type="checkbox" /></td>
81
82
  <td><label for="replace_panel_casesensitivebox">{#searchreplace_dlg.mcase}</label></td>
@@ -1 +1 @@
1
- (function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});e.onInit.add(function(){if(e.settings.content_css!==false){e.dom.loadCSS(f+"/css/content.css")}});e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(o){var i,h,g,f,e,n="",k=this.editor,p=this._getSeparators(),j=k.dom,d=[];var l=k.selection,m=l.getBookmark();c(o,function(q){n+=(n?"|":"")+q});i=new RegExp("(["+p+"])("+n+")(["+p+"])","g");h=new RegExp("^("+n+")","g");g=new RegExp("("+n+")(["+p+"]?)$","g");f=new RegExp("^("+n+")(["+p+"]?)$","g");e=new RegExp("("+n+")(["+p+"])","g");this._walk(this.editor.getBody(),function(q){if(q.nodeType==3){d.push(q)}});c(d,function(r){var q;if(r.nodeType==3){q=r.nodeValue;if(i.test(q)||h.test(q)||g.test(q)||f.test(q)){q=j.encode(q);q=q.replace(e,'<span class="mceItemHiddenSpellWord">$1</span>$2');q=q.replace(g,'<span class="mceItemHiddenSpellWord">$1</span>$2');j.replace(j.create("span",{"class":"mceItemHidden"},q),r)}}});l.moveToBookmark(m)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){l=b.getPos(h.getContentAreaContainer());d=h.controlManager.createDropMenu("spellcheckermenu",{offset_x:l.x,offset_y:l.y,"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
1
+ (function(){var a=tinymce.util.JSONRequest,c=tinymce.each,b=tinymce.DOM;tinymce.create("tinymce.plugins.SpellcheckerPlugin",{getInfo:function(){return{longname:"Spellchecker",author:"Moxiecode Systems AB",authorurl:"http://tinymce.moxiecode.com",infourl:"http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/spellchecker",version:tinymce.majorVersion+"."+tinymce.minorVersion}},init:function(e,f){var g=this,d;g.url=f;g.editor=e;g.rpcUrl=e.getParam("spellchecker_rpc_url","{backend}");if(g.rpcUrl=="{backend}"){if(tinymce.isIE){return}g.hasSupport=true;e.onContextMenu.addToTop(function(h,i){if(g.active){return false}})}e.addCommand("mceSpellCheck",function(){if(g.rpcUrl=="{backend}"){g.editor.getBody().spellcheck=g.active=!g.active;return}if(!g.active){e.setProgressState(1);g._sendRPC("checkWords",[g.selectedLang,g._getWords()],function(h){if(h.length>0){g.active=1;g._markWords(h);e.setProgressState(0);e.nodeChanged()}else{e.setProgressState(0);if(e.getParam("spellchecker_report_no_misspellings",true)){e.windowManager.alert("spellchecker.no_mpell")}}})}else{g._done()}});if(e.settings.content_css!==false){e.contentCSS.push(f+"/css/content.css")}e.onClick.add(g._showMenu,g);e.onContextMenu.add(g._showMenu,g);e.onBeforeGetContent.add(function(){if(g.active){g._removeWords()}});e.onNodeChange.add(function(i,h){h.setActive("spellchecker",g.active)});e.onSetContent.add(function(){g._done()});e.onBeforeGetContent.add(function(){g._done()});e.onBeforeExecCommand.add(function(h,i){if(i=="mceFullScreen"){g._done()}});g.languages={};c(e.getParam("spellchecker_languages","+English=en,Danish=da,Dutch=nl,Finnish=fi,French=fr,German=de,Italian=it,Polish=pl,Portuguese=pt,Spanish=es,Swedish=sv","hash"),function(i,h){if(h.indexOf("+")===0){h=h.substring(1);g.selectedLang=i}g.languages[h]=i})},createControl:function(h,d){var f=this,g,e=f.editor;if(h=="spellchecker"){if(f.rpcUrl=="{backend}"){if(f.hasSupport){g=d.createButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f})}return g}g=d.createSplitButton(h,{title:"spellchecker.desc",cmd:"mceSpellCheck",scope:f});g.onRenderMenu.add(function(j,i){i.add({title:"spellchecker.langs","class":"mceMenuItemTitle"}).setDisabled(1);c(f.languages,function(n,m){var p={icon:1},l;p.onclick=function(){if(n==f.selectedLang){return}l.setSelected(1);f.selectedItem.setSelected(0);f.selectedItem=l;f.selectedLang=n};p.title=m;l=i.add(p);l.setSelected(n==f.selectedLang);if(n==f.selectedLang){f.selectedItem=l}})});return g}},_walk:function(i,g){var h=this.editor.getDoc(),e;if(h.createTreeWalker){e=h.createTreeWalker(i,NodeFilter.SHOW_TEXT,null,false);while((i=e.nextNode())!=null){g.call(this,i)}}else{tinymce.walk(i,g,"childNodes")}},_getSeparators:function(){var e="",d,f=this.editor.getParam("spellchecker_word_separator_chars",'\\s!"#$%&()*+,-./:;<=>?@[]^_{|}����������������\u201d\u201c');for(d=0;d<f.length;d++){e+="\\"+f.charAt(d)}return e},_getWords:function(){var e=this.editor,g=[],d="",f={},h=[];this._walk(e.getBody(),function(i){if(i.nodeType==3){d+=i.nodeValue+" "}});if(e.getParam("spellchecker_word_pattern")){h=d.match("("+e.getParam("spellchecker_word_pattern")+")","gi")}else{d=d.replace(new RegExp("([0-9]|["+this._getSeparators()+"])","g")," ");d=tinymce.trim(d.replace(/(\s+)/g," "));h=d.split(" ")}c(h,function(i){if(!f[i]){g.push(i);f[i]=1}});return g},_removeWords:function(e){var f=this.editor,h=f.dom,g=f.selection,d=g.getBookmark();c(h.select("span").reverse(),function(i){if(i&&(h.hasClass(i,"mceItemHiddenSpellWord")||h.hasClass(i,"mceItemHidden"))){if(!e||h.decode(i.innerHTML)==e){h.remove(i,1)}}});g.moveToBookmark(d)},_markWords:function(k){var g=this.editor,f=g.dom,h=g.selection,i=h.getBookmark(),d=[],j=k.join("|"),l=this._getSeparators(),e=new RegExp("(^|["+l+"])("+j+")(?=["+l+"]|$)","g");this._walk(g.getBody(),function(m){if(m.nodeType==3){d.push(m)}});c(d,function(s){var q,p,m,r,o=s.nodeValue;if(e.test(o)){o=f.encode(o);p=f.create("span",{"class":"mceItemHidden"});if(tinymce.isIE){o=o.replace(e,"$1<mcespell>$2</mcespell>");while((r=o.indexOf("<mcespell>"))!=-1){m=o.substring(0,r);if(m.length){q=document.createTextNode(f.decode(m));p.appendChild(q)}o=o.substring(r+10);r=o.indexOf("</mcespell>");m=o.substring(0,r);o=o.substring(r+11);p.appendChild(f.create("span",{"class":"mceItemHiddenSpellWord"},m))}if(o.length){q=document.createTextNode(f.decode(o));p.appendChild(q)}}else{p.innerHTML=o.replace(e,'$1<span class="mceItemHiddenSpellWord">$2</span>')}f.replace(p,s)}});h.moveToBookmark(i)},_showMenu:function(h,j){var i=this,h=i.editor,d=i._menu,l,k=h.dom,g=k.getViewPort(h.getWin()),f=j.target;j=0;if(!d){d=h.controlManager.createDropMenu("spellcheckermenu",{"class":"mceNoIcons"});i._menu=d}if(k.hasClass(f,"mceItemHiddenSpellWord")){d.removeAll();d.add({title:"spellchecker.wait","class":"mceMenuItemTitle"}).setDisabled(1);i._sendRPC("getSuggestions",[i.selectedLang,k.decode(f.innerHTML)],function(m){var e;d.removeAll();if(m.length>0){d.add({title:"spellchecker.sug","class":"mceMenuItemTitle"}).setDisabled(1);c(m,function(n){d.add({title:n,onclick:function(){k.replace(h.getDoc().createTextNode(n),f);i._checkDone()}})});d.addSeparator()}else{d.add({title:"spellchecker.no_sug","class":"mceMenuItemTitle"}).setDisabled(1)}e=i.editor.getParam("spellchecker_enable_ignore_rpc","");d.add({title:"spellchecker.ignore_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});d.add({title:"spellchecker.ignore_words",onclick:function(){var n=f.innerHTML;i._removeWords(k.decode(n));i._checkDone();if(e){h.setProgressState(1);i._sendRPC("ignoreWords",[i.selectedLang,n],function(o){h.setProgressState(0)})}}});if(i.editor.getParam("spellchecker_enable_learn_rpc")){d.add({title:"spellchecker.learn_word",onclick:function(){var n=f.innerHTML;k.remove(f,1);i._checkDone();h.setProgressState(1);i._sendRPC("learnWord",[i.selectedLang,n],function(o){h.setProgressState(0)})}})}d.update()});l=k.getPos(h.getContentAreaContainer());d.settings.offset_x=l.x;d.settings.offset_y=l.y;h.selection.select(f);l=k.getPos(f);d.showMenu(l.x,l.y+f.offsetHeight-g.y);return tinymce.dom.Event.cancel(j)}else{d.hideMenu()}},_checkDone:function(){var e=this,d=e.editor,g=d.dom,f;c(g.select("span"),function(h){if(h&&g.hasClass(h,"mceItemHiddenSpellWord")){f=true;return false}});if(!f){e._done()}},_done:function(){var d=this,e=d.active;if(d.active){d.active=0;d._removeWords();if(d._menu){d._menu.hideMenu()}if(e){d.editor.nodeChanged()}}},_sendRPC:function(e,g,d){var f=this;a.sendRPC({url:f.rpcUrl,method:e,params:g,success:d,error:function(i,h){f.editor.setProgressState(0);f.editor.windowManager.alert(i.errstr||("Error response: "+h.responseText))}})}});tinymce.PluginManager.add("spellchecker",tinymce.plugins.SpellcheckerPlugin)})();
@@ -70,10 +70,8 @@
70
70
  t._done();
71
71
  });
72
72
 
73
- ed.onInit.add(function() {
74
- if (ed.settings.content_css !== false)
75
- ed.dom.loadCSS(url + '/css/content.css');
76
- });
73
+ if (ed.settings.content_css !== false)
74
+ ed.contentCSS.push(url + '/css/content.css');
77
75
 
78
76
  ed.onClick.add(t._showMenu, t);
79
77
  ed.onContextMenu.add(t._showMenu, t);
@@ -132,6 +130,9 @@
132
130
  var o = {icon : 1}, mi;
133
131
 
134
132
  o.onclick = function() {
133
+ if (v == t.selectedLang) {
134
+ return;
135
+ }
135
136
  mi.setSelected(1);
136
137
  t.selectedItem.setSelected(0);
137
138
  t.selectedItem = mi;
@@ -220,21 +221,11 @@
220
221
  },
221
222
 
222
223
  _markWords : function(wl) {
223
- var r1, r2, r3, r4, r5, w = '', ed = this.editor, re = this._getSeparators(), dom = ed.dom, nl = [];
224
- var se = ed.selection, b = se.getBookmark();
225
-
226
- each(wl, function(v) {
227
- w += (w ? '|' : '') + v;
228
- });
229
-
230
- r1 = new RegExp('([' + re + '])(' + w + ')([' + re + '])', 'g');
231
- r2 = new RegExp('^(' + w + ')', 'g');
232
- r3 = new RegExp('(' + w + ')([' + re + ']?)$', 'g');
233
- r4 = new RegExp('^(' + w + ')([' + re + ']?)$', 'g');
234
- r5 = new RegExp('(' + w + ')([' + re + '])', 'g');
224
+ var ed = this.editor, dom = ed.dom, se = ed.selection, b = se.getBookmark(), nl = [],
225
+ w = wl.join('|'), re = this._getSeparators(), rx = new RegExp('(^|[' + re + '])(' + w + ')(?=[' + re + ']|$)', 'g');
235
226
 
236
227
  // Collect all text nodes
237
- this._walk(this.editor.getBody(), function(n) {
228
+ this._walk(ed.getBody(), function(n) {
238
229
  if (n.nodeType == 3) {
239
230
  nl.push(n);
240
231
  }
@@ -242,18 +233,49 @@
242
233
 
243
234
  // Wrap incorrect words in spans
244
235
  each(nl, function(n) {
245
- var v;
246
-
247
- if (n.nodeType == 3) {
248
- v = n.nodeValue;
249
-
250
- if (r1.test(v) || r2.test(v) || r3.test(v) || r4.test(v)) {
251
- v = dom.encode(v);
252
- v = v.replace(r5, '<span class="mceItemHiddenSpellWord">$1</span>$2');
253
- v = v.replace(r3, '<span class="mceItemHiddenSpellWord">$1</span>$2');
254
-
255
- dom.replace(dom.create('span', {'class' : 'mceItemHidden'}, v), n);
236
+ var node, elem, txt, pos, v = n.nodeValue;
237
+
238
+ if (rx.test(v)) {
239
+ // Encode the content
240
+ v = dom.encode(v);
241
+ // Create container element
242
+ elem = dom.create('span', {'class' : 'mceItemHidden'});
243
+
244
+ // Following code fixes IE issues by creating text nodes
245
+ // using DOM methods instead of innerHTML.
246
+ // Bug #3124: <PRE> elements content is broken after spellchecking.
247
+ // Bug #1408: Preceding whitespace characters are removed
248
+ // @TODO: I'm not sure that both are still issues on IE9.
249
+ if (tinymce.isIE) {
250
+ // Enclose mispelled words with temporal tag
251
+ v = v.replace(rx, '$1<mcespell>$2</mcespell>');
252
+ // Loop over the content finding mispelled words
253
+ while ((pos = v.indexOf('<mcespell>')) != -1) {
254
+ // Add text node for the content before the word
255
+ txt = v.substring(0, pos);
256
+ if (txt.length) {
257
+ node = document.createTextNode(dom.decode(txt));
258
+ elem.appendChild(node);
259
+ }
260
+ v = v.substring(pos+10);
261
+ pos = v.indexOf('</mcespell>');
262
+ txt = v.substring(0, pos);
263
+ v = v.substring(pos+11);
264
+ // Add span element for the word
265
+ elem.appendChild(dom.create('span', {'class' : 'mceItemHiddenSpellWord'}, txt));
266
+ }
267
+ // Add text node for the rest of the content
268
+ if (v.length) {
269
+ node = document.createTextNode(dom.decode(v));
270
+ elem.appendChild(node);
271
+ }
272
+ } else {
273
+ // Other browsers preserve whitespace characters on innerHTML usage
274
+ elem.innerHTML = v.replace(rx, '$1<span class="mceItemHiddenSpellWord">$2</span>');
256
275
  }
276
+
277
+ // Finally, replace the node with the container
278
+ dom.replace(elem, n);
257
279
  }
258
280
  });
259
281
 
@@ -266,15 +288,7 @@
266
288
  e = 0; // Fixes IE memory leak
267
289
 
268
290
  if (!m) {
269
- p1 = DOM.getPos(ed.getContentAreaContainer());
270
- //p2 = DOM.getPos(ed.getContainer());
271
-
272
- m = ed.controlManager.createDropMenu('spellcheckermenu', {
273
- offset_x : p1.x,
274
- offset_y : p1.y,
275
- 'class' : 'mceNoIcons'
276
- });
277
-
291
+ m = ed.controlManager.createDropMenu('spellcheckermenu', {'class' : 'mceNoIcons'});
278
292
  t._menu = m;
279
293
  }
280
294
 
@@ -358,6 +372,10 @@
358
372
  m.update();
359
373
  });
360
374
 
375
+ p1 = dom.getPos(ed.getContentAreaContainer());
376
+ m.settings.offset_x = p1.x;
377
+ m.settings.offset_y = p1.y;
378
+
361
379
  ed.selection.select(wordSpan);
362
380
  p1 = dom.getPos(wordSpan);
363
381
  m.showMenu(p1.x, p1.y + wordSpan.offsetHeight - vp.y);
@@ -177,11 +177,7 @@ function setupFormData() {
177
177
 
178
178
  f.box_height.value = getNum(ce.style.height);
179
179
  selectByValue(f, 'box_height_measurement', getMeasurement(ce.style.height));
180
-
181
- if (tinymce.isGecko)
182
- selectByValue(f, 'box_float', ce.style.cssFloat, true, true);
183
- else
184
- selectByValue(f, 'box_float', ce.style.styleFloat, true, true);
180
+ selectByValue(f, 'box_float', ce.style.cssFloat || ce.style.styleFloat, true, true);
185
181
 
186
182
  selectByValue(f, 'box_clear', ce.style.clear, true, true);
187
183
 
@@ -440,9 +436,7 @@ function generateCSS() {
440
436
  ce.style.width = f.box_width.value + (isNum(f.box_width.value) ? f.box_width_measurement.value : "");
441
437
  ce.style.height = f.box_height.value + (isNum(f.box_height.value) ? f.box_height_measurement.value : "");
442
438
  ce.style.styleFloat = f.box_float.value;
443
-
444
- if (tinymce.isGecko)
445
- ce.style.cssFloat = f.box_float.value;
439
+ ce.style.cssFloat = f.box_float.value;
446
440
 
447
441
  ce.style.clear = f.box_clear.value;
448
442
 
@@ -59,5 +59,12 @@ visibility:"Visibility",
59
59
  zindex:"Z-index",
60
60
  overflow:"Overflow",
61
61
  placement:"Placement",
62
- clip:"Clip"
62
+ clip:"Clip",
63
+ text:"Text",
64
+ background:"Background",
65
+ block:"Block",
66
+ box:"Box",
67
+ border:"Border",
68
+ list:"List",
69
+ position:"Position"
63
70
  });
@@ -10,277 +10,317 @@
10
10
  <link href="css/props.css" rel="stylesheet" type="text/css" />
11
11
  </head>
12
12
 
13
- <body id="styleprops" style="display: none">
13
+ <body id="styleprops" style="display: none" role="application" aria-labelledby="app_title">
14
+ <span id="app_title" style="display:none">{#style_dlg.title}</span>
14
15
  <form onsubmit="updateAction();return false;" action="#">
15
16
  <div class="tabs">
16
17
  <ul>
17
- <li id="text_tab" class="current"><span><a href="javascript:mcTabs.displayTab('text_tab','text_panel');" onMouseDown="return false;">{#style_dlg.text_tab}</a></span></li>
18
- <li id="background_tab"><span><a href="javascript:mcTabs.displayTab('background_tab','background_panel');" onMouseDown="return false;">{#style_dlg.background_tab}</a></span></li>
19
- <li id="block_tab"><span><a href="javascript:mcTabs.displayTab('block_tab','block_panel');" onMouseDown="return false;">{#style_dlg.block_tab}</a></span></li>
20
- <li id="box_tab"><span><a href="javascript:mcTabs.displayTab('box_tab','box_panel');" onMouseDown="return false;">{#style_dlg.box_tab}</a></span></li>
21
- <li id="border_tab"><span><a href="javascript:mcTabs.displayTab('border_tab','border_panel');" onMouseDown="return false;">{#style_dlg.border_tab}</a></span></li>
22
- <li id="list_tab"><span><a href="javascript:mcTabs.displayTab('list_tab','list_panel');" onMouseDown="return false;">{#style_dlg.list_tab}</a></span></li>
23
- <li id="positioning_tab"><span><a href="javascript:mcTabs.displayTab('positioning_tab','positioning_panel');" onMouseDown="return false;">{#style_dlg.positioning_tab}</a></span></li>
18
+ <li id="text_tab" class="current" aria-controls="text_panel"><span><a href="javascript:mcTabs.displayTab('text_tab','text_panel');" onMouseDown="return false;">{#style_dlg.text_tab}</a></span></li>
19
+ <li id="background_tab" aria-controls="background_panel"><span><a href="javascript:mcTabs.displayTab('background_tab','background_panel');" onMouseDown="return false;">{#style_dlg.background_tab}</a></span></li>
20
+ <li id="block_tab" aria-controls="block_panel"><span><a href="javascript:mcTabs.displayTab('block_tab','block_panel');" onMouseDown="return false;">{#style_dlg.block_tab}</a></span></li>
21
+ <li id="box_tab" aria-controls="box_panel"><span><a href="javascript:mcTabs.displayTab('box_tab','box_panel');" onMouseDown="return false;">{#style_dlg.box_tab}</a></span></li>
22
+ <li id="border_tab" aria-controls="border_panel"><span><a href="javascript:mcTabs.displayTab('border_tab','border_panel');" onMouseDown="return false;">{#style_dlg.border_tab}</a></span></li>
23
+ <li id="list_tab" aria-controls="list_panel"><span><a href="javascript:mcTabs.displayTab('list_tab','list_panel');" onMouseDown="return false;">{#style_dlg.list_tab}</a></span></li>
24
+ <li id="positioning_tab" aria-controls="positioning_panel"><span><a href="javascript:mcTabs.displayTab('positioning_tab','positioning_panel');" onMouseDown="return false;">{#style_dlg.positioning_tab}</a></span></li>
24
25
  </ul>
25
26
  </div>
26
27
 
27
28
  <div class="panel_wrapper">
28
29
  <div id="text_panel" class="panel current">
29
- <table border="0" width="100%">
30
- <tr>
31
- <td><label for="text_font">{#style_dlg.text_font}</label></td>
32
- <td colspan="3">
33
- <select id="text_font" name="text_font" class="mceEditableSelect mceFocus"></select>
34
- </td>
35
- </tr>
36
- <tr>
37
- <td><label for="text_size">{#style_dlg.text_size}</label></td>
38
- <td>
39
- <table border="0" cellspacing="0" cellpadding="0">
40
- <tr>
41
- <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
42
- <td>&nbsp;</td>
43
- <td><select id="text_size_measurement" name="text_size_measurement"></select></td>
44
- </tr>
45
- </table>
46
- </td>
47
- <td><label for="text_weight">{#style_dlg.text_weight}</label></td>
48
- <td>
49
- <select id="text_weight" name="text_weight"></select>
50
- </td>
51
- </tr>
52
- <tr>
53
- <td><label for="text_style">{#style_dlg.text_style}</label></td>
54
- <td>
55
- <select id="text_style" name="text_style" class="mceEditableSelect"></select>
56
- </td>
57
- <td><label for="text_variant">{#style_dlg.text_variant}</label></td>
58
- <td>
59
- <select id="text_variant" name="text_variant"></select>
60
- </td>
61
- </tr>
62
- <tr>
63
- <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
64
- <td>
65
- <table border="0" cellspacing="0" cellpadding="0">
66
- <tr>
67
- <td>
68
- <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
69
- </td>
70
- <td>&nbsp;</td>
71
- <td><select id="text_lineheight_measurement" name="text_lineheight_measurement"></select></td>
72
- </tr>
73
- </table>
74
- </td>
75
- <td><label for="text_case">{#style_dlg.text_case}</label></td>
76
- <td>
77
- <select id="text_case" name="text_case"></select>
78
- </td>
79
- </tr>
80
- <tr>
81
- <td><label for="text_color">{#style_dlg.text_color}</label></td>
82
- <td colspan="2">
83
- <table border="0" cellpadding="0" cellspacing="0">
84
- <tr>
85
- <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
86
- <td id="text_color_pickcontainer">&nbsp;</td>
87
- </tr>
88
- </table>
89
- </td>
90
- </tr>
91
- <tr>
92
- <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
93
- <td colspan="2">
94
- <table border="0" cellspacing="0" cellpadding="0">
95
- <tr>
96
- <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
97
- <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
98
- </tr>
99
- <tr>
100
- <td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
101
- <td><label for="text_overline">{#style_dlg.text_overline}</label></td>
102
- </tr>
103
- <tr>
104
- <td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
105
- <td><label for="text_linethrough">{#style_dlg.text_striketrough}</label></td>
106
- </tr>
107
- <tr>
108
- <td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
109
- <td><label for="text_blink">{#style_dlg.text_blink}</label></td>
110
- </tr>
111
- <tr>
112
- <td><input id="text_none" name="text_none" class="checkbox" type="checkbox" /></td>
113
- <td><label for="text_none">{#style_dlg.text_none}</label></td>
114
- </tr>
115
- </table>
116
- </td>
117
- </tr>
118
- </table>
30
+ <fieldset>
31
+ <legend>{#style_dlg.text}</legend>
32
+ <table role="presentation" border="0" width="100%">
33
+ <tr>
34
+ <td><label for="text_font">{#style_dlg.text_font}</label></td>
35
+ <td colspan="3">
36
+ <select id="text_font" name="text_font" class="mceEditableSelect mceFocus"></select>
37
+ </td>
38
+ </tr>
39
+ <tr>
40
+ <td><label for="text_size">{#style_dlg.text_size}</label></td>
41
+ <td>
42
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
43
+ <tr>
44
+ <td><select id="text_size" name="text_size" class="mceEditableSelect"></select></td>
45
+ <td>&nbsp;</td>
46
+ <td>
47
+ <label id="text_size_measurement_label" for="text_size_measurement" style="display: none; visibility: hidden;">Text Size Measurement Unit</label>
48
+ <select id="text_size_measurement" name="text_size_measurement" aria-labelledby="text_size_measurement_label"></select>
49
+ </td>
50
+ </tr>
51
+ </table>
52
+ </td>
53
+ <td><label for="text_weight">{#style_dlg.text_weight}</label></td>
54
+ <td>
55
+ <select id="text_weight" name="text_weight"></select>
56
+ </td>
57
+ </tr>
58
+ <tr>
59
+ <td><label for="text_style">{#style_dlg.text_style}</label></td>
60
+ <td>
61
+ <select id="text_style" name="text_style" class="mceEditableSelect"></select>
62
+ </td>
63
+ <td><label for="text_variant">{#style_dlg.text_variant}</label></td>
64
+ <td>
65
+ <select id="text_variant" name="text_variant"></select>
66
+ </td>
67
+ </tr>
68
+ <tr>
69
+ <td><label for="text_lineheight">{#style_dlg.text_lineheight}</label></td>
70
+ <td>
71
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
72
+ <tr>
73
+ <td>
74
+ <select id="text_lineheight" name="text_lineheight" class="mceEditableSelect"></select>
75
+ </td>
76
+ <td>&nbsp;</td>
77
+ <td>
78
+ <label id="text_lineheight_measurement_label" for="text_lineheight_measurement" style="display: none; visibility: hidden;">Line Height Measurement Unit</label>
79
+ <select id="text_lineheight_measurement" name="text_lineheight_measurement" aria-labelledby="text_lineheight_measurement_label"></select>
80
+ </td>
81
+ </tr>
82
+ </table>
83
+ </td>
84
+ <td><label for="text_case">{#style_dlg.text_case}</label></td>
85
+ <td>
86
+ <select id="text_case" name="text_case"></select>
87
+ </td>
88
+ </tr>
89
+ <tr>
90
+ <td><label for="text_color">{#style_dlg.text_color}</label></td>
91
+ <td colspan="2">
92
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
93
+ <tr>
94
+ <td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
95
+ <td id="text_color_pickcontainer">&nbsp;</td>
96
+ </tr>
97
+ </table>
98
+ </td>
99
+ </tr>
100
+ <tr>
101
+ <td valign="top" style="vertical-align: top; padding-top: 3px;">{#style_dlg.text_decoration}</td>
102
+ <td colspan="2">
103
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
104
+ <tr>
105
+ <td><input id="text_underline" name="text_underline" class="checkbox" type="checkbox" /></td>
106
+ <td><label for="text_underline">{#style_dlg.text_underline}</label></td>
107
+ </tr>
108
+ <tr>
109
+ <td><input id="text_overline" name="text_overline" class="checkbox" type="checkbox" /></td>
110
+ <td><label for="text_overline">{#style_dlg.text_overline}</label></td>
111
+ </tr>
112
+ <tr>
113
+ <td><input id="text_linethrough" name="text_linethrough" class="checkbox" type="checkbox" /></td>
114
+ <td><label for="text_linethrough">{#style_dlg.text_striketrough}</label></td>
115
+ </tr>
116
+ <tr>
117
+ <td><input id="text_blink" name="text_blink" class="checkbox" type="checkbox" /></td>
118
+ <td><label for="text_blink">{#style_dlg.text_blink}</label></td>
119
+ </tr>
120
+ <tr>
121
+ <td><input id="text_none" name="text_none" class="checkbox" type="checkbox" /></td>
122
+ <td><label for="text_none">{#style_dlg.text_none}</label></td>
123
+ </tr>
124
+ </table>
125
+ </td>
126
+ </tr>
127
+ </table>
128
+ </fieldset>
119
129
  </div>
120
130
 
121
131
  <div id="background_panel" class="panel">
122
- <table border="0">
123
- <tr>
124
- <td><label for="background_color">{#style_dlg.background_color}</label></td>
125
- <td>
126
- <table border="0" cellpadding="0" cellspacing="0">
127
- <tr>
128
- <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
129
- <td id="background_color_pickcontainer">&nbsp;</td>
132
+ <fieldset>
133
+ <legend>{#style_dlg.background}</legend>
134
+ <table role="presentation" border="0">
135
+ <tr>
136
+ <td><label for="background_color">{#style_dlg.background_color}</label></td>
137
+ <td>
138
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
139
+ <tr>
140
+ <td><input id="background_color" name="background_color" type="text" value="" size="9" onChange="updateColor('background_color_pick','background_color');" /></td>
141
+ <td id="background_color_pickcontainer">&nbsp;</td>
142
+ </tr>
143
+ </table>
144
+ </td>
145
+ </tr>
146
+
147
+ <tr>
148
+ <td><label for="background_image">{#style_dlg.background_image}</label></td>
149
+ <td><table role="presentation" border="0" cellspacing="0" cellpadding="0">
150
+ <tr>
151
+ <td><input id="background_image" name="background_image" type="text" /></td>
152
+ <td id="background_image_browser">&nbsp;</td>
130
153
  </tr>
131
- </table>
132
- </td>
133
- </tr>
154
+ </table>
155
+ </td>
156
+ </tr>
134
157
 
135
- <tr>
136
- <td><label for="background_image">{#style_dlg.background_image}</label></td>
137
- <td><table border="0" cellspacing="0" cellpadding="0">
138
- <tr>
139
- <td><input id="background_image" name="background_image" type="text" /></td>
140
- <td id="background_image_browser">&nbsp;</td>
141
- </tr>
142
- </table>
143
- </td>
144
- </tr>
158
+ <tr>
159
+ <td><label for="background_repeat">{#style_dlg.background_repeat}</label></td>
160
+ <td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
161
+ </tr>
145
162
 
146
- <tr>
147
- <td><label for="background_repeat">{#style_dlg.background_repeat}</label></td>
148
- <td><select id="background_repeat" name="background_repeat" class="mceEditableSelect"></select></td>
149
- </tr>
163
+ <tr>
164
+ <td><label for="background_attachment">{#style_dlg.background_attachment}</label></td>
165
+ <td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
166
+ </tr>
150
167
 
151
- <tr>
152
- <td><label for="background_attachment">{#style_dlg.background_attachment}</label></td>
153
- <td><select id="background_attachment" name="background_attachment" class="mceEditableSelect"></select></td>
154
- </tr>
168
+ <tr>
169
+ <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
170
+ <td>
171
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
172
+ <tr>
173
+ <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
174
+ <td>&nbsp;</td>
175
+ <td>
176
+ <label id="background_hpos_measurement_label" for="background_hpos_measurement" style="display: none; visibility: hidden;">Horizontal position measurement unit</label>
177
+ <select id="background_hpos_measurement" name="background_hpos_measurement" aria-labelledby="background_hpos_measurement_label"></select>
178
+ </td>
179
+ </tr>
180
+ </table>
181
+ </td>
182
+ </tr>
155
183
 
156
- <tr>
157
- <td><label for="background_hpos">{#style_dlg.background_hpos}</label></td>
158
- <td>
159
- <table border="0" cellspacing="0" cellpadding="0">
160
- <tr>
161
- <td><select id="background_hpos" name="background_hpos" class="mceEditableSelect"></select></td>
162
- <td>&nbsp;</td>
163
- <td><select id="background_hpos_measurement" name="background_hpos_measurement"></select></td>
164
- </tr>
165
- </table>
166
- </td>
167
- </tr>
184
+ <tr>
185
+ <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
186
+ <td>
187
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
188
+ <tr>
189
+ <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
190
+ <td>&nbsp;</td>
191
+ <td>
168
192
 
169
- <tr>
170
- <td><label for="background_vpos">{#style_dlg.background_vpos}</label></td>
171
- <td>
172
- <table border="0" cellspacing="0" cellpadding="0">
173
- <tr>
174
- <td><select id="background_vpos" name="background_vpos" class="mceEditableSelect"></select></td>
175
- <td>&nbsp;</td>
176
- <td><select id="background_vpos_measurement" name="background_vpos_measurement"></select></td>
177
- </tr>
178
- </table>
179
- </td>
180
- </tr>
181
- </table>
193
+ <label id="background_vpos_measurement_label" for="background_vpos_measurement" style="display: none; visibility: hidden;">Vertical position measurement unit</label>
194
+ <select id="background_vpos_measurement" name="background_vpos_measurement" aria-labelledby="background_vpos_measurement_label">></select></td>
195
+ </tr>
196
+ </table>
197
+ </td>
198
+ </tr>
199
+ </table>
200
+ </fieldset>
182
201
  </div>
183
202
 
184
203
  <div id="block_panel" class="panel">
185
- <table border="0">
186
- <tr>
187
- <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
188
- <td>
189
- <table border="0" cellspacing="0" cellpadding="0">
190
- <tr>
191
- <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
192
- <td>&nbsp;</td>
193
- <td><select id="block_wordspacing_measurement" name="block_wordspacing_measurement"></select></td>
194
- </tr>
195
- </table>
196
- </td>
197
- </tr>
204
+ <fieldset>
205
+ <legend>{#style_dlg.block}</legend>
206
+ <table role="presentation" border="0">
207
+ <tr>
208
+ <td><label for="block_wordspacing">{#style_dlg.block_wordspacing}</label></td>
209
+ <td>
210
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
211
+ <tr>
212
+ <td><select id="block_wordspacing" name="block_wordspacing" class="mceEditableSelect"></select></td>
213
+ <td>&nbsp;</td>
214
+ <td>
215
+ <label id="block_wordspacing_measurement_label" for="block_wordspacing_measurement" style="display: none; visibility: hidden;">Word spacing measurement unit</label>
216
+ <select id="block_wordspacing_measurement" name="block_wordspacing_measurement" aria-labelledby="block_wordspacing_measurement_label"></select>
217
+ </td>
218
+ </tr>
219
+ </table>
220
+ </td>
221
+ </tr>
198
222
 
199
- <tr>
200
- <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
201
- <td>
202
- <table border="0" cellspacing="0" cellpadding="0">
203
- <tr>
204
- <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
205
- <td>&nbsp;</td>
206
- <td><select id="block_letterspacing_measurement" name="block_letterspacing_measurement"></select></td>
207
- </tr>
208
- </table>
209
- </td>
210
- </tr>
223
+ <tr>
224
+ <td><label for="block_letterspacing">{#style_dlg.block_letterspacing}</label></td>
225
+ <td>
226
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
227
+ <tr>
228
+ <td><select id="block_letterspacing" name="block_letterspacing" class="mceEditableSelect"></select></td>
229
+ <td>&nbsp;</td>
230
+ <td>
231
+ <label id="block_letterspacing_measurement_label" for="block_letterspacing_measurement" style="display: none; visibility: hidden;">Letter spacing measurement unit</label>
232
+ <select id="block_letterspacing_measurement" name="block_letterspacing_measurement" aria-labelledby="block_letterspacing_measurement_label"></select>
233
+ </td>
234
+ </tr>
235
+ </table>
236
+ </td>
237
+ </tr>
211
238
 
212
- <tr>
213
- <td><label for="block_vertical_alignment">{#style_dlg.block_vertical_alignment}</label></td>
214
- <td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
215
- </tr>
239
+ <tr>
240
+ <td><label for="block_vertical_alignment">{#style_dlg.block_vertical_alignment}</label></td>
241
+ <td><select id="block_vertical_alignment" name="block_vertical_alignment" class="mceEditableSelect"></select></td>
242
+ </tr>
216
243
 
217
- <tr>
218
- <td><label for="block_text_align">{#style_dlg.block_text_align}</label></td>
219
- <td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
220
- </tr>
244
+ <tr>
245
+ <td><label for="block_text_align">{#style_dlg.block_text_align}</label></td>
246
+ <td><select id="block_text_align" name="block_text_align" class="mceEditableSelect"></select></td>
247
+ </tr>
221
248
 
222
- <tr>
223
- <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
224
- <td>
225
- <table border="0" cellspacing="0" cellpadding="0">
226
- <tr>
227
- <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
228
- <td>&nbsp;</td>
229
- <td><select id="block_text_indent_measurement" name="block_text_indent_measurement"></select></td>
230
- </tr>
231
- </table>
232
- </td>
233
- </tr>
249
+ <tr>
250
+ <td><label for="block_text_indent">{#style_dlg.block_text_indent}</label></td>
251
+ <td>
252
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
253
+ <tr>
254
+ <td><input type="text" id="block_text_indent" name="block_text_indent" /></td>
255
+ <td>&nbsp;</td>
256
+ <td>
257
+ <label id="block_text_indent_measurement_label" for="block_text_indent_measurement" style="display: none; visibility: hidden;">Text Indent Measurement Unit</label>
234
258
 
235
- <tr>
236
- <td><label for="block_whitespace">{#style_dlg.block_whitespace}</label></td>
237
- <td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
238
- </tr>
259
+ <select id="block_text_indent_measurement" name="block_text_indent_measurement" aria-labelledby="block_text_indent_measurement_label"></select>
260
+ </td>
261
+ </tr>
262
+ </table>
263
+ </td>
264
+ </tr>
239
265
 
240
- <tr>
241
- <td><label for="block_display">{#style_dlg.block_display}</label></td>
242
- <td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
243
- </tr>
244
- </table>
266
+ <tr>
267
+ <td><label for="block_whitespace">{#style_dlg.block_whitespace}</label></td>
268
+ <td><select id="block_whitespace" name="block_whitespace" class="mceEditableSelect"></select></td>
269
+ </tr>
270
+
271
+ <tr>
272
+ <td><label for="block_display">{#style_dlg.block_display}</label></td>
273
+ <td><select id="block_display" name="block_display" class="mceEditableSelect"></select></td>
274
+ </tr>
275
+ </table>
276
+ </fieldset>
245
277
  </div>
246
278
 
247
279
  <div id="box_panel" class="panel">
248
- <table border="0">
249
- <tr>
250
- <td><label for="box_width">{#style_dlg.box_width}</label></td>
251
- <td>
252
- <table border="0" cellspacing="0" cellpadding="0">
253
- <tr>
254
- <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
255
- <td>&nbsp;</td>
256
- <td><select id="box_width_measurement" name="box_width_measurement"></select></td>
257
- </tr>
258
- </table>
259
- </td>
260
- <td>&nbsp;&nbsp;&nbsp;<label for="box_float">{#style_dlg.box_float}</label></td>
261
- <td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
262
- </tr>
280
+ <fieldset>
281
+ <legend>{#style_dlg.box}</legend>
282
+ <table role="presentation" border="0">
283
+ <tr>
284
+ <td><label for="box_width">{#style_dlg.box_width}</label></td>
285
+ <td>
286
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
287
+ <tr>
288
+ <td><input type="text" id="box_width" name="box_width" class="mceEditableSelect" onChange="synch('box_width','positioning_width');" /></td>
289
+ <td>&nbsp;</td>
290
+ <td>
291
+ <label id="box_width_measurement_label" for="box_width_measurement" style="display: none; visibility: hidden;">Box Width Measurement Unit</label>
292
+ <select id="box_width_measurement" name="box_width_measurement" aria-labelledby="box_width_measurement_label"></select>
293
+ </td>
294
+ </tr>
295
+ </table>
296
+ </td>
297
+ <td>&nbsp;&nbsp;&nbsp;<label for="box_float">{#style_dlg.box_float}</label></td>
298
+ <td><select id="box_float" name="box_float" class="mceEditableSelect"></select></td>
299
+ </tr>
263
300
 
264
- <tr>
265
- <td><label for="box_height">{#style_dlg.box_height}</label></td>
266
- <td>
267
- <table border="0" cellspacing="0" cellpadding="0">
268
- <tr>
269
- <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
270
- <td>&nbsp;</td>
271
- <td><select id="box_height_measurement" name="box_height_measurement"></select></td>
272
- </tr>
273
- </table>
274
- </td>
275
- <td>&nbsp;&nbsp;&nbsp;<label for="box_clear">{#style_dlg.box_clear}</label></td>
276
- <td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
277
- </tr>
278
- </table>
301
+ <tr>
302
+ <td><label for="box_height">{#style_dlg.box_height}</label></td>
303
+ <td>
304
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
305
+ <tr>
306
+ <td><input type="text" id="box_height" name="box_height" class="mceEditableSelect" onChange="synch('box_height','positioning_height');" /></td>
307
+ <td>&nbsp;</td>
308
+ <td>
309
+ <label id="box_height_measurement_label" for="box_height_measurement" style="display: none; visibility: hidden;">Box Height Measurement Unit</label>
310
+ <select id="box_height_measurement" name="box_height_measurement" aria-labelledby="box_height_measurement_label"></select>
311
+ </td>
312
+ </tr>
313
+ </table>
314
+ </td>
315
+ <td>&nbsp;&nbsp;&nbsp;<label for="box_clear">{#style_dlg.box_clear}</label></td>
316
+ <td><select id="box_clear" name="box_clear" class="mceEditableSelect"></select></td>
317
+ </tr>
318
+ </table>
279
319
  <div style="float: left; width: 49%">
280
320
  <fieldset>
281
321
  <legend>{#style_dlg.padding}</legend>
282
322
 
283
- <table border="0">
323
+ <table role="presentation" border="0">
284
324
  <tr>
285
325
  <td>&nbsp;</td>
286
326
  <td><input type="checkbox" id="box_padding_same" name="box_padding_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_padding');" /> <label for="box_padding_same">{#style_dlg.same}</label></td>
@@ -288,11 +328,14 @@
288
328
  <tr>
289
329
  <td><label for="box_padding_top">{#style_dlg.top}</label></td>
290
330
  <td>
291
- <table border="0" cellspacing="0" cellpadding="0">
331
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
292
332
  <tr>
293
333
  <td><input type="text" id="box_padding_top" name="box_padding_top" class="mceEditableSelect" /></td>
294
334
  <td>&nbsp;</td>
295
- <td><select id="box_padding_top_measurement" name="box_padding_top_measurement"></select></td>
335
+ <td>
336
+ <label id="box_padding_top_measurement_label" for="box_padding_top_measurement" style="display: none; visibility: hidden;">Padding Top Measurement Unit</label>
337
+ <select id="box_padding_top_measurement" name="box_padding_top_measurement" aria-labelledby="box_padding_top_measurement_label"></select>
338
+ </td>
296
339
  </tr>
297
340
  </table>
298
341
  </td>
@@ -300,11 +343,14 @@
300
343
  <tr>
301
344
  <td><label for="box_padding_right">{#style_dlg.right}</label></td>
302
345
  <td>
303
- <table border="0" cellspacing="0" cellpadding="0">
346
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
304
347
  <tr>
305
348
  <td><input type="text" id="box_padding_right" name="box_padding_right" class="mceEditableSelect" disabled="disabled" /></td>
306
349
  <td>&nbsp;</td>
307
- <td><select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled"></select></td>
350
+ <td>
351
+ <label id="box_padding_right_measurement_label" for="box_padding_right_measurement" style="display: none; visibility: hidden;">Padding Right Measurement Unit</label>
352
+ <select id="box_padding_right_measurement" name="box_padding_right_measurement" disabled="disabled" aria-labelledby="box_padding_right_measurement_label"></select>
353
+ </td>
308
354
  </tr>
309
355
  </table>
310
356
  </td>
@@ -312,11 +358,14 @@
312
358
  <tr>
313
359
  <td><label for="box_padding_bottom">{#style_dlg.bottom}</label></td>
314
360
  <td>
315
- <table border="0" cellspacing="0" cellpadding="0">
361
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
316
362
  <tr>
317
363
  <td><input type="text" id="box_padding_bottom" name="box_padding_bottom" class="mceEditableSelect" disabled="disabled" /></td>
318
364
  <td>&nbsp;</td>
319
- <td><select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled"></select></td>
365
+ <td>
366
+ <label id="box_padding_bottom_measurement_label" for="box_padding_bottom_measurement" style="display: none; visibility: hidden;">Padding Bottom Measurement Unit</label>
367
+ <select id="box_padding_bottom_measurement" name="box_padding_bottom_measurement" disabled="disabled" aria-labelledby="box_padding_bottom_measurement_label"></select>
368
+ </td>
320
369
  </tr>
321
370
  </table>
322
371
  </td>
@@ -324,11 +373,14 @@
324
373
  <tr>
325
374
  <td><label for="box_padding_left">{#style_dlg.left}</label></td>
326
375
  <td>
327
- <table border="0" cellspacing="0" cellpadding="0">
376
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
328
377
  <tr>
329
378
  <td><input type="text" id="box_padding_left" name="box_padding_left" class="mceEditableSelect" disabled="disabled" /></td>
330
379
  <td>&nbsp;</td>
331
- <td><select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled"></select></td>
380
+ <td>
381
+ <label id="box_padding_left_measurement_label" for="box_padding_left_measurement" style="display: none; visibility: hidden;">Padding Left Measurement Unit</label>
382
+ <select id="box_padding_left_measurement" name="box_padding_left_measurement" disabled="disabled" aria-labelledby="box_padding_left_measurement_label"></select>
383
+ </td>
332
384
  </tr>
333
385
  </table>
334
386
  </td>
@@ -341,7 +393,7 @@
341
393
  <fieldset>
342
394
  <legend>{#style_dlg.margin}</legend>
343
395
 
344
- <table border="0">
396
+ <table role="presentation" border="0">
345
397
  <tr>
346
398
  <td>&nbsp;</td>
347
399
  <td><input type="checkbox" id="box_margin_same" name="box_margin_same" class="checkbox" checked="checked" onClick="toggleSame(this,'box_margin');" /> <label for="box_margin_same">{#style_dlg.same}</label></td>
@@ -349,11 +401,14 @@
349
401
  <tr>
350
402
  <td><label for="box_margin_top">{#style_dlg.top}</label></td>
351
403
  <td>
352
- <table border="0" cellspacing="0" cellpadding="0">
404
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
353
405
  <tr>
354
406
  <td><input type="text" id="box_margin_top" name="box_margin_top" class="mceEditableSelect" /></td>
355
407
  <td>&nbsp;</td>
356
- <td><select id="box_margin_top_measurement" name="box_margin_top_measurement"></select></td>
408
+ <td>
409
+ <label id="box_margin_top_measurement_label" for="box_margin_top_measurement" style="display: none; visibility: hidden;">Margin Top Measurement Unit</label>
410
+ <select id="box_margin_top_measurement" name="box_margin_top_measurement" aria-labelledby="box_margin_top_measurement_label"></select>
411
+ </td>
357
412
  </tr>
358
413
  </table>
359
414
  </td>
@@ -361,11 +416,14 @@
361
416
  <tr>
362
417
  <td><label for="box_margin_right">{#style_dlg.right}</label></td>
363
418
  <td>
364
- <table border="0" cellspacing="0" cellpadding="0">
419
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
365
420
  <tr>
366
421
  <td><input type="text" id="box_margin_right" name="box_margin_right" class="mceEditableSelect" disabled="disabled" /></td>
367
422
  <td>&nbsp;</td>
368
- <td><select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled"></select></td>
423
+ <td>
424
+ <label id="box_margin_right_measurement_label" for="box_margin_right_measurement" style="display: none; visibility: hidden;">Margin Right Measurement Unit</label>
425
+ <select id="box_margin_right_measurement" name="box_margin_right_measurement" disabled="disabled" aria-labelledby="box_margin_right_measurement_label"></select>
426
+ </td>
369
427
  </tr>
370
428
  </table>
371
429
  </td>
@@ -373,11 +431,14 @@
373
431
  <tr>
374
432
  <td><label for="box_margin_bottom">{#style_dlg.bottom}</label></td>
375
433
  <td>
376
- <table border="0" cellspacing="0" cellpadding="0">
434
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
377
435
  <tr>
378
436
  <td><input type="text" id="box_margin_bottom" name="box_margin_bottom" class="mceEditableSelect" disabled="disabled" /></td>
379
437
  <td>&nbsp;</td>
380
- <td><select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled"></select></td>
438
+ <td>
439
+ <label id="box_margin_bottom_measurement_label" for="box_margin_bottom_measurement" style="display: none; visibility: hidden;">Margin Bottom Measurement Unit</label>
440
+ <select id="box_margin_bottom_measurement" name="box_margin_bottom_measurement" disabled="disabled" aria-labelledby="box_margin_bottom_measurement_label"></select>
441
+ </td>
381
442
  </tr>
382
443
  </table>
383
444
  </td>
@@ -385,11 +446,14 @@
385
446
  <tr>
386
447
  <td><label for="box_margin_left">{#style_dlg.left}</label></td>
387
448
  <td>
388
- <table border="0" cellspacing="0" cellpadding="0">
449
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
389
450
  <tr>
390
451
  <td><input type="text" id="box_margin_left" name="box_margin_left" class="mceEditableSelect" disabled="disabled" /></td>
391
452
  <td>&nbsp;</td>
392
- <td><select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled"></select></td>
453
+ <td>
454
+ <label id="box_margin_left_measurement_label" for="box_margin_left_measurement" style="display: none; visibility: hidden;">Margin Left Measurement Unit</label>
455
+ <select id="box_margin_left_measurement" name="box_margin_left_measurement" disabled="disabled" aria-labelledby="box_margin_left_measurement_label"></select>
456
+ </td>
393
457
  </tr>
394
458
  </table>
395
459
  </td>
@@ -401,131 +465,148 @@
401
465
  </div>
402
466
 
403
467
  <div id="border_panel" class="panel">
404
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
405
- <tr>
406
- <td class="tdelim">&nbsp;</td>
407
- <td class="tdelim delim">&nbsp;</td>
408
- <td class="tdelim">{#style_dlg.style}</td>
409
- <td class="tdelim delim">&nbsp;</td>
410
- <td class="tdelim">{#style_dlg.width}</td>
411
- <td class="tdelim delim">&nbsp;</td>
412
- <td class="tdelim">{#style_dlg.color}</td>
413
- </tr>
414
-
415
- <tr>
416
- <td>&nbsp;</td>
417
- <td class="delim">&nbsp;</td>
418
- <td><input type="checkbox" id="border_style_same" name="border_style_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_style');" /> <label for="border_style_same">{#style_dlg.same}</label></td>
419
- <td class="delim">&nbsp;</td>
420
- <td><input type="checkbox" id="border_width_same" name="border_width_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_width');" /> <label for="border_width_same">{#style_dlg.same}</label></td>
421
- <td class="delim">&nbsp;</td>
422
- <td><input type="checkbox" id="border_color_same" name="border_color_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_color');" /> <label for="border_color_same">{#style_dlg.same}</label></td>
423
- </tr>
424
-
425
- <tr>
426
- <td>{#style_dlg.top}</td>
427
- <td class="delim">&nbsp;</td>
428
- <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
429
- <td class="delim">&nbsp;</td>
430
- <td>
431
- <table border="0" cellspacing="0" cellpadding="0">
432
- <tr>
433
- <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
434
- <td>&nbsp;</td>
435
- <td><select id="border_width_top_measurement" name="border_width_top_measurement"></select></td>
436
- </tr>
437
- </table>
438
- </td>
439
- <td class="delim">&nbsp;</td>
440
- <td>
441
- <table border="0" cellpadding="0" cellspacing="0">
442
- <tr>
443
- <td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td>
444
- <td id="border_color_top_pickcontainer">&nbsp;</td>
445
- </tr>
446
- </table>
447
- </td>
448
- </tr>
449
-
450
- <tr>
451
- <td>{#style_dlg.right}</td>
452
- <td class="delim">&nbsp;</td>
453
- <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
454
- <td class="delim">&nbsp;</td>
455
- <td>
456
- <table border="0" cellspacing="0" cellpadding="0">
457
- <tr>
458
- <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
459
- <td>&nbsp;</td>
460
- <td><select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled"></select></td>
461
- </tr>
462
- </table>
463
- </td>
464
- <td class="delim">&nbsp;</td>
465
- <td>
466
- <table border="0" cellpadding="0" cellspacing="0">
467
- <tr>
468
- <td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
469
- <td id="border_color_right_pickcontainer">&nbsp;</td>
470
- </tr>
471
- </table>
472
- </td>
473
- </tr>
474
-
475
- <tr>
476
- <td>{#style_dlg.bottom}</td>
477
- <td class="delim">&nbsp;</td>
478
- <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
479
- <td class="delim">&nbsp;</td>
480
- <td>
481
- <table border="0" cellspacing="0" cellpadding="0">
482
- <tr>
483
- <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
484
- <td>&nbsp;</td>
485
- <td><select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled"></select></td>
486
- </tr>
487
- </table>
488
- </td>
489
- <td class="delim">&nbsp;</td>
490
- <td>
491
- <table border="0" cellpadding="0" cellspacing="0">
492
- <tr>
493
- <td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
494
- <td id="border_color_bottom_pickcontainer">&nbsp;</td>
495
- </tr>
496
- </table>
497
- </td>
498
- </tr>
499
-
500
- <tr>
501
- <td>{#style_dlg.left}</td>
502
- <td class="delim">&nbsp;</td>
503
- <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
504
- <td class="delim">&nbsp;</td>
505
- <td>
506
- <table border="0" cellspacing="0" cellpadding="0">
507
- <tr>
508
- <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
509
- <td>&nbsp;</td>
510
- <td><select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled"></select></td>
511
- </tr>
512
- </table>
513
- </td>
514
- <td class="delim">&nbsp;</td>
515
- <td>
516
- <table border="0" cellpadding="0" cellspacing="0">
517
- <tr>
518
- <td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
519
- <td id="border_color_left_pickcontainer">&nbsp;</td>
520
- </tr>
468
+ <fieldset>
469
+ <legend>{#style_dlg.border}</legend>
470
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0" width="100%">
471
+ <tr>
472
+ <td class="tdelim">&nbsp;</td>
473
+ <td class="tdelim delim">&nbsp;</td>
474
+ <td class="tdelim">{#style_dlg.style}</td>
475
+ <td class="tdelim delim">&nbsp;</td>
476
+ <td class="tdelim">{#style_dlg.width}</td>
477
+ <td class="tdelim delim">&nbsp;</td>
478
+ <td class="tdelim">{#style_dlg.color}</td>
479
+ </tr>
480
+
481
+ <tr>
482
+ <td>&nbsp;</td>
483
+ <td class="delim">&nbsp;</td>
484
+ <td><input type="checkbox" id="border_style_same" name="border_style_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_style');" /> <label for="border_style_same">{#style_dlg.same}</label></td>
485
+ <td class="delim">&nbsp;</td>
486
+ <td><input type="checkbox" id="border_width_same" name="border_width_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_width');" /> <label for="border_width_same">{#style_dlg.same}</label></td>
487
+ <td class="delim">&nbsp;</td>
488
+ <td><input type="checkbox" id="border_color_same" name="border_color_same" class="checkbox" checked="checked" onClick="toggleSame(this,'border_color');" /> <label for="border_color_same">{#style_dlg.same}</label></td>
489
+ </tr>
490
+
491
+ <tr>
492
+ <td>{#style_dlg.top}</td>
493
+ <td class="delim">&nbsp;</td>
494
+ <td><select id="border_style_top" name="border_style_top" class="mceEditableSelect"></select></td>
495
+ <td class="delim">&nbsp;</td>
496
+ <td>
497
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
498
+ <tr>
499
+ <td><select id="border_width_top" name="border_width_top" class="mceEditableSelect"></select></td>
500
+ <td>&nbsp;</td>
501
+ <td>
502
+ <label id="border_width_top_measurement_label" for="border_width_top_measurement" style="display: none; visibility: hidden;">Width top Measurement Unit</label>
503
+ <select id="border_width_top_measurement" name="border_width_top_measurement" aria-labelledby="border_width_top_measurement_label"></select>
504
+ </td>
505
+ </tr>
506
+ </table>
507
+ </td>
508
+ <td class="delim">&nbsp;</td>
509
+ <td>
510
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
511
+ <tr>
512
+ <td><input id="border_color_top" name="border_color_top" type="text" value="" size="9" onChange="updateColor('border_color_top_pick','border_color_top');" /></td>
513
+ <td id="border_color_top_pickcontainer">&nbsp;</td>
514
+ </tr>
515
+ </table>
516
+ </td>
517
+ </tr>
518
+
519
+ <tr>
520
+ <td>{#style_dlg.right}</td>
521
+ <td class="delim">&nbsp;</td>
522
+ <td><select id="border_style_right" name="border_style_right" class="mceEditableSelect" disabled="disabled"></select></td>
523
+ <td class="delim">&nbsp;</td>
524
+ <td>
525
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
526
+ <tr>
527
+ <td><select id="border_width_right" name="border_width_right" class="mceEditableSelect" disabled="disabled"></select></td>
528
+ <td>&nbsp;</td>
529
+ <td>
530
+ <label id="border_width_right_measurement_label" for="border_width_right_measurement" style="display: none; visibility: hidden;">Width Right Measurement Unit</label>
531
+ <select id="border_width_right_measurement" name="border_width_right_measurement" disabled="disabled" aria-labelledby="border_width_right_measurement_label"></select>
532
+ </td>
533
+ </tr>
534
+ </table>
535
+ </td>
536
+ <td class="delim">&nbsp;</td>
537
+ <td>
538
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
539
+ <tr>
540
+ <td><input id="border_color_right" name="border_color_right" type="text" value="" size="9" onChange="updateColor('border_color_right_pick','border_color_right');" disabled="disabled" /></td>
541
+ <td id="border_color_right_pickcontainer">&nbsp;</td>
542
+ </tr>
543
+ </table>
544
+ </td>
545
+ </tr>
546
+
547
+ <tr>
548
+ <td>{#style_dlg.bottom}</td>
549
+ <td class="delim">&nbsp;</td>
550
+ <td><select id="border_style_bottom" name="border_style_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
551
+ <td class="delim">&nbsp;</td>
552
+ <td>
553
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
554
+ <tr>
555
+ <td><select id="border_width_bottom" name="border_width_bottom" class="mceEditableSelect" disabled="disabled"></select></td>
556
+ <td>&nbsp;</td>
557
+ <td>
558
+ <label id="border_width_bottom_measurement_label" for="border_width_bottom_measurement" style="display: none; visibility: hidden;">Width Bottom Measurement Unit</label>
559
+ <select id="border_width_bottom_measurement" name="border_width_bottom_measurement" disabled="disabled" aria-labelledby="border_width_bottom_measurement_label"></select>
560
+ </td>
561
+ </tr>
562
+ </table>
563
+ </td>
564
+ <td class="delim">&nbsp;</td>
565
+ <td>
566
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
567
+ <tr>
568
+ <td><input id="border_color_bottom" name="border_color_bottom" type="text" value="" size="9" onChange="updateColor('border_color_bottom_pick','border_color_bottom');" disabled="disabled" /></td>
569
+ <td id="border_color_bottom_pickcontainer">&nbsp;</td>
570
+ </tr>
571
+ </table>
572
+ </td>
573
+ </tr>
574
+
575
+ <tr>
576
+ <td>{#style_dlg.left}</td>
577
+ <td class="delim">&nbsp;</td>
578
+ <td><select id="border_style_left" name="border_style_left" class="mceEditableSelect" disabled="disabled"></select></td>
579
+ <td class="delim">&nbsp;</td>
580
+ <td>
581
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
582
+ <tr>
583
+ <td><select id="border_width_left" name="border_width_left" class="mceEditableSelect" disabled="disabled"></select></td>
584
+ <td>&nbsp;</td>
585
+ <td>
586
+ <label id="border_width_left_measurement_label" for="border_width_left_measurement" style="display: none; visibility: hidden;">Width Left Measurement Unit</label>
587
+ <select id="border_width_left_measurement" name="border_width_left_measurement" disabled="disabled" aria-labelledby="border_width_left_measurement_label"></select>
588
+ </td>
589
+ </tr>
590
+ </table>
591
+ </td>
592
+ <td class="delim">&nbsp;</td>
593
+ <td>
594
+ <table role="presentation" border="0" cellpadding="0" cellspacing="0">
595
+ <tr>
596
+ <td><input id="border_color_left" name="border_color_left" type="text" value="" size="9" onChange="updateColor('border_color_left_pick','border_color_left');" disabled="disabled" /></td>
597
+ <td id="border_color_left_pickcontainer">&nbsp;</td>
598
+ </tr>
599
+ </table>
600
+ </td>
601
+ </tr>
521
602
  </table>
522
- </td>
523
- </tr>
524
- </table>
603
+ </fieldset>
525
604
  </div>
526
605
 
527
606
  <div id="list_panel" class="panel">
528
- <table border="0">
607
+ <fieldset>
608
+ <legend>{#style_dlg.list}</legend>
609
+ <table role="presentation" border="0">
529
610
  <tr>
530
611
  <td><label for="list_type">{#style_dlg.list_type}</label></td>
531
612
  <td><select id="list_type" name="list_type" class="mceEditableSelect"></select></td>
@@ -541,10 +622,13 @@
541
622
  <td><select id="list_position" name="list_position" class="mceEditableSelect"></select></td>
542
623
  </tr>
543
624
  </table>
625
+ </fieldset>
544
626
  </div>
545
627
 
546
628
  <div id="positioning_panel" class="panel">
547
- <table border="0">
629
+ <fieldset>
630
+ <legend>{#style_dlg.position}</legend>
631
+ <table role="presentation" border="0">
548
632
  <tr>
549
633
  <td><label for="positioning_type">{#style_dlg.positioning_type}</label></td>
550
634
  <td><select id="positioning_type" name="positioning_type" class="mceEditableSelect"></select></td>
@@ -555,11 +639,14 @@
555
639
  <tr>
556
640
  <td><label for="positioning_width">{#style_dlg.width}</label></td>
557
641
  <td>
558
- <table border="0" cellspacing="0" cellpadding="0">
642
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
559
643
  <tr>
560
644
  <td><input type="text" id="positioning_width" name="positioning_width" onChange="synch('positioning_width','box_width');" /></td>
561
645
  <td>&nbsp;</td>
562
- <td><select id="positioning_width_measurement" name="positioning_width_measurement"></select></td>
646
+ <td>
647
+ <label id="positioning_width_measurement_label" for="positioning_width_measurement" style="display: none; visibility: hidden;">Positioning width Measurement Unit</label>
648
+ <select id="positioning_width_measurement" name="positioning_width_measurement" aria-labelledby="positioning_width_measurement_label"></select>
649
+ </td>
563
650
  </tr>
564
651
  </table>
565
652
  </td>
@@ -570,11 +657,14 @@
570
657
  <tr>
571
658
  <td><label for="positioning_height">{#style_dlg.height}</label></td>
572
659
  <td>
573
- <table border="0" cellspacing="0" cellpadding="0">
660
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
574
661
  <tr>
575
662
  <td><input type="text" id="positioning_height" name="positioning_height" onChange="synch('positioning_height','box_height');" /></td>
576
663
  <td>&nbsp;</td>
577
- <td><select id="positioning_height_measurement" name="positioning_height_measurement"></select></td>
664
+ <td>
665
+ <label id="positioning_height_measurement_label" for="positioning_height_measurement" style="display: none; visibility: hidden;">Positioning Height Measurement Unit</label>
666
+ <select id="positioning_height_measurement" name="positioning_height_measurement" aria-labelledby="positioning_height_measurement_label"></select>
667
+ </td>
578
668
  </tr>
579
669
  </table>
580
670
  </td>
@@ -587,7 +677,7 @@
587
677
  <fieldset>
588
678
  <legend>{#style_dlg.placement}</legend>
589
679
 
590
- <table border="0">
680
+ <table role="presentation" border="0">
591
681
  <tr>
592
682
  <td>&nbsp;</td>
593
683
  <td><input type="checkbox" id="positioning_placement_same" name="positioning_placement_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_placement');" /> <label for="positioning_placement_same">{#style_dlg.same}</label></td>
@@ -595,11 +685,14 @@
595
685
  <tr>
596
686
  <td>{#style_dlg.top}</td>
597
687
  <td>
598
- <table border="0" cellspacing="0" cellpadding="0">
688
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
599
689
  <tr>
600
690
  <td><input type="text" id="positioning_placement_top" name="positioning_placement_top" /></td>
601
691
  <td>&nbsp;</td>
602
- <td><select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement"></select></td>
692
+ <td>
693
+ <label id="positioning_placement_top_measurement_label" for="positioning_placement_top_measurement" style="display: none; visibility: hidden;">Placement Top Measurement Unit</label>
694
+ <select id="positioning_placement_top_measurement" name="positioning_placement_top_measurement" aria-labelledby="positioning_placement_top_measurement_label"></select>
695
+ </td>
603
696
  </tr>
604
697
  </table>
605
698
  </td>
@@ -607,11 +700,14 @@
607
700
  <tr>
608
701
  <td>{#style_dlg.right}</td>
609
702
  <td>
610
- <table border="0" cellspacing="0" cellpadding="0">
703
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
611
704
  <tr>
612
705
  <td><input type="text" id="positioning_placement_right" name="positioning_placement_right" disabled="disabled" /></td>
613
706
  <td>&nbsp;</td>
614
- <td><select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled"></select></td>
707
+ <td>
708
+ <label id="positioning_placement_right_measurement_label" for="positioning_placement_right_measurement" style="display: none; visibility: hidden;">Placement Right Measurement Unit</label>
709
+ <select id="positioning_placement_right_measurement" name="positioning_placement_right_measurement" disabled="disabled" aria-labelledby="positioning_placement_right_measurement_label"></select>
710
+ </td>
615
711
  </tr>
616
712
  </table>
617
713
  </td>
@@ -619,11 +715,14 @@
619
715
  <tr>
620
716
  <td>{#style_dlg.bottom}</td>
621
717
  <td>
622
- <table border="0" cellspacing="0" cellpadding="0">
718
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
623
719
  <tr>
624
720
  <td><input type="text" id="positioning_placement_bottom" name="positioning_placement_bottom" disabled="disabled" /></td>
625
721
  <td>&nbsp;</td>
626
- <td><select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled"></select></td>
722
+ <td>
723
+ <label id="positioning_placement_bottom_measurement_label" for="positioning_placement_bottom_measurement" style="display: none; visibility: hidden;">Placement Bottom Measurement Unit</label>
724
+ <select id="positioning_placement_bottom_measurement" name="positioning_placement_bottom_measurement" disabled="disabled" aria-labelledby="positioning_placement_bottom_measurement_label"></select>
725
+ </td>
627
726
  </tr>
628
727
  </table>
629
728
  </td>
@@ -631,11 +730,14 @@
631
730
  <tr>
632
731
  <td>{#style_dlg.left}</td>
633
732
  <td>
634
- <table border="0" cellspacing="0" cellpadding="0">
733
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
635
734
  <tr>
636
735
  <td><input type="text" id="positioning_placement_left" name="positioning_placement_left" disabled="disabled" /></td>
637
736
  <td>&nbsp;</td>
638
- <td><select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled"></select></td>
737
+ <td>
738
+ <label id="positioning_placement_left_measurement_label" for="positioning_placement_left_measurement" style="display: none; visibility: hidden;">Placement Left Measurement Unit</label>
739
+ <select id="positioning_placement_left_measurement" name="positioning_placement_left_measurement" disabled="disabled" aria-labelledby="positioning_placement_left_measurement_label"></select>
740
+ </td>
639
741
  </tr>
640
742
  </table>
641
743
  </td>
@@ -648,7 +750,7 @@
648
750
  <fieldset>
649
751
  <legend>{#style_dlg.clip}</legend>
650
752
 
651
- <table border="0">
753
+ <table role="presentation" border="0">
652
754
  <tr>
653
755
  <td>&nbsp;</td>
654
756
  <td><input type="checkbox" id="positioning_clip_same" name="positioning_clip_same" class="checkbox" checked="checked" onClick="toggleSame(this,'positioning_clip');" /> <label for="positioning_clip_same">{#style_dlg.same}</label></td>
@@ -656,11 +758,14 @@
656
758
  <tr>
657
759
  <td>{#style_dlg.top}</td>
658
760
  <td>
659
- <table border="0" cellspacing="0" cellpadding="0">
761
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
660
762
  <tr>
661
763
  <td><input type="text" id="positioning_clip_top" name="positioning_clip_top" /></td>
662
764
  <td>&nbsp;</td>
663
- <td><select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement"></select></td>
765
+ <td>
766
+ <label id="positioning_clip_top_measurement_label" for="positioning_clip_top_measurement" style="display: none; visibility: hidden;">Clip Top Measurement Unit</label>
767
+ <select id="positioning_clip_top_measurement" name="positioning_clip_top_measurement" aria-labelledby="positioning_clip_top_measurement_label"></select>
768
+ </td>
664
769
  </tr>
665
770
  </table>
666
771
  </td>
@@ -668,11 +773,14 @@
668
773
  <tr>
669
774
  <td>{#style_dlg.right}</td>
670
775
  <td>
671
- <table border="0" cellspacing="0" cellpadding="0">
776
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
672
777
  <tr>
673
778
  <td><input type="text" id="positioning_clip_right" name="positioning_clip_right" disabled="disabled" /></td>
674
779
  <td>&nbsp;</td>
675
- <td><select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled"></select></td>
780
+ <td>
781
+ <label id="positioning_clip_right_measurement_label" for="positioning_clip_right_measurement" style="display: none; visibility: hidden;">Clip Right Measurement Unit</label>
782
+ <select id="positioning_clip_right_measurement" name="positioning_clip_right_measurement" disabled="disabled" aria-labelledby="positioning_clip_right_measurement_label"></select>
783
+ </td>
676
784
  </tr>
677
785
  </table>
678
786
  </td>
@@ -680,11 +788,14 @@
680
788
  <tr>
681
789
  <td>{#style_dlg.bottom}</td>
682
790
  <td>
683
- <table border="0" cellspacing="0" cellpadding="0">
791
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
684
792
  <tr>
685
793
  <td><input type="text" id="positioning_clip_bottom" name="positioning_clip_bottom" disabled="disabled" /></td>
686
794
  <td>&nbsp;</td>
687
- <td><select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled"></select></td>
795
+ <td>
796
+ <label id="positioning_clip_bottom_measurement_label" for="positioning_clip_bottom_measurement" style="display: none; visibility: hidden;">Clip Bottom Measurement Unit</label>
797
+ <select id="positioning_clip_bottom_measurement" name="positioning_clip_bottom_measurement" disabled="disabled" aria-labelledby="positioning_clip_bottom_measurement_label"></select>
798
+ </td>
688
799
  </tr>
689
800
  </table>
690
801
  </td>
@@ -692,11 +803,14 @@
692
803
  <tr>
693
804
  <td>{#style_dlg.left}</td>
694
805
  <td>
695
- <table border="0" cellspacing="0" cellpadding="0">
806
+ <table role="presentation" border="0" cellspacing="0" cellpadding="0">
696
807
  <tr>
697
808
  <td><input type="text" id="positioning_clip_left" name="positioning_clip_left" disabled="disabled" /></td>
698
809
  <td>&nbsp;</td>
699
- <td><select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled"></select></td>
810
+ <td>
811
+ <label id="positioning_clip_left_measurement_label" for="positioning_clip_left_measurement" style="display: none; visibility: hidden;">Clip Left Measurement Unit</label>
812
+ <select id="positioning_clip_left_measurement" name="positioning_clip_left_measurement" disabled="disabled" aria-labelledby="positioning_clip_left_measurement_label"></select>
813
+ </td>
700
814
  </tr>
701
815
  </table>
702
816
  </td>
@@ -706,6 +820,7 @@
706
820
  </div>
707
821
  <br style="clear: both" />
708
822
  </div>
823
+ </fieldset>
709
824
  </div>
710
825
 
711
826
  <div class="mceActionPanel">