Commit 826779d6 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki
Browse files

update FCKeditor to 2.6.5.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31258 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent d3db4348
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309716.77</string> </value>
<value> <string>ts60538662.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -109,8 +109,8 @@ window.onload = function()\r\n
\t\t\t\t\t\t\t\tborder-left: #000000 1px solid; border-bottom: #000000 1px solid">\r\n
\t\t\t\t\t\t\t\t<span fcklang="DlgAboutVersion">version</span>\r\n
\t\t\t\t\t\t\t\t<br />\r\n
\t\t\t\t\t\t\t\t<b>2.6.4.1</b><br />\r\n
\t\t\t\t\t\t\t\tBuild 23187</td>\r\n
\t\t\t\t\t\t\t\t<b>2.6.5</b><br />\r\n
\t\t\t\t\t\t\t\tBuild 23959</td>\r\n
\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t</table>\r\n
\t\t\t\t</td>\r\n
......@@ -177,11 +177,11 @@ document.write( \'<b>Platform<\\/b><br />\' + window.navigator.platform + \'<br
var sUserLang = \'?\' ;\r\n
\r\n
if ( window.navigator.language )\r\n
\tsUserLang = window.navigator.language.toLowerCase() ;\r\n
\tsUserLang = window.navigator.language ;\r\n
else if ( window.navigator.userLanguage )\r\n
\tsUserLang = window.navigator.userLanguage.toLowerCase() ;\r\n
\tsUserLang = window.navigator.userLanguage ;\r\n
\r\n
document.write( \'<b>User Language<\\/b><br />\' + sUserLang ) ;\r\n
document.write( \'<b>Language<\\/b><br />\' + sUserLang ) ;\r\n
//-->\r\n
\t\t\t\t\t</script>\r\n
\t\t\t\t</td>\r\n
......@@ -200,7 +200,7 @@ document.write( \'<b>User Language<\\/b><br />\' + sUserLang ) ;\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5686</int> </value>
<value> <int>5651</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.49</string> </value>
<value> <string>ts60538662.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -52,11 +52,11 @@
*\r\n
* Link dialog window.\r\n
-->\r\n
<html xmlns="http://www.w3.org/1999/xhtml">\r\n
<html>\r\n
<head>\r\n
\t<title></title>\r\n
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />\r\n
\t<meta content="noindex, nofollow" name="robots" />\r\n
\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >\r\n
\t<meta content="noindex, nofollow" name="robots" >\r\n
\t<script src="common/fck_dialog_common.js" type="text/javascript"></script>\r\n
\t<script type="text/javascript">\r\n
\r\n
......@@ -405,11 +405,11 @@ function SelectColor( wich )\r\n
{\r\n
\tswitch ( wich )\r\n
\t{\r\n
\t\tcase \'Back\'\t\t\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectBackColor, window ) ; return ;\r\n
\t\tcase \'ColorText\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorText, window ) ; return ;\r\n
\t\tcase \'ColorLink\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorLink, window ) ; return ;\r\n
\t\tcase \'ColorVisited\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorVisited, window ) ; return ;\r\n
\t\tcase \'ColorActive\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorActive, window ) ; return ;\r\n
\t\tcase \'Back\'\t\t\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectBackColor ) ; return ;\r\n
\t\tcase \'ColorText\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorText ) ; return ;\r\n
\t\tcase \'ColorLink\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorLink ) ; return ;\r\n
\t\tcase \'ColorVisited\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorVisited ) ; return ;\r\n
\t\tcase \'ColorActive\'\t: oEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, SelectColorActive ) ; return ;\r\n
\t}\r\n
}\r\n
\r\n
......@@ -489,22 +489,22 @@ function SetUrl( url )\r\n
\t\t\t\t\t\t\t\t<span fcklang="DlgDocDocType">Document Type Heading</span><br />\r\n
\t\t\t\t\t\t\t\t<select id="selDocType" onchange="CheckOther( this, \'txtDocType\' );">\r\n
\t\t\t\t\t\t\t\t\t<option value="" selected="selected"></option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">\'>HTML\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"&gt;\'>HTML\r\n
\t\t\t\t\t\t\t\t\t\t4.01 Transitional</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tHTML 4.01 Strict</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tHTML 4.01 Frameset</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tXHTML 1.0 Transitional</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tXHTML 1.0 Strict</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tXHTML 1.0 Frameset</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">\'>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;\'>\r\n
\t\t\t\t\t\t\t\t\t\tXHTML 1.1</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">\'>HTML 3.2</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">\'>HTML 2.0</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"&gt;\'>HTML 3.2</option>\r\n
\t\t\t\t\t\t\t\t\t<option value=\'&lt;!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"&gt;\'>HTML 2.0</option>\r\n
\t\t\t\t\t\t\t\t\t<option value="..." fcklang="DlgOpOther">&lt;Other&gt;</option>\r\n
\t\t\t\t\t\t\t\t</select>\r\n
\t\t\t\t\t\t\t</td>\r\n
......@@ -639,7 +639,7 @@ function SetUrl( url )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>22627</int> </value>
<value> <int>22602</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.49</string> </value>
<value> <string>ts60538662.36</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -57,7 +57,7 @@
\t\t<title>Document Properties - Preview</title>\r\n
\t\t<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n
\t\t<meta name="robots" content="noindex, nofollow">\r\n
\t\t<script language="javascript">\r\n
\t\t<script type="text/javascript">\r\n
\r\n
var eBase = parent.FCK.EditorDocument.getElementsByTagName( \'BASE\' ) ;\r\n
if ( eBase.length > 0 && eBase[0].href.length > 0 )\r\n
......@@ -152,7 +152,7 @@ function SetActiveColor( color )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2843</int> </value>
<value> <int>2844</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.5</string> </value>
<value> <string>ts60538662.37</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -87,7 +87,7 @@ window.onload = function ()\r\n
\t\t\t\'javascript:void( (function(){\' +\r\n
\t\t\t\t\'document.open() ;\' +\r\n
\t\t\t\t\'document.domain=\\\'\' + document.domain + \'\\\' ;\' +\r\n
\t\t\t\t\'document.write(\\\'<html><head><script>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\\\') ;\' +\r\n
\t\t\t\t\'document.write(\\\'<html><head><scr\' + \'ipt>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\\\') ;\' +\r\n
\t\t\t\t\'document.close() ;\' +\r\n
\t\t\t\t\'document.body.contentEditable = true ;\' +\r\n
\t\t\t\t\'window.focus() ;\' +\r\n
......@@ -104,7 +104,7 @@ window.onload = function ()\r\n
\t\t\t// Avoid errors if the pasted content has any script that fails: #389\r\n
\t\t\tvar oDoc = oFrame.contentWindow.document ;\r\n
\t\t\toDoc.open() ;\r\n
\t\t\toDoc.write(\'<html><head><script>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\') ;\r\n
\t\t\toDoc.write(\'<html><head><scr\' + \'ipt>window.onerror = function() { return true ; };<\\/script><\\/head><body><\\/body><\\/html>\') ;\r\n
\t\t\toDoc.close() ;\r\n
\r\n
\t\t\tif ( FCKBrowserInfo.IsIE )\r\n
......@@ -225,11 +225,11 @@ function CleanWord( oNode, bIgnoreFont, bRemoveStyles )\r\n
\thtml = html.replace( /\\s*mso-[^:]+:[^;"]+;?/gi, \'\' ) ;\r\n
\r\n
\t// Remove margin styles.\r\n
\thtml = html.replace( /\\s*MARGIN: 0cm 0cm 0pt\\s*;/gi, \'\' ) ;\r\n
\thtml = html.replace( /\\s*MARGIN: 0cm 0cm 0pt\\s*"/gi, "\\"" ) ;\r\n
\thtml = html.replace( /\\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\\s*;/gi, \'\' ) ;\r\n
\thtml = html.replace( /\\s*MARGIN: 0(?:cm|in) 0(?:cm|in) 0pt\\s*"/gi, "\\"" ) ;\r\n
\r\n
\thtml = html.replace( /\\s*TEXT-INDENT: 0cm\\s*;/gi, \'\' ) ;\r\n
\thtml = html.replace( /\\s*TEXT-INDENT: 0cm\\s*"/gi, "\\"" ) ;\r\n
\thtml = html.replace( /\\s*TEXT-INDENT: 0(?:cm|in)\\s*;/gi, \'\' ) ;\r\n
\thtml = html.replace( /\\s*TEXT-INDENT: 0(?:cm|in)\\s*"/gi, "\\"" ) ;\r\n
\r\n
\thtml = html.replace( /\\s*TEXT-ALIGN: [^\\s;]+;?"/gi, "\\"" ) ;\r\n
\r\n
......@@ -386,7 +386,7 @@ function CleanWord( oNode, bIgnoreFont, bRemoveStyles )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>12291</int> </value>
<value> <int>12343</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="Folder" module="OFS.Folder"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_objects</string> </key>
<value>
<tuple/>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>fck_scayt</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<tuple>
<global name="File" module="OFS.Image"/>
<tuple/>
</tuple>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Cacheable__manager_id</string> </key>
<value> <string>http_cache</string> </value>
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts60537124.11</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>scayt_dialog.css</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>text/css</string> </value>
</item>
<item>
<key> <string>data</string> </key>
<value> <string>html, body\r\n
{\r\n
\tbackground-color: transparent;\r\n
\tmargin: 0px;\r\n
\tpadding: 0px;\r\n
}\r\n
\r\n
body\r\n
{\r\n
\tpadding: 10px;\r\n
}\r\n
\r\n
body, td, input, select, textarea\r\n
{\r\n
\tfont-size: 11px;\r\n
\tfont-family: \'Microsoft Sans Serif\' , Arial, Helvetica, Verdana;\r\n
}\r\n
\r\n
.midtext\r\n
{\r\n
\tpadding:0px;\r\n
\tmargin:10px;\r\n
}\r\n
\r\n
.midtext p\r\n
{\r\n
\tpadding:0px;\r\n
\tmargin:10px;\r\n
}\r\n
\r\n
.Button\r\n
{\r\n
\tborder: #737357 1px solid;\r\n
\tcolor: #3b3b1f;\r\n
\tbackground-color: #c7c78f;\r\n
}\r\n
\r\n
.PopupTabArea , .button\r\n
{\r\n
\tcolor: #737357;\r\n
\tbackground-color: #e3e3c7;\r\n
}\r\n
\r\n
.PopupTitleBorder\r\n
{\r\n
\tborder-bottom: #d5d59d 1px solid;\r\n
}\r\n
.PopupTabEmptyArea\r\n
{\r\n
\tpadding-left: 10px;\r\n
\tborder-bottom: #d5d59d 1px solid;\r\n
}\r\n
\r\n
.PopupTab, .PopupTabSelected\r\n
{\r\n
\tborder-right: #d5d59d 1px solid;\r\n
\tborder-top: #d5d59d 1px solid;\r\n
\tborder-left: #d5d59d 1px solid;\r\n
\tpadding: 3px 5px 3px 5px;\r\n
\tcolor: #737357;\r\n
}\r\n
\r\n
.PopupTab\r\n
{\r\n
\tmargin-top: 1px;\r\n
\tborder-bottom: #d5d59d 1px solid;\r\n
\tcursor: pointer;\r\n
\tcursor: hand;\r\n
}\r\n
\r\n
.PopupTabSelected\r\n
{\r\n
\tfont-weight: bold;\r\n
\tcursor: default;\r\n
\tpadding-top: 4px;\r\n
\tborder-bottom: #f1f1e3 1px solid;\r\n
\tbackground-color: #f1f1e3;\r\n
}\r\n
\r\n
ul {\r\n
padding:0;\r\n
margin:0px 0px 12px 0px;\r\n
list-style-type:none;\r\n
}\r\n
ul.tabs {\r\n
height:20px;\r\n
margin:10px 0px;\r\n
}\r\n
ul.tabs li {\r\n
float: left;\r\n
\tdisplay:none;\r\n
}\r\n
div.tab_container {\r\n
/*display:none;*/\r\n
padding: 0px 5px ;\r\n
}\r\n
.lcol {\r\n
float:left;\r\n
width:47%;\r\n
margin-left:5px;\r\n
}\r\n
.rcol {\r\n
float:right;\r\n
width:47%;\r\n
margin-right:5px;\r\n
}\r\n
div.tabs-container{\r\n
\theight:220px;\r\n
\toverflow-x:hidden;\r\n
\toverflow-y:auto;\r\n
}\r\n
\r\n
div.tabs-container h3{\r\n
margin:5px 15px 7px 15px;\r\n
background-color:transparent;\r\n
font-size: 14px ;\r\n
}\r\n
\r\n
.li {\r\n
border: 1px solid transparent;\r\n
}\r\n
\r\n
#dic_message{\r\n
\theight: 24px;\r\n
}\r\n
#dic_message .error{\r\n
\tcolor: red ;\r\n
}\r\n
#dic_message .success{\r\n
\tcolor: blue ;\r\n
}\r\n
\r\n
.dic_buttons {\r\n
\tmargin-top: 5px;\r\n
\tpadding-left:10px;\r\n
}\r\n
.dic_buttons a {\r\n
\tdisplay: none;\r\n
}\r\n
a.button {\r\n
\tborder: #d5d59d 1px solid;\r\n
\tpadding: 2px 4px;\r\n
\tmargin-right: 4px;\r\n
\ttext-decoration: none;\r\n
}\r\n
\r\n
a.button:hover,\r\n
a.button:active,\r\n
a.button:visited{\r\n
\tpadding: 2px 4px;\r\n
\tmargin-right: 4px;\r\n
\ttext-decoration: none;\r\n
}\r\n
a.button:hover {\r\n
\tborder: #d5d59d 1px solid;\r\n
\tcolor: #e3e3c7;\r\n
\tbackground-color: #737357;\r\n
}\r\n
\r\n
#scayt_options li {\r\n
\tdisplay: none;\r\n
}\r\n
\r\n
#dic_info {\r\n
\tmargin:10px;\r\n
}\r\n
#dic_tab {\r\n
\tdisplay:none;\r\n
}\r\n
</string> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>2406</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309716.79</string> </value>
<value> <string>ts60538662.38</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -29,187 +29,187 @@
<key> <string>data</string> </key>
<value> <string encoding="cdata"><![CDATA[
#!/usr/bin/perl\n
\n
use CGI qw/ :standard /;\n
use File::Temp qw/ tempfile tempdir /;\n
\n
# my $spellercss = \'/speller/spellerStyle.css\';\t\t\t\t\t# by FredCK\n
my $spellercss = \'../spellerStyle.css\';\t\t\t\t\t\t\t# by FredCK\n
# my $wordWindowSrc = \'/speller/wordWindow.js\';\t\t\t\t\t# by FredCK\n
my $wordWindowSrc = \'../wordWindow.js\';\t\t\t\t\t\t\t# by FredCK\n
my @textinputs = param( \'textinputs[]\' ); # array\n
# my $aspell_cmd = \'aspell\';\t\t\t\t\t\t\t\t\t# by FredCK (for Linux)\n
my $aspell_cmd = \'"C:\\Program Files\\Aspell\\bin\\aspell.exe"\';\t# by FredCK (for Windows)\n
my $lang = \'en_US\';\n
# my $aspell_opts = "-a --lang=$lang --encoding=utf-8";\t\t\t# by FredCK\n
my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt";\t\t# by FredCK\n
my $input_separator = "A";\n
\n
# set the \'wordtext\' JavaScript variable to the submitted text.\n
sub printTextVar {\n
\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\n
\t print "textinputs[$i] = decodeURIComponent(\'" . escapeQuote( $textinputs[$i] ) . "\')\\n";\n
\t}\n
}\n
\n
sub printTextIdxDecl {\n
\tmy $idx = shift;\n
\tprint "words[$idx] = [];\\n";\n
\tprint "suggs[$idx] = [];\\n";\n
}\n
\n
sub printWordsElem {\n
\tmy( $textIdx, $wordIdx, $word ) = @_;\n
\tprint "words[$textIdx][$wordIdx] = \'" . escapeQuote( $word ) . "\';\\n";\n
}\n
\n
sub printSuggsElem {\n
\tmy( $textIdx, $wordIdx, @suggs ) = @_;\n
\tprint "suggs[$textIdx][$wordIdx] = [";\n
\tfor my $i ( 0..$#suggs ) {\n
\t\tprint "\'" . escapeQuote( $suggs[$i] ) . "\'";\n
\t\tif( $i < $#suggs ) {\n
\t\t\tprint ", ";\n
\t\t}\n
\t}\n
\tprint "];\\n";\n
}\n
\n
sub printCheckerResults {\n
\tmy $textInputIdx = -1;\n
\tmy $wordIdx = 0;\n
\tmy $unhandledText;\n
\t# create temp file\n
\tmy $dir = tempdir( CLEANUP => 1 );\n
\tmy( $fh, $tmpfilename ) = tempfile( DIR => $dir );\n
\n
\t# temp file was created properly?\n
\n
\t# open temp file, add the submitted text.\n
\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\n
\t\t$text = url_decode( $textinputs[$i] );\n
\t\t# Strip all tags for the text. (by FredCK - #339 / #681)\n
\t\t$text =~ s/<[^>]+>/ /g;\n
\t\t@lines = split( /\\n/, $text );\n
\t\tprint $fh "\\%\\n"; # exit terse mode\n
\t\tprint $fh "^$input_separator\\n";\n
\t\tprint $fh "!\\n"; # enter terse mode\n
\t\tfor my $line ( @lines ) {\n
\t\t\t# use carat on each line to escape possible aspell commands\n
\t\t\tprint $fh "^$line\\n";\n
\t\t}\n
\n
\t}\n
\t# exec aspell command\n
\tmy $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1";\n
\topen ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\\\n$!" ) and return;\n
\t# parse each line of aspell return\n
\tfor my $ret ( <ASPELL> ) {\n
\t\tchomp( $ret );\n
\t\t# if \'&\', then not in dictionary but has suggestions\n
\t\t# if \'#\', then not in dictionary and no suggestions\n
\t\t# if \'*\', then it is a delimiter between text inputs\n
\t\tif( $ret =~ /^\\*/ ) {\n
\t\t\t$textInputIdx++;\n
\t\t\tprintTextIdxDecl( $textInputIdx );\n
\t\t\t$wordIdx = 0;\n
\n
\t\t} elsif( $ret =~ /^(&|#)/ ) {\n
\t\t\tmy @tokens = split( " ", $ret, 5 );\n
\t\t\tprintWordsElem( $textInputIdx, $wordIdx, $tokens[1] );\n
\t\t\tmy @suggs = ();\n
\t\t\tif( $tokens[4] ) {\n
\t\t\t\t@suggs = split( ", ", $tokens[4] );\n
\t\t\t}\n
\t\t\tprintSuggsElem( $textInputIdx, $wordIdx, @suggs );\n
\t\t\t$wordIdx++;\n
\t\t} else {\n
\t\t\t$unhandledText .= $ret;\n
\t\t}\n
\t}\n
\tclose ASPELL or handleError( "Error executing `$cmd`\\\\n$unhandledText" ) and return;\n
}\n
\n
sub escapeQuote {\n
\tmy $str = shift;\n
\t$str =~ s/\'/\\\\\'/g;\n
\treturn $str;\n
}\n
\n
sub handleError {\n
\tmy $err = shift;\n
\tprint "error = \'" . escapeQuote( $err ) . "\';\\n";\n
}\n
\n
sub url_decode {\n
\tlocal $_ = @_ ? shift : $_;\n
\tdefined or return;\n
\t# change + signs to spaces\n
\ttr/+/ /;\n
\t# change hex escapes to the proper characters\n
\ts/%([a-fA-F0-9]{2})/pack "H2", $1/eg;\n
\treturn $_;\n
}\n
\n
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\n
# Display HTML\n
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\n
\n
print <<EOF;\n
Content-type: text/html; charset=utf-8\n
\n
<html>\n
<head>\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\n
<link rel="stylesheet" type="text/css" href="$spellercss"/>\n
<script src="$wordWindowSrc"></script>\n
<script type="text/javascript">\n
var suggs = new Array();\n
var words = new Array();\n
var textinputs = new Array();\n
var error;\n
EOF\n
\n
printTextVar();\n
\n
printCheckerResults();\n
\n
print <<EOF;\n
var wordWindowObj = new wordWindow();\n
wordWindowObj.originalSpellings = words;\n
wordWindowObj.suggestions = suggs;\n
wordWindowObj.textInputs = textinputs;\n
\n
\n
function init_spell() {\n
\t// check if any error occured during server-side processing\n
\tif( error ) {\n
\t\talert( error );\n
\t} else {\n
\t\t// call the init_spell() function in the parent frameset\n
\t\tif (parent.frames.length) {\n
\t\t\tparent.init_spell( wordWindowObj );\n
\t\t} else {\n
\t\t\terror = "This page was loaded outside of a frameset. ";\n
\t\t\terror += "It might not display properly";\n
\t\t\talert( error );\n
\t\t}\n
\t}\n
}\n
\n
</script>\n
\n
</head>\n
<body onLoad="init_spell();">\n
\n
<script type="text/javascript">\n
wordWindowObj.writeBody();\n
</script>\n
\n
</body>\n
</html>\n
EOF\n
#!/usr/bin/perl\r\n
\r\n
use CGI qw/ :standard /;\r\n
use File::Temp qw/ tempfile tempdir /;\r\n
\r\n
# my $spellercss = \'/speller/spellerStyle.css\';\t\t\t\t\t# by FredCK\r\n
my $spellercss = \'../spellerStyle.css\';\t\t\t\t\t\t\t# by FredCK\r\n
# my $wordWindowSrc = \'/speller/wordWindow.js\';\t\t\t\t\t# by FredCK\r\n
my $wordWindowSrc = \'../wordWindow.js\';\t\t\t\t\t\t\t# by FredCK\r\n
my @textinputs = param( \'textinputs[]\' ); # array\r\n
# my $aspell_cmd = \'aspell\';\t\t\t\t\t\t\t\t\t# by FredCK (for Linux)\r\n
my $aspell_cmd = \'"C:\\Program Files\\Aspell\\bin\\aspell.exe"\';\t# by FredCK (for Windows)\r\n
my $lang = \'en_US\';\r\n
# my $aspell_opts = "-a --lang=$lang --encoding=utf-8";\t\t\t# by FredCK\r\n
my $aspell_opts = "-a --lang=$lang --encoding=utf-8 -H --rem-sgml-check=alt";\t\t# by FredCK\r\n
my $input_separator = "A";\r\n
\r\n
# set the \'wordtext\' JavaScript variable to the submitted text.\r\n
sub printTextVar {\r\n
\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\r\n
\t print "textinputs[$i] = decodeURIComponent(\'" . escapeQuote( $textinputs[$i] ) . "\')\\n";\r\n
\t}\r\n
}\r\n
\r\n
sub printTextIdxDecl {\r\n
\tmy $idx = shift;\r\n
\tprint "words[$idx] = [];\\n";\r\n
\tprint "suggs[$idx] = [];\\n";\r\n
}\r\n
\r\n
sub printWordsElem {\r\n
\tmy( $textIdx, $wordIdx, $word ) = @_;\r\n
\tprint "words[$textIdx][$wordIdx] = \'" . escapeQuote( $word ) . "\';\\n";\r\n
}\r\n
\r\n
sub printSuggsElem {\r\n
\tmy( $textIdx, $wordIdx, @suggs ) = @_;\r\n
\tprint "suggs[$textIdx][$wordIdx] = [";\r\n
\tfor my $i ( 0..$#suggs ) {\r\n
\t\tprint "\'" . escapeQuote( $suggs[$i] ) . "\'";\r\n
\t\tif( $i < $#suggs ) {\r\n
\t\t\tprint ", ";\r\n
\t\t}\r\n
\t}\r\n
\tprint "];\\n";\r\n
}\r\n
\r\n
sub printCheckerResults {\r\n
\tmy $textInputIdx = -1;\r\n
\tmy $wordIdx = 0;\r\n
\tmy $unhandledText;\r\n
\t# create temp file\r\n
\tmy $dir = tempdir( CLEANUP => 1 );\r\n
\tmy( $fh, $tmpfilename ) = tempfile( DIR => $dir );\r\n
\r\n
\t# temp file was created properly?\r\n
\r\n
\t# open temp file, add the submitted text.\r\n
\tfor( my $i = 0; $i <= $#textinputs; $i++ ) {\r\n
\t\t$text = url_decode( $textinputs[$i] );\r\n
\t\t# Strip all tags for the text. (by FredCK - #339 / #681)\r\n
\t\t$text =~ s/<[^>]+>/ /g;\r\n
\t\t@lines = split( /\\n/, $text );\r\n
\t\tprint $fh "\\%\\n"; # exit terse mode\r\n
\t\tprint $fh "^$input_separator\\n";\r\n
\t\tprint $fh "!\\n"; # enter terse mode\r\n
\t\tfor my $line ( @lines ) {\r\n
\t\t\t# use carat on each line to escape possible aspell commands\r\n
\t\t\tprint $fh "^$line\\n";\r\n
\t\t}\r\n
\r\n
\t}\r\n
\t# exec aspell command\r\n
\tmy $cmd = "$aspell_cmd $aspell_opts < $tmpfilename 2>&1";\r\n
\topen ASPELL, "$cmd |" or handleError( "Could not execute `$cmd`\\\\n$!" ) and return;\r\n
\t# parse each line of aspell return\r\n
\tfor my $ret ( <ASPELL> ) {\r\n
\t\tchomp( $ret );\r\n
\t\t# if \'&\', then not in dictionary but has suggestions\r\n
\t\t# if \'#\', then not in dictionary and no suggestions\r\n
\t\t# if \'*\', then it is a delimiter between text inputs\r\n
\t\tif( $ret =~ /^\\*/ ) {\r\n
\t\t\t$textInputIdx++;\r\n
\t\t\tprintTextIdxDecl( $textInputIdx );\r\n
\t\t\t$wordIdx = 0;\r\n
\r\n
\t\t} elsif( $ret =~ /^(&|#)/ ) {\r\n
\t\t\tmy @tokens = split( " ", $ret, 5 );\r\n
\t\t\tprintWordsElem( $textInputIdx, $wordIdx, $tokens[1] );\r\n
\t\t\tmy @suggs = ();\r\n
\t\t\tif( $tokens[4] ) {\r\n
\t\t\t\t@suggs = split( ", ", $tokens[4] );\r\n
\t\t\t}\r\n
\t\t\tprintSuggsElem( $textInputIdx, $wordIdx, @suggs );\r\n
\t\t\t$wordIdx++;\r\n
\t\t} else {\r\n
\t\t\t$unhandledText .= $ret;\r\n
\t\t}\r\n
\t}\r\n
\tclose ASPELL or handleError( "Error executing `$cmd`\\\\n$unhandledText" ) and return;\r\n
}\r\n
\r\n
sub escapeQuote {\r\n
\tmy $str = shift;\r\n
\t$str =~ s/\'/\\\\\'/g;\r\n
\treturn $str;\r\n
}\r\n
\r\n
sub handleError {\r\n
\tmy $err = shift;\r\n
\tprint "error = \'" . escapeQuote( $err ) . "\';\\n";\r\n
}\r\n
\r\n
sub url_decode {\r\n
\tlocal $_ = @_ ? shift : $_;\r\n
\tdefined or return;\r\n
\t# change + signs to spaces\r\n
\ttr/+/ /;\r\n
\t# change hex escapes to the proper characters\r\n
\ts/%([a-fA-F0-9]{2})/pack "H2", $1/eg;\r\n
\treturn $_;\r\n
}\r\n
\r\n
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\r\n
# Display HTML\r\n
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #\r\n
\r\n
print <<EOF;\r\n
Content-type: text/html; charset=utf-8\r\n
\r\n
<html>\r\n
<head>\r\n
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">\r\n
<link rel="stylesheet" type="text/css" href="$spellercss"/>\r\n
<script src="$wordWindowSrc"></script>\r\n
<script type="text/javascript">\r\n
var suggs = new Array();\r\n
var words = new Array();\r\n
var textinputs = new Array();\r\n
var error;\r\n
EOF\r\n
\r\n
printTextVar();\r\n
\r\n
printCheckerResults();\r\n
\r\n
print <<EOF;\r\n
var wordWindowObj = new wordWindow();\r\n
wordWindowObj.originalSpellings = words;\r\n
wordWindowObj.suggestions = suggs;\r\n
wordWindowObj.textInputs = textinputs;\r\n
\r\n
\r\n
function init_spell() {\r\n
\t// check if any error occured during server-side processing\r\n
\tif( error ) {\r\n
\t\talert( error );\r\n
\t} else {\r\n
\t\t// call the init_spell() function in the parent frameset\r\n
\t\tif (parent.frames.length) {\r\n
\t\t\tparent.init_spell( wordWindowObj );\r\n
\t\t} else {\r\n
\t\t\terror = "This page was loaded outside of a frameset. ";\r\n
\t\t\terror += "It might not display properly";\r\n
\t\t\talert( error );\r\n
\t\t}\r\n
\t}\r\n
}\r\n
\r\n
</script>\r\n
\r\n
</head>\r\n
<body onLoad="init_spell();">\r\n
\r\n
<script type="text/javascript">\r\n
wordWindowObj.writeBody();\r\n
</script>\r\n
\r\n
</body>\r\n
</html>\r\n
EOF\r\n
]]></string> </value>
......@@ -220,7 +220,7 @@ EOF\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>4746</int> </value>
<value> <int>4927</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.52</string> </value>
<value> <string>ts60538662.38</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -186,28 +186,6 @@ function Ok()\r\n
\tSetAttribute( table, \'cellSpacing\'\t, GetE(\'txtCellSpacing\').value ) ;\r\n
\tSetAttribute( table, \'summary\'\t\t, GetE(\'txtSummary\').value ) ;\r\n
\r\n
\tvar eCaption = oEditor.FCKDomTools.GetFirstChild( table, \'CAPTION\' ) ;\r\n
\r\n
\tif ( document.getElementById(\'txtCaption\').value != \'\')\r\n
\t{\r\n
\t\tif ( !eCaption )\r\n
\t\t{\r\n
\t\t\teCaption = oDoc.createElement( \'CAPTION\' ) ;\r\n
\t\t\ttable.insertBefore( eCaption, table.firstChild ) ;\r\n
\t\t}\r\n
\r\n
\t\teCaption.innerHTML = document.getElementById(\'txtCaption\').value ;\r\n
\t}\r\n
\telse if ( bExists && eCaption )\r\n
\t{\r\n
\t\t// TODO: It causes an IE internal error if using removeChild or\r\n
\t\t// table.deleteCaption() (see #505).\r\n
\t\tif ( oEditor.FCKBrowserInfo.IsIE )\r\n
\t\t\teCaption.innerHTML = \'\' ;\r\n
\t\telse\r\n
\t\t\teCaption.parentNode.removeChild( eCaption ) ;\r\n
\t}\r\n
\r\n
\tvar headers = GetE(\'selHeaders\').value ;\r\n
\tif ( bExists )\r\n
\t{\r\n
......@@ -338,6 +316,29 @@ function Ok()\r\n
\t\toEditor.FCK.InsertElement( table ) ;\r\n
\t}\r\n
\r\n
\tvar eCaption = oEditor.FCKDomTools.GetFirstChild( table, \'CAPTION\' ) ;\r\n
\r\n
\tif ( eCaption && !oEditor.FCKBrowserInfo.IsIE )\r\n
\t\teCaption.parentNode.removeChild( eCaption ) ;\r\n
\r\n
\tif ( document.getElementById(\'txtCaption\').value != \'\' )\r\n
\t{\r\n
\t\tif ( !eCaption || !oEditor.FCKBrowserInfo.IsIE )\r\n
\t\t{\r\n
\t\t\teCaption = oDoc.createElement( \'CAPTION\' ) ;\r\n
\t\t\ttable.insertBefore( eCaption, table.firstChild ) ;\r\n
\t\t}\r\n
\r\n
\t\teCaption.innerHTML = document.getElementById(\'txtCaption\').value ;\r\n
\t}\r\n
\telse if ( bExists && eCaption )\r\n
\t{\r\n
\t\t// TODO: It causes an IE internal error if using removeChild or\r\n
\t\t// table.deleteCaption() (see #505).\r\n
\t\tif ( oEditor.FCKBrowserInfo.IsIE )\r\n
\t\t\teCaption.innerHTML = \'\' ;\r\n
\t}\r\n
\r\n
\treturn true ;\r\n
}\r\n
\r\n
......@@ -478,7 +479,7 @@ function Ok()\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>14473</int> </value>
<value> <int>14549</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.52</string> </value>
<value> <string>ts60538662.38</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -170,7 +170,7 @@ function SelectBorderColor( color )\r\n
\r\n
function SelectColor( wich )\r\n
{\r\n
\toEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', oEditor.FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, wich == \'Back\' ? SelectBackColor : SelectBorderColor, window ) ;\r\n
\toEditor.FCKDialog.OpenDialog( \'FCKDialog_Color\', oEditor.FCKLang.DlgColorTitle, \'dialog/fck_colorselector.html\', 410, 320, wich == \'Back\' ? SelectBackColor : SelectBorderColor ) ;\r\n
}\r\n
\r\n
\t</script>\r\n
......@@ -255,8 +255,8 @@ function SelectColor( wich )\r\n
\t\t\t\t\t\t\t\t\t <span fcklang="DlgCellType">Cell Type</span>:</td>\r\n
\t\t\t\t\t\t\t\t\t<td colspan="2">\r\n
\t\t\t\t\t\t\t\t\t\t&nbsp; <select id="selCellType">\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeData" value="td" />Data\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeHeader" value="th" />Header\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeData" value="td">Data</option>\r\n
\t\t\t\t\t\t\t\t\t\t\t<option fcklang="DlgCellTypeHeader" value="th">Header</option>\r\n
\t\t\t\t\t\t\t\t\t\t</select>\r\n
\t\t\t\t\t\t\t\t</tr>\r\n
\t\t\t\t\t\t\t\t<tr>\r\n
......@@ -332,7 +332,7 @@ function SelectColor( wich )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>9930</int> </value>
<value> <int>9936</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.52</string> </value>
<value> <string>ts60538662.39</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -296,16 +296,16 @@ function WaitForActive( editorInstance, newStatus )\r\n
\t}\r\n
}\r\n
\r\n
// Gecko browsers doesn\'t calculate well the IFRAME size so we must\r\n
// Gecko and Webkit browsers don\'t calculate well the IFRAME size so we must\r\n
// recalculate it every time the window size changes.\r\n
if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )\r\n
{\r\n
\twindow.onresize = function( e )\r\n
\t{\r\n
\t\t// Running in Chrome makes the window receive the event including subframes.\r\n
\t\t// Running in Firefox\'s chrome makes the window receive the event including subframes.\r\n
\t\t// we care only about this window. Ticket #1642.\r\n
\t\t// #2002: The originalTarget from the event can be the current document, the window, or the editing area.\r\n
\t\tif ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
\t\tif ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
\t\t\treturn ;\r\n
\r\n
\t\tvar oCell = document.getElementById( \'xEditingArea\' ) ;\r\n
......@@ -356,7 +356,7 @@ if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>12436</int> </value>
<value> <int>12475</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.52</string> </value>
<value> <string>ts60538662.39</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -233,6 +233,7 @@ LoadScript( \'_source/classes/fcktoolbarfontformatcombo.js\' ) ;\r\n
LoadScript( \'_source/classes/fcktoolbarfontscombo.js\' ) ;\r\n
LoadScript( \'_source/classes/fcktoolbarfontsizecombo.js\' ) ;\r\n
LoadScript( \'_source/classes/fcktoolbarpanelbutton.js\' ) ;\r\n
LoadScript( \'_source/internals/fckscayt.js\' ) ;\r\n
LoadScript( \'_source/internals/fcktoolbaritems.js\' ) ;\r\n
LoadScript( \'_source/classes/fcktoolbar.js\' ) ;\r\n
LoadScript( \'_source/classes/fcktoolbarbreak_\' + sSuffix + \'.js\' ) ;\r\n
......@@ -403,16 +404,16 @@ function WaitForActive( editorInstance, newStatus )\r\n
\t}\r\n
}\r\n
\r\n
// Gecko browsers doesn\'t calculate well the IFRAME size so we must\r\n
// Gecko and Webkit browsers don\'t calculate well the IFRAME size so we must\r\n
// recalculate it every time the window size changes.\r\n
if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
if ( FCKBrowserInfo.IsGecko || FCKBrowserInfo.IsSafari )\r\n
{\r\n
\twindow.onresize = function( e )\r\n
\t{\r\n
\t\t// Running in Chrome makes the window receive the event including subframes.\r\n
\t\t// Running in Firefox\'s chrome makes the window receive the event including subframes.\r\n
\t\t// we care only about this window. Ticket #1642.\r\n
\t\t// #2002: The originalTarget from the event can be the current document, the window, or the editing area.\r\n
\t\tif ( e && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
\t\tif ( e && e.originalTarget && e.originalTarget !== document && e.originalTarget !== window && (!e.originalTarget.ownerDocument || e.originalTarget.ownerDocument != document ))\r\n
\t\t\treturn ;\r\n
\r\n
\t\tvar oCell = document.getElementById( \'xEditingArea\' ) ;\r\n
......@@ -463,7 +464,7 @@ if ( FCKBrowserInfo.IsGecko && !FCKBrowserInfo.IsOpera )\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>17712</int> </value>
<value> <int>17800</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts49309338.53</string> </value>
<value> <string>ts60538662.39</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -120,7 +120,7 @@ function OpenFolder( folderPath )\r\n
\r\n
function OpenFile( fileUrl )\r\n
{\r\n
\twindow.top.opener.SetUrl( encodeURI( fileUrl ).replace( \'#\', \'%23\' ) ) ;\r\n
\twindow.top.opener.SetUrl( fileUrl ) ;\r\n
\twindow.top.close() ;\r\n
\twindow.top.opener.focus() ;\r\n
}\r\n
......@@ -176,7 +176,7 @@ function GetFoldersAndFilesCallBack( fckXml )\r\n
\r\n
\t\t// Get the optional "url" attribute. If not available, build the url.\r\n
\t\tvar oFileUrlAtt = oNodes[j].attributes.getNamedItem(\'url\') ;\r\n
\t\tvar sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : sCurrentFolderUrl + sFileName ;\r\n
\t\tvar sFileUrl = oFileUrlAtt != null ? oFileUrlAtt.value : encodeURI( sCurrentFolderUrl + sFileName ).replace( /#/g, \'%23\' ) ;\r\n
\r\n
\t\toHtml.Append( oListManager.GetFileRowHtml( sFileName, sFileUrl, sFileSize ) ) ;\r\n
\t}\r\n
......@@ -208,7 +208,7 @@ window.onload = function()\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <int>5004</int> </value>
<value> <int>5005</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45749251.5</string> </value>
<value> <string>ts60538662.52</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Vir meer informasie gaan na ",\r\n
DlgDivGeneralTab\t: "General",\t//MISSING\r\n
DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
DlgDivStyle\t\t: "Style",\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
\r\n
ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
ScaytTitleOptions\t: "Options",\t//MISSING\r\n
ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
};\r\n
......@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <long>18799</long> </value>
<value> <int>18960</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45749251.96</string> </value>
<value> <string>ts60538662.52</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "لمزيد من المعلومات تفضل بزيارة",\r\
DlgDivGeneralTab\t: "عام",\r\n
DlgDivAdvancedTab\t: "متقدم",\r\n
DlgDivStyle\t\t: "المظهر",\r\n
DlgDivInlineStyle\t: "المظهر المضمن"\r\n
DlgDivInlineStyle\t: "المظهر المضمن",\r\n
\r\n
ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
ScaytTitleOptions\t: "Options",\t//MISSING\r\n
ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
};\r\n
......@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "المظهر المضمن"\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <long>22602</long> </value>
<value> <int>22763</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45749251.75</string> </value>
<value> <string>ts60538662.52</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "За повече информация посетете",\r\n
DlgDivGeneralTab\t: "General",\t//MISSING\r\n
DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
DlgDivStyle\t\t: "Style",\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
\r\n
ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
ScaytTitleOptions\t: "Options",\t//MISSING\r\n
ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
};\r\n
......@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <long>24984</long> </value>
<value> <int>25145</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45749252.77</string> </value>
<value> <string>ts60538662.53</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "আরও তথ্যের জন্য যান",\r\n
DlgDivGeneralTab\t: "General",\t//MISSING\r\n
DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
DlgDivStyle\t\t: "Style",\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
\r\n
ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
ScaytTitleOptions\t: "Options",\t//MISSING\r\n
ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
};\r\n
......@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <long>28089</long> </value>
<value> <int>28250</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
......@@ -15,7 +15,7 @@
</item>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts45749253.14</string> </value>
<value> <string>ts60538662.53</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
......@@ -561,7 +561,12 @@ DlgAboutInfo\t\t: "Za više informacija posjetite",\r\n
DlgDivGeneralTab\t: "General",\t//MISSING\r\n
DlgDivAdvancedTab\t: "Advanced",\t//MISSING\r\n
DlgDivStyle\t\t: "Style",\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
DlgDivInlineStyle\t: "Inline Style",\t//MISSING\r\n
\r\n
ScaytTitle\t\t\t: "SCAYT",\t//MISSING\r\n
ScaytTitleOptions\t: "Options",\t//MISSING\r\n
ScaytTitleLangs\t\t: "Languages",\t//MISSING\r\n
ScaytTitleAbout\t\t: "About"\t//MISSING\r\n
};\r\n
......@@ -573,7 +578,7 @@ DlgDivInlineStyle\t: "Inline Style"\t//MISSING\r\n
</item>
<item>
<key> <string>size</string> </key>
<value> <long>20197</long> </value>
<value> <int>20358</int> </value>
</item>
<item>
<key> <string>title</string> </key>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment