Changeset 1828
- Timestamp:
- 2008-03-28 00:28:26 (4 months ago)
- Location:
- FCKeditor/releases/latest
- Files:
-
- 3 added
- 93 modified
-
_documentation.html (modified) (1 diff)
-
editor/css/fck_internal.css (modified) (1 diff)
-
editor/css/images/fck_plugin.gif (added)
-
editor/dialog/common/fck_dialog_common.js (modified) (3 diffs)
-
editor/dialog/fck_about.html (modified) (4 diffs)
-
editor/dialog/fck_about/sponsors (added)
-
editor/dialog/fck_about/sponsors/spellchecker_net.gif (added)
-
editor/dialog/fck_flash/fck_flash.js (modified) (1 diff)
-
editor/dialog/fck_flash.html (modified) (1 diff)
-
editor/dialog/fck_image/fck_image.js (modified) (1 diff)
-
editor/dialog/fck_image/fck_image_preview.html (modified) (1 diff)
-
editor/dialog/fck_image.html (modified) (1 diff)
-
editor/dialog/fck_link/fck_link.js (modified) (2 diffs)
-
editor/dialog/fck_replace.html (modified) (5 diffs)
-
editor/dialog/fck_smiley.html (modified) (1 diff)
-
editor/dialog/fck_specialchar.html (modified) (1 diff)
-
editor/dialog/fck_tablecell.html (modified) (1 diff)
-
editor/dtd/fck_dtd_test.html (modified) (1 diff)
-
editor/fckdialog.html (modified) (4 diffs)
-
editor/fckeditor.html (modified) (2 diffs)
-
editor/fckeditor.original.html (modified) (2 diffs)
-
editor/filemanager/browser/default/browser.html (modified) (1 diff)
-
editor/filemanager/browser/default/frmactualfolder.html (modified) (1 diff)
-
editor/filemanager/browser/default/frmfolders.html (modified) (1 diff)
-
editor/filemanager/browser/default/frmresourceslist.html (modified) (2 diffs)
-
editor/filemanager/browser/default/frmupload.html (modified) (1 diff)
-
editor/filemanager/browser/default/js/common.js (modified) (1 diff)
-
editor/filemanager/browser/default/js/fckxml.js (modified) (1 diff)
-
editor/filemanager/connectors/asp/io.asp (modified) (4 diffs)
-
editor/filemanager/connectors/asp/upload.asp (modified) (1 diff)
-
editor/filemanager/connectors/cfm/cf5_connector.cfm (modified) (1 diff)
-
editor/filemanager/connectors/cfm/cf5_upload.cfm (modified) (2 diffs)
-
editor/filemanager/connectors/cfm/cf_io.cfm (modified) (5 diffs)
-
editor/filemanager/connectors/cfm/cf_upload.cfm (modified) (1 diff)
-
editor/filemanager/connectors/lasso/connector.lasso (modified) (7 diffs)
-
editor/filemanager/connectors/lasso/upload.lasso (modified) (4 diffs)
-
editor/filemanager/connectors/perl/commands.pl (modified) (3 diffs)
-
editor/filemanager/connectors/perl/connector.cgi (modified) (1 diff)
-
editor/filemanager/connectors/perl/upload.cgi (modified) (1 diff)
-
editor/filemanager/connectors/php/io.php (modified) (6 diffs)
-
editor/filemanager/connectors/php/util.php (modified) (2 diffs)
-
editor/filemanager/connectors/py/fckoutput.py (modified) (1 diff)
-
editor/filemanager/connectors/py/fckutil.py (modified) (3 diffs)
-
editor/filemanager/connectors/test.html (modified) (1 diff)
-
editor/filemanager/connectors/uploadtest.html (modified) (5 diffs)
-
editor/js/fckeditorcode_gecko.js (modified) (4 diffs)
-
editor/js/fckeditorcode_ie.js (modified) (5 diffs)
-
editor/lang/ca.js (modified) (9 diffs)
-
editor/lang/mn.js (modified) (15 diffs)
-
editor/lang/_translationstatus.txt (modified) (1 diff)
-
editor/plugins/placeholder/fck_placeholder.html (modified) (2 diffs)
-
editor/skins/default/fck_dialog.css (modified) (1 diff)
-
editor/skins/default/fck_editor.css (modified) (1 diff)
-
editor/skins/office2003/fck_dialog.css (modified) (1 diff)
-
editor/skins/office2003/fck_editor.css (modified) (1 diff)
-
editor/skins/silver/fck_dialog.css (modified) (1 diff)
-
editor/skins/silver/fck_editor.css (modified) (1 diff)
-
editor/_source/classes/fckdomrange.js (modified) (6 diffs)
-
editor/_source/classes/fckeditingarea.js (modified) (6 diffs)
-
editor/_source/classes/fckenterkey.js (modified) (2 diffs)
-
editor/_source/classes/fckpanel.js (modified) (3 diffs)
-
editor/_source/classes/fckstyle.js (modified) (5 diffs)
-
editor/_source/classes/fcktoolbarbutton.js (modified) (1 diff)
-
editor/_source/classes/fckw3crange.js (modified) (1 diff)
-
editor/_source/commandclasses/fcklistcommands.js (modified) (1 diff)
-
editor/_source/commandclasses/fck_othercommands.js (modified) (1 diff)
-
editor/_source/fckeditorapi.js (modified) (3 diffs)
-
editor/_source/fckscriptloader.js (modified) (3 diffs)
-
editor/_source/internals/fckcommands.js (modified) (1 diff)
-
editor/_source/internals/fckconfig.js (modified) (1 diff)
-
editor/_source/internals/fckdialog.js (modified) (7 diffs)
-
editor/_source/internals/fckdocumentprocessor.js (modified) (3 diffs)
-
editor/_source/internals/fckdomtools.js (modified) (2 diffs)
-
editor/_source/internals/fck_gecko.js (modified) (4 diffs)
-
editor/_source/internals/fck_ie.js (modified) (2 diffs)
-
editor/_source/internals/fck.js (modified) (6 diffs)
-
editor/_source/internals/fcklistslib.js (modified) (1 diff)
-
editor/_source/internals/fckselection_gecko.js (modified) (10 diffs)
-
editor/_source/internals/fckselection_ie.js (modified) (11 diffs)
-
editor/_source/internals/fcktablehandler_gecko.js (modified) (1 diff)
-
editor/_source/internals/fcktablehandler_ie.js (modified) (1 diff)
-
editor/_source/internals/fcktools_gecko.js (modified) (1 diff)
-
editor/_source/internals/fcktools_ie.js (modified) (1 diff)
-
editor/_source/internals/fcktools.js (modified) (2 diffs)
-
editor/_source/internals/fckundo.js (modified) (1 diff)
-
editor/_source/internals/fckxhtml_gecko.js (modified) (1 diff)
-
fckconfig.js (modified) (3 diffs)
-
fckeditor.js (modified) (1 diff)
-
fckstyles.xml (modified) (1 diff)
-
_samples/html/sample06.config.js (modified) (1 diff)
-
_samples/perl/sample01.cgi (modified) (1 diff)
-
_samples/perl/sample02.cgi (modified) (1 diff)
-
_samples/perl/sample03.cgi (modified) (1 diff)
-
_samples/perl/sample04.cgi (modified) (1 diff)
-
_upgrade.html (modified) (1 diff)
-
_whatsnew.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
FCKeditor/releases/latest/_documentation.html
r1638 r1828 33 33 FCKeditor Documentation</h1> 34 34 <p> 35 You can find the official documentation for FCKeditor online, at <a href="http:// wiki.fckeditor.net/">36 http:// wiki.fckeditor.net/</a>.</p>35 You can find the official documentation for FCKeditor online, at <a href="http://docs.fckeditor.net/"> 36 http://docs.fckeditor.net/</a>.</p> 37 37 </body> 38 38 </html> -
FCKeditor/releases/latest/editor/css/fck_internal.css
r1638 r1828 52 52 background-position: center center; 53 53 background-image: url(images/fck_flashlogo.gif); 54 background-repeat: no-repeat; 55 width: 80px; 56 height: 80px; 57 } 58 59 .FCK__UnknownObject 60 { 61 border: #a9a9a9 1px solid; 62 background-position: center center; 63 background-image: url(images/fck_plugin.gif); 54 64 background-repeat: no-repeat; 55 65 width: 80px; -
FCKeditor/releases/latest/editor/dialog/common/fck_dialog_common.js
r1638 r1828 59 59 { 60 60 // CSS minified by http://iceyboard.no-ip.org/projects/css_compressor 61 return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}.BtnReset{float:left;background-position:center center;background-image:url(images/reset.gif);width:16px;height:16px;background-repeat:no-repeat;border:1px none;font-size:1px}.BtnLocked,.BtnUnlocked{float:left;background-position:center center;background-image:url(images/locked.gif);width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.BtnUnlocked{background-image:url(images/unlocked.gif)}.BtnOver{border:outset 1px;cursor: hand}' ;61 return FCKConfig.BasePath + 'dialog/common/' + '|.ImagePreviewArea{border:#000 1px solid;overflow:auto;width:100%;height:170px;background-color:#fff}.FlashPreviewArea{border:#000 1px solid;padding:5px;overflow:auto;width:100%;height:170px;background-color:#fff}.BtnReset{float:left;background-position:center center;background-image:url(images/reset.gif);width:16px;height:16px;background-repeat:no-repeat;border:1px none;font-size:1px}.BtnLocked,.BtnUnlocked{float:left;background-position:center center;background-image:url(images/locked.gif);width:16px;height:16px;background-repeat:no-repeat;border:none 1px;font-size:1px}.BtnUnlocked{background-image:url(images/unlocked.gif)}.BtnOver{border:outset 1px;cursor:pointer;cursor:hand}' ; 62 62 } 63 63 … … 102 102 var element = GetE( elementId ) ; 103 103 element.focus() ; 104 element.select() ; 104 105 // element.select may not be available for some fields (like <select>). 106 if ( element.select ) 107 element.select() ; 105 108 } 106 109 … … 275 278 oldNode = null ; 276 279 277 if ( oEditor.FCK Dialog.SelectionData )280 if ( oEditor.FCK.Selection.SelectionData ) 278 281 { 279 // Trick to refresh the selection object and avoid error in fckdialog.html Selection.EnsureSelection 282 // Trick to refresh the selection object and avoid error in 283 // fckdialog.html Selection.EnsureSelection 280 284 var oSel = oEditor.FCK.EditorDocument.selection ; 281 oEditor.FCK Dialog.SelectionData = oSel.createRange() ; // Now oSel.type will be 'None' reflecting the real situation285 oEditor.FCK.Selection.SelectionData = oSel.createRange() ; // Now oSel.type will be 'None' reflecting the real situation 282 286 } 283 287 } 284 288 oNewNode = oEditor.FCK.InsertElement( oNewNode ) ; 285 289 286 // FCK Dialog.SelectionData is broken by now since we've deleted the previously selected element.287 // So we need to reassign it.288 if ( oEditor.FCK Dialog.SelectionData )290 // FCK.Selection.SelectionData is broken by now since we've 291 // deleted the previously selected element. So we need to reassign it. 292 if ( oEditor.FCK.Selection.SelectionData ) 289 293 { 290 294 var range = oEditor.FCK.EditorDocument.body.createControlRange() ; 291 295 range.add( oNewNode ) ; 292 oEditor.FCK Dialog.SelectionData = range ;296 oEditor.FCK.Selection.SelectionData = range ; 293 297 } 294 298 } -
FCKeditor/releases/latest/editor/dialog/fck_about.html
r1638 r1828 71 71 <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height: 100%"> 72 72 <tr> 73 <td >73 <td colspan="2"> 74 74 <img alt="" src="fck_about/logo_fckeditor.gif" width="236" height="41" align="left" /> 75 75 <table width="80" border="0" cellspacing="0" cellpadding="5" bgcolor="#ffffff" align="right"> … … 79 79 <span fcklang="DlgAboutVersion">version</span> 80 80 <br /> 81 <b>2.6 Beta 1</b><br />82 Build 18 219</td>81 <b>2.6 RC</b><br /> 82 Build 18531</td> 83 83 </tr> 84 84 </table> … … 86 86 </tr> 87 87 <tr style="height: 100%"> 88 <td align="center"> 89 <br /> 88 <td align="center" valign="middle"> 90 89 <span style="font-size: 14px" dir="ltr"> 91 <br />92 90 <b><a href="http://www.fckeditor.net/?about" target="_blank" title="Visit the FCKeditor web site"> 93 91 Support <b>Open Source</b> Software</a></b> </span> 94 <br /> 95 <br /> 96 <br /> 92 <div style="padding-top:15px"> 93 <img alt="" src="fck_about/logo_fredck.gif" width="87" height="36" /> 94 </div> 95 </td> 96 <td align="center" nowrap="nowrap" valign="middle"> 97 <div> 98 <div style="margin-bottom:5px" dir="ltr">Selected Sponsor</div> 99 <a href="http://www.spellchecker.net/fckeditor/" target="_blank"><img alt="Selected Sponsor" border="0" src="fck_about/sponsors/spellchecker_net.gif" width="75" height="75" /></a> 100 </div> 101 </td> 102 </tr> 103 <tr> 104 <td width="100%" nowrap="nowrap"> 97 105 <span fcklang="DlgAboutInfo">For further information go to</span> <a href="http://www.fckeditor.net/?About" 98 106 target="_blank">http://www.fckeditor.net/</a>. … … 100 108 Copyright © 2003-2008 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a> 101 109 </td> 102 </tr>103 <tr>104 110 <td align="center"> 105 < img alt="" src="fck_about/logo_fredck.gif" width="87" height="36" />111 <a href="http://www.fckeditor.net/sponsors/apply" target="_blank">Become a Sponsor</a> 106 112 </td> 107 113 </tr> -
FCKeditor/releases/latest/editor/dialog/fck_flash/fck_flash.js
r1638 r1828 142 142 } 143 143 144 oEditor.FCK FlashProcessor.RefreshView( oFakeImage, oEmbed ) ;144 oEditor.FCKEmbedAndObjectProcessor.RefreshView( oFakeImage, oEmbed ) ; 145 145 146 146 return true ; -
FCKeditor/releases/latest/editor/dialog/fck_flash.html
r1638 r1828 97 97 <br /> 98 98 <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" /> 99 <iframe name="UploadWindow" style="DISPLAY: none" src="javascript:void(0)"></iframe> 99 <script type="text/javascript"> 100 document.write( '<iframe name="UploadWindow" style="DISPLAY: none" src="' + FCKTools.GetVoidUrl() + '"></iframe>' ) ; 101 </script> 100 102 </form> 101 103 </div> -
FCKeditor/releases/latest/editor/dialog/fck_image/fck_image.js
r1638 r1828 251 251 else // Creating a new link. 252 252 { 253 dialog.Selection.EnsureSelection() ;254 255 253 if ( !bHasImage ) 256 254 oEditor.FCKSelection.SelectNode( oImage ) ; -
FCKeditor/releases/latest/editor/dialog/fck_image/fck_image_preview.html
r1638 r1828 54 54 <div> 55 55 <a id="lnkPreview" onclick="return false;" style="cursor: default"> 56 <img id="imgPreview" src="javascript:void(0)"onload="window.parent.UpdateOriginal();"56 <img id="imgPreview" onload="window.parent.UpdateOriginal();" 57 57 style="display: none" alt="" /></a>Lorem ipsum dolor sit amet, consectetuer adipiscing 58 58 elit. Maecenas feugiat consequat diam. Maecenas metus. Vivamus diam purus, cursus -
FCKeditor/releases/latest/editor/dialog/fck_image.html
r1638 r1828 165 165 <br /> 166 166 <input id="btnUpload" type="submit" value="Send it to the Server" fcklang="DlgLnkBtnUpload" /> 167 <iframe name="UploadWindow" style="display: none" src="javascript:void(0)"></iframe> 167 <script type="text/javascript"> 168 document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"></iframe>' ) ; 169 </script> 168 170 </form> 169 171 </div> -
FCKeditor/releases/latest/editor/dialog/fck_link/fck_link.js
r1638 r1828 160 160 // Activate the "OK" button. 161 161 dialog.SetOkButton( true ) ; 162 SelectField( 'txtUrl' ) ; 162 163 // Select the first field. 164 switch( GetE('cmbLinkType').value ) 165 { 166 case 'url' : 167 SelectField( 'txtUrl' ) ; 168 break ; 169 case 'email' : 170 SelectField( 'txtEMailAddress' ) ; 171 break ; 172 case 'anchor' : 173 if ( GetE('divSelAnchor').style.display != 'none' ) 174 SelectField( 'cmbAnchorName' ) ; 175 else 176 SelectField( 'cmbLinkType' ) ; 177 } 163 178 } 164 179 … … 624 639 625 640 // Select the (first) link. 626 dialog.Selection.EnsureSelection() ;627 641 oEditor.FCKSelection.SelectNode( aLinks[0] ); 628 642 -
FCKeditor/releases/latest/editor/dialog/fck_replace.html
r1638 r1828 232 232 // Knuth-Morris-Pratt Algorithm for stream input 233 233 KMP_NOMATCH = 0 ; 234 KMP_STARTED = 1 ; 235 KMP_ADVANCED = 2 ; 236 KMP_MATCHED = 3 ; 234 KMP_ADVANCED = 1 ; 235 KMP_MATCHED = 2 ; 237 236 function KmpMatch( pattern, ignoreCase ) 238 237 { … … 269 268 return KMP_MATCHED; 270 269 } 271 return this._State > 1 ? KMP_ADVANCED : KMP_STARTED ;270 return KMP_ADVANCED ; 272 271 } 273 272 else if ( this._State == 0 ) … … 292 291 var matchState = KMP_NOMATCH ; 293 292 var matchBookmark = null ; 293 var matchBookmarkStart = [] ; 294 294 295 295 // Match finding. … … 306 306 { 307 307 matcher.Reset(); 308 matchBookmark = null;308 matchBookmarkStart = [] ; 309 309 } 310 310 } … … 316 316 // So delete any positional information. 317 317 if ( matchState == KMP_NOMATCH ) 318 matchBookmark = null ; 319 // The currently scanned character is a possible start, so mark down the starting position. 320 else if ( matchState == KMP_STARTED ) 321 matchBookmark = { Start : cursor.concat( [] ) } ; 318 matchBookmarkStart = [] ; 319 // We've matched something, but it's not a complete match, so let's just mark down the position for backtracking later. 320 else if ( matchState == KMP_ADVANCED ) 321 { 322 matchBookmarkStart.push( cursor.concat( [] ) ) ; 323 if ( matchBookmarkStart.length > matcher._State ) 324 matchBookmarkStart.shift() ; 325 } 322 326 // Found a complete match! Mark down the ending position as well. 323 327 else if ( matchState == KMP_MATCHED ) 324 328 { 325 // It is possible to get a KMP_MATCHED without KMP_ STARTED when the match pattern is only 1 character.329 // It is possible to get a KMP_MATCHED without KMP_ADVANCED when the match pattern is only 1 character. 326 330 // So need to check and mark down the starting position as well. 327 if ( matchBookmark == null)328 matchBookmark = { Start : cursor.concat( [] ) };329 330 matchBookmark .End = cursor.concat( [] );331 if ( matchBookmarkStart.length == 0 ) 332 matchBookmarkStart = [cursor.concat( [] )] ; 333 334 matchBookmark = { 'Start' : matchBookmarkStart.shift(), 'End' : cursor.concat( [] ) } ; 331 335 matchBookmark.End[ matchBookmark.End.length - 1 ]++; 332 336 -
FCKeditor/releases/latest/editor/dialog/fck_smiley.html
r1638 r1828 50 50 function InsertSmiley( url ) 51 51 { 52 dialog.Selection.EnsureSelection() ;53 54 52 oEditor.FCKUndo.SaveUndoStep() ; 55 53 -
FCKeditor/releases/latest/editor/dialog/fck_specialchar.html
r1638 r1828 44 44 { 45 45 oEditor.FCKUndo.SaveUndoStep() ; 46 parent.Selection.EnsureSelection() ;47 46 oEditor.FCK.InsertHtml( charValue || "" ) ; 48 47 window.parent.Cancel() ; -
FCKeditor/releases/latest/editor/dialog/fck_tablecell.html
r1638 r1828 37 37 38 38 // Array of selected Cells 39 dialog.Selection.EnsureSelection() ;40 39 var aCells = oEditor.FCKTableHandler.GetSelectedCells() ; 41 40 -
FCKeditor/releases/latest/editor/dtd/fck_dtd_test.html
r1016 r1828 17 17 <table border="1"> 18 18 <script type="text/javascript"> 19 20 alert(FCK.DTD);21 19 22 20 for ( var p in FCK.DTD ) -
FCKeditor/releases/latest/editor/fckdialog.html