From: Thyamad c. <th...@us...> - 2005-08-23 13:14:46
|
Update of /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25920/thywidgets/external/fckeditor Modified Files: fckconfig.js fckeditor.asp fckeditor.cfc fckeditor.cfm fckeditor.js fckeditor.php fckstyles.xml license.txt Log Message: Commiting file additions and modification from SVN revision 1841 to 1842... Changes made by vinicius on 2005-08-23 15:49:13 +0200 (Tue, 23 Aug 2005) corresponding to SVN revision 1842 with message: License file included in thyapi Index: fckeditor.php =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckeditor.php,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckeditor.php 28 Feb 2005 00:33:16 -0000 1.1.1.1 --- fckeditor.php 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 15,20 **** * instances in PHP pages on server side. * ! * Version: 2.0 RC2 ! * Modified: 2004-11-29 17:56:52 * * File Authors: --- 15,20 ---- * instances in PHP pages on server side. * ! * Version: 2.0 RC3 ! * Modified: 2005-03-02 12:38:37 * * File Authors: *************** *** 97,101 **** if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false ) { ! $iVersion = (int)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ; return ($iVersion >= 5.5) ; } --- 97,101 ---- if ( strpos($sAgent, 'MSIE') !== false && strpos($sAgent, 'mac') === false && strpos($sAgent, 'Opera') === false ) { ! $iVersion = (float)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 3) ; return ($iVersion >= 5.5) ; } *************** *** 122,134 **** if ( $sValue === true ) ! $sParams .= htmlspecialchars( $sKey ) . '=true' ; else if ( $sValue === false ) ! $sParams .= htmlspecialchars( $sKey ) . '=false' ; else ! $sParams .= htmlspecialchars( $sKey ) . '=' . htmlspecialchars( $sValue ) ; } return $sParams ; } } --- 122,144 ---- if ( $sValue === true ) ! $sParams .= $this->EncodeConfig( $sKey ) . '=true' ; else if ( $sValue === false ) ! $sParams .= $this->EncodeConfig( $sKey ) . '=false' ; else ! $sParams .= $this->EncodeConfig( $sKey ) . '=' . $this->EncodeConfig( $sValue ) ; } return $sParams ; } + + function EncodeConfig( $valueToEncode ) + { + $chars = array( + '&' => '%26', + '=' => '%3D', + '"' => '%22' ) ; + + return strtr( $valueToEncode, $chars ) ; + } } Index: fckstyles.xml =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckstyles.xml,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckstyles.xml 28 Feb 2005 00:33:17 -0000 1.1.1.1 --- fckstyles.xml 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 1,3 **** ! <?xml version="1.0" encoding="utf-8" ?> <!-- * FCKeditor - The text editor for internet --- 1,3 ---- ! <?xml version="1.0" encoding="utf-8" ?> <!-- * FCKeditor - The text editor for internet *************** *** 11,20 **** * * File Name: fckstyles.xml ! * This is the sample style definitions file. It makes the styles combo * completely customizable. * See FCKConfig.StylesXmlPath in the configuration file. * ! * Version: 2.0 RC2 ! * Modified: 2004-11-27 01:55:27 * * File Authors: --- 11,20 ---- * * File Name: fckstyles.xml ! * This is the sample style definitions file. It makes the styles combo * completely customizable. * See FCKConfig.StylesXmlPath in the configuration file. * ! * Version: 2.0 RC3 ! * Modified: 2005-02-09 13:51:09 * * File Authors: Index: fckeditor.cfm =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckeditor.cfm,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckeditor.cfm 28 Feb 2005 00:33:17 -0000 1.1.1.1 --- fckeditor.cfm 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 26,31 **** * > * ! * Version: 2.0 RC2 ! * Modified: 2004-12-07 12:06:16 * * File Authors: --- 26,31 ---- * > * ! * Version: 2.0 RC3 ! * Modified: 2004-12-22 13:51:08 * * File Authors: *************** *** 128,132 **** if( iPos GT 0 ) { ! if( not len( sConfig ) ) sConfig = sConfig & "&"; --- 128,132 ---- if( iPos GT 0 ) { ! if( len( sConfig ) ) sConfig = sConfig & "&"; Index: fckconfig.js =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckconfig.js,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckconfig.js 28 Feb 2005 00:33:16 -0000 1.1.1.1 --- fckconfig.js 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 1,3 **** ! /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben --- 1,3 ---- ! /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben *************** *** 11,17 **** * File Name: fckconfig.js * Editor configuration settings. * ! * Version: 2.0 RC2 ! * Modified: 2004-12-17 08:14:33 * * File Authors: --- 11,18 ---- * File Name: fckconfig.js * Editor configuration settings. + * See the documentation for more info. * ! * Version: 2.0 RC3 ! * Modified: 2005-02-27 21:31:48 * * File Authors: *************** *** 19,92 **** */ - // Custom Configurations (leave blank to ignore) FCKConfig.CustomConfigurationsPath = '' ; - // Style File to be used in the editable area. FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; ! // Enables the debug window FCKConfig.Debug = false ; - // Set the path for the skin files to use. FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; ! // Language settings ! FCKConfig.AutoDetectLanguage = true ; ! FCKConfig.DefaultLanguage = 'en' ; - // Enable XHTML support FCKConfig.EnableXHTML = true ; FCKConfig.EnableSourceXHTML = true ; ! // Tells Gecko browsers to use SPAN instead of <B>, <I> and <U>. ! FCKConfig.GeckoUseSPAN = true ; ! // Force the editor to get the focus on startup (page load). ! FCKConfig.StartupFocus = true ; ! // Cut and Paste options FCKConfig.ForcePasteAsPlainText = false ; ! ! FCKConfig.ForceSimpleAmpersand = false ; ! ! FCKConfig.TabSpaces = 0 ; ! ! // When the user presses <ENTER> inserts a <BR> tag instead of a <P> (on IE). FCKConfig.UseBROnCarriageReturn = false ; - - // Link: Target Windows - FCKConfig.LinkShowTargets = true ; - FCKConfig.LinkTargets = '_blank;_parent;_self;_top' ; - FCKConfig.LinkDefaultTarget = '' ; - FCKConfig.ToolbarStartExpanded = true ; FCKConfig.ToolbarCanCollapse = true ; - //## - //## Toolbar Buttons Sets - //## FCKConfig.ToolbarSets["Default"] = [ ! ['Source','-','Save','NewPage','Preview'], ! ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ! ['Link','Unlink'], ! ['Image','Table','Rule','SpecialChar','Smiley'], ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['About'] ] ; FCKConfig.ToolbarSets["Basic"] = [ ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ] ; ! // Font Colors FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; - // Font Combos FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; --- 20,86 ---- */ FCKConfig.CustomConfigurationsPath = '' ; FCKConfig.EditorAreaCSS = FCKConfig.BasePath + 'css/fck_editorarea.css' ; ! FCKConfig.BaseHref = '' ; ! ! FCKConfig.FullPage = false ; ! FCKConfig.Debug = false ; FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ; FCKConfig.PluginsPath = FCKConfig.BasePath + 'plugins/' ; ! // FCKConfig.Plugins.Add( 'placeholder', 'en,it' ) ; ! ! FCKConfig.AutoDetectLanguage = true ; ! FCKConfig.DefaultLanguage = 'en' ; ! FCKConfig.ContentLangDirection = 'ltr' ; FCKConfig.EnableXHTML = true ; FCKConfig.EnableSourceXHTML = true ; ! FCKConfig.FillEmptyBlocks = true ; ! FCKConfig.FormatSource = true ; ! FCKConfig.FormatOutput = true ; ! FCKConfig.FormatIndentator = ' ' ; ! FCKConfig.GeckoUseSPAN = true ; ! FCKConfig.StartupFocus = false ; FCKConfig.ForcePasteAsPlainText = false ; ! FCKConfig.ForceSimpleAmpersand = false ; ! FCKConfig.TabSpaces = 0 ; ! FCKConfig.ShowBorders = true ; FCKConfig.UseBROnCarriageReturn = false ; FCKConfig.ToolbarStartExpanded = true ; FCKConfig.ToolbarCanCollapse = true ; FCKConfig.ToolbarSets["Default"] = [ ! ['Source','DocProps','-','Save','NewPage','Preview'], ! ['Cut','Copy','Paste','PasteText','PasteWord','-','Print','SpellCheck'], ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'], ['OrderedList','UnorderedList','-','Outdent','Indent'], ['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'], ! ['Link','Unlink','Anchor'], ! ['Image','Table','Rule','Smiley','SpecialChar','UniversalKey'], ! ['Form','Checkbox','Radio','TextField','Textarea','Select','Button','ImageButton','HiddenField'], ! '/', ['Style','FontFormat','FontName','FontSize'], ['TextColor','BGColor'], ['About'] ] ; + FCKConfig.ToolbarSets["Basic"] = [ ['Bold','Italic','-','OrderedList','UnorderedList','-','Link','Unlink','-','About'] ] ; ! FCKConfig.ContextMenu = ['Generic','Link','Anchor','Image','Select','Textarea','Checkbox','Radio','TextField','HiddenField','ImageButton','Button','BulletedList','NumberedList','TableCell','Table','Form'] ; ! FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ; FCKConfig.FontNames = 'Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ; FCKConfig.FontSizes = '1/xx-small;2/x-small;3/small;4/medium;5/large;6/x-large;7/xx-large' ; *************** *** 95,127 **** FCKConfig.StylesXmlPath = '../fckstyles.xml' ; ! // Link Browsing FCKConfig.LinkBrowser = true ; ! FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp" ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/" ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx" ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/php/connector.php" ; FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70% - // Link Upload - FCKConfig.LinkUpload = false ; - FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx" ; - FCKConfig.LinkUploadWindowWidth = 300 ; - FCKConfig.LinkUploadWindowHeight = 150 ; - FCKConfig.LinkUploadAllowedExtensions = "*" ; // * or empty for all - FCKConfig.LinkUploadDeniedExtensions = ".exe .asp .php .aspx .js .cfm .dll" ; // empty for none - - // Image Browsing FCKConfig.ImageBrowser = true ; ! FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp" ; ! //FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx" ; ! //FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php" ; FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ; FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ; ! // Smiley Dialog ! FCKConfig.SmileyPath = FCKConfig.BasePath + "images/smiley/msn/" ; ! FCKConfig.SmileyImages = ["regular_smile.gif","sad_smile.gif","wink_smile.gif","teeth_smile.gif","confused_smile.gif","tounge_smile.gif","embaressed_smile.gif","omg_smile.gif","whatchutalkingabout_smile.gif","angry_smile.gif","angel_smile.gif","shades_smile.gif","devil_smile.gif","cry_smile.gif","lightbulb.gif","thumbs_down.gif","thumbs_up.gif","heart.gif","broken_heart.gif","kiss.gif","envelope.gif"] ; FCKConfig.SmileyColumns = 8 ; FCKConfig.SmileyWindowWidth = 320 ; ! FCKConfig.SmileyWindowHeight = 240 ; --- 89,113 ---- FCKConfig.StylesXmlPath = '../fckstyles.xml' ; ! FCKConfig.SpellChecker = 'ieSpell' ; // 'ieSpell' | 'SpellerPages' ! FCKConfig.IeSpellDownloadUrl = 'http://www.iespell.com/rel/ieSpellSetup211325.exe' ; ! FCKConfig.LinkBrowser = true ; ! FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp' ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/asp/connector.asp&ServerPath=/CustomFiles/' ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx' ; ! //FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Connector=connectors/php/connector.php' ; FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70% FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70% FCKConfig.ImageBrowser = true ; ! FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/asp/connector.asp' ; ! //FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx' ; ! //FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/default/browser.html?Type=Image&Connector=connectors/php/connector.php' ; FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ; FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ; ! FCKConfig.SmileyPath = FCKConfig.BasePath + 'images/smiley/msn/' ; ! FCKConfig.SmileyImages = ['regular_smile.gif','sad_smile.gif','wink_smile.gif','teeth_smile.gif','confused_smile.gif','tounge_smile.gif','embaressed_smile.gif','omg_smile.gif','whatchutalkingabout_smile.gif','angry_smile.gif','angel_smile.gif','shades_smile.gif','devil_smile.gif','cry_smile.gif','lightbulb.gif','thumbs_down.gif','thumbs_up.gif','heart.gif','broken_heart.gif','kiss.gif','envelope.gif'] ; FCKConfig.SmileyColumns = 8 ; FCKConfig.SmileyWindowWidth = 320 ; ! FCKConfig.SmileyWindowHeight = 240 ; \ No newline at end of file Index: fckeditor.js =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckeditor.js,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckeditor.js 28 Feb 2005 00:33:17 -0000 1.1.1.1 --- fckeditor.js 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 1,3 **** ! /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben --- 1,3 ---- ! /* * FCKeditor - The text editor for internet * Copyright (C) 2003-2004 Frederico Caldeira Knabben *************** *** 11,21 **** * File Name: fckeditor.js * This is the integration file for JavaScript. ! * * It defines the FCKeditor class that can be used to create editor * instances in a HTML page in the client side. For server side * operations, use the specific integration system. * ! * Version: 2.0 RC2 ! * Modified: 2004-11-23 20:35:14 * * File Authors: --- 11,21 ---- * File Name: fckeditor.js * This is the integration file for JavaScript. ! * * It defines the FCKeditor class that can be used to create editor * instances in a HTML page in the client side. For server side * operations, use the specific integration system. * ! * Version: 2.0 RC3 ! * Modified: 2005-02-27 19:04:39 * * File Authors: *************** *** 52,56 **** document.write( '<div>' ) ; ! if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) { --- 52,56 ---- document.write( '<div>' ) ; ! if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) { *************** *** 73,77 **** if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) { ! var oTextarea = document.getElementsByName( this.InstanceName )[0] ; oTextarea.style.display = 'none' ; this._InsertHtmlBefore( this._GetConfigHtml(), oTextarea ) ; --- 73,87 ---- if ( !this.CheckBrowser || this._IsCompatibleBrowser() ) { ! var oTextarea = document.getElementById( this.InstanceName ) ; ! ! if ( !oTextarea ) ! oTextarea = document.getElementsByName( this.InstanceName )[0] ; ! ! if ( !oTextarea || oTextarea.tagName != 'TEXTAREA' ) ! { ! alert( 'Error: The TEXTAREA id "' + this.InstanceName + '" was not found' ) ; ! return ; ! } ! oTextarea.style.display = 'none' ; this._InsertHtmlBefore( this._GetConfigHtml(), oTextarea ) ; *************** *** 99,103 **** { if ( sConfig.length > 0 ) sConfig += '&' ; ! sConfig += this._HTMLEncode(o) + '=' + this._HTMLEncode( this.Config[o] ) ; } --- 109,113 ---- { if ( sConfig.length > 0 ) sConfig += '&' ; ! sConfig += escape(o) + '=' + escape( this.Config[o] ) ; } *************** *** 150,154 **** if ( typeof( text ) != "string" ) text = text.toString() ; ! text = text.replace(/&/g, "&") ; text = text.replace(/"/g, """) ; --- 160,164 ---- if ( typeof( text ) != "string" ) text = text.toString() ; ! text = text.replace(/&/g, "&") ; text = text.replace(/"/g, """) ; Index: fckeditor.asp =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckeditor.asp,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckeditor.asp 28 Feb 2005 00:33:16 -0000 1.1.1.1 --- fckeditor.asp 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 11,20 **** * File Name: fckeditor.asp * This is the integration file for ASP. ! * * It defines the FCKeditor class that can be used to create editor * instances in ASP pages on server side. * ! * Version: 2.0 RC2 ! * Modified: 2004-12-17 08:01:56 * * File Authors: --- 11,20 ---- * File Name: fckeditor.asp * This is the integration file for ASP. ! * * It defines the FCKeditor class that can be used to create editor * instances in ASP pages on server side. * ! * Version: 2.0 RC3 ! * Modified: 2005-02-27 19:16:33 * * File Authors: *************** *** 79,83 **** Dim sLink sLink = sBasePath & "editor/fckeditor.html?InstanceName=" + instanceName ! If (sToolbarSet & "") <> "" Then sLink = sLink + "&Toolbar=" & sToolbarSet --- 79,83 ---- Dim sLink sLink = sBasePath & "editor/fckeditor.html?InstanceName=" + instanceName ! If (sToolbarSet & "") <> "" Then sLink = sLink + "&Toolbar=" & sToolbarSet *************** *** 120,125 **** Dim sAgent ! sAgent = Request.ServerVariables("HTTP_USER_AGENT") ! Dim iVersion --- 120,125 ---- Dim sAgent ! sAgent = Request.ServerVariables("HTTP_USER_AGENT") ! Dim iVersion *************** *** 140,150 **** ' so 5.5 will not work on systems were the separator is "," and vice versa. Private Function ToNumericFormat( numberStr ) ! If IsNumeric( "5.5" ) Then ! ToNumericFormat = Replace( numberStr, ",", ".") ! Else ! ToNumericFormat = Replace( numberStr, ".", ",") ! End If ! End Function --- 140,150 ---- ' so 5.5 will not work on systems were the separator is "," and vice versa. Private Function ToNumericFormat( numberStr ) ! If IsNumeric( "5.5" ) Then ! ToNumericFormat = Replace( numberStr, ",", ".") ! Else ! ToNumericFormat = Replace( numberStr, ".", ",") ! End If ! End Function *************** *** 152,159 **** Dim sParams ! Dim bFirst bFirst = True For Each sKey in oConfig --- 152,160 ---- Dim sParams ! Dim bFirst bFirst = True + Dim sKey For Each sKey in oConfig *************** *** 163,174 **** bFirst = False End If ! ! sParams = sParams & Server.HTMLEncode( sKey ) & "=" & Server.HTMLEncode( oConfig(sKey) ) Next ! GetConfigFieldString = sParams End Function End Class --- 164,181 ---- bFirst = False End If ! ! sParams = sParams & EncodeConfig( sKey ) & "=" & EncodeConfig( oConfig(sKey) ) Next ! GetConfigFieldString = sParams End Function + + Private Function EncodeConfig( valueToEncode ) + EncodeConfig = Replace( valueToEncode, "&", "%26" ) + EncodeConfig = Replace( EncodeConfig , "=", "%3D" ) + EncodeConfig = Replace( EncodeConfig , """", "%22" ) + End Function End Class Index: license.txt =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/license.txt,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** license.txt 28 Feb 2005 00:33:17 -0000 1.1.1.1 --- license.txt 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 147,151 **** writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. ! 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that --- 147,151 ---- writing it). Whether that is true depends on what the Library does and what the program that uses the Library does. ! 1. You may copy and distribute verbatim copies of the Library's complete source code as you receive it, in any medium, provided that Index: fckeditor.cfc =================================================================== RCS file: /cvsroot/thyapi/thyapi/thywidgets/external/fckeditor/fckeditor.cfc,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -C2 -d -r1.1.1.1 -r1.2 *** fckeditor.cfc 28 Feb 2005 00:33:17 -0000 1.1.1.1 --- fckeditor.cfc 23 Aug 2005 13:14:05 -0000 1.2 *************** *** 34,39 **** * limitation with the cfc invocation. * ! * Version: 2.0 RC2 ! * Modified: 2004-12-06 21:07:26 * * File Authors: --- 34,39 ---- * limitation with the cfc invocation. * ! * Version: 2.0 RC3 ! * Modified: 2004-12-22 13:49:40 * * File Authors: *************** *** 203,207 **** if( iPos GT 0 ) { ! if( not len( sParams ) ) sParams = sParams & "&"; --- 203,207 ---- if( iPos GT 0 ) { ! if( len( sParams ) ) sParams = sParams & "&"; |