Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Wed, Feb 5, 5:07 PM

in-portal

This file is larger than 256 KB, so syntax highlighting was skipped.
This document is not UTF8. It was detected as ISO-8859-1 (Latin 1) and converted to UTF8 for display.
Index: branches/RC/admin/editor/FCKeditor/fckeditor.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/fckeditor.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/fckeditor.js (nonexistent)
@@ -1,76 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fckeditor.js: Inserts a FCKeditor instance in a HTML page.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-var FCKeditorBasePath = '/FCKeditor/' ;
-
-var isOpera = (navigator.userAgent.indexOf("Opera") > 0) ;
-
-// Check if the browser is compatible with the Editor:
-// - Internet Explorer 5 or above
-var isCompatible = (!isOpera && navigator.appName == 'Microsoft Internet Explorer') ;
-if (isCompatible)
-{
- var browserVersion = navigator.appVersion.match(/MSIE (.\..)/)[1] ;
- isCompatible = (browserVersion >= 5) ;
-}
-
-// FCKeditor class
-function FCKeditor(instanceName, width, height, toolbarSet, value)
-{
- this.InstanceName = instanceName ;
- this.Width = width || '100%' ;
- this.Height = height || '200' ;
- this.ToolbarSet = toolbarSet ;
- this.Value = value || '' ;
-
- this.Config = new Object() ;
- this.CanUpload = null ; // true / false
- this.CanBrowse = null ; // true / false
-}
-
-FCKeditor.prototype.Create = function()
-{
- if (isCompatible)
- {
- var sLink = FCKeditorBasePath + 'fckeditor.html?FieldName=' + this.InstanceName ;
- if (this.ToolbarSet) sLink += '&Toolbar=' + this.ToolbarSet ;
- if (this.CanUpload != null) sLink += '&Upload=' + (this.CanUpload ? "true" : "false") ;
- if (this.CanBrowse != null) sLink += '&Browse=' + (this.CanBrowse ? "true" : "false") ;
-
- for ( o in this.Config )
- sLink += '&' + o + '=' + this.Config[o] ;
-
- document.write('<IFRAME src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="no" scrolling="no"></IFRAME>') ;
- document.write('<INPUT type="hidden" name="' + this.InstanceName + '" value="' + HTMLEncode( this.Value ) + '">') ;
- }
- else
- {
- var sWidth = this.Width.toString().indexOf('%') > 0 ? this.Width : this.Width + 'px' ;
- var sHeight = this.Height.toString().indexOf('%') > 0 ? this.Height : this.Height + 'px' ;
- document.write('<TEXTAREA name="' + this.InstanceName + '" rows="4" cols="40" style="WIDTH: ' + sWidth + '; HEIGHT: ' + sHeight + '" wrap="virtual">' + HTMLEncode( this.Value ) + '<\/TEXTAREA>') ;
- }
-}
-
-function HTMLEncode(text)
-{
- text = text.replace(/&/g, "&amp;") ;
- text = text.replace(/"/g, "&quot;") ;
- text = text.replace(/</g, "&lt;") ;
- text = text.replace(/>/g, "&gt;") ;
- text = text.replace(/'/g, "&#146;") ;
-
- return text ;
-}
Property changes on: branches/RC/admin/editor/FCKeditor/fckeditor.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.spellcheck.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.spellcheck.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.copy.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.copy.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.selectall.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.selectall.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyright.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyright.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.underline.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.underline.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.italic.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.italic.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.unlink.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.unlink.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.textcolor.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.textcolor.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.showtableborders.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.showtableborders.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.showdetails.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.showdetails.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.insertorderedlist.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.insertorderedlist.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.pasteword.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.pasteword.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.pastetext.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.pastetext.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.redo.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.redo.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.link.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyleft.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyleft.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.table.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.table.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.subscript.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.subscript.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyfull.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifyfull.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.cut.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.cut.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.paste.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.paste.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.about.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.about.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/separator.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/separator.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.image.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.image.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.insertunorderedlist.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.insertunorderedlist.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.strikethrough.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.strikethrough.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.flash.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.flash.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifycenter.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.justifycenter.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.superscript.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.superscript.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.print.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.print.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.indent.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.indent.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.find.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.find.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.bgcolor.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.bgcolor.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.smiley.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.smiley.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.removeformat.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.removeformat.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.bold.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.bold.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.specialchar.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.specialchar.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.outdent.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.outdent.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.undo.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.undo.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/toolbar/button.rule.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/toolbar/button.rule.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/cry_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/cry_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/heart.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/heart.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/whatchutalkingabout_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/whatchutalkingabout_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/envelope.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/envelope.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/kiss.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/kiss.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/omg_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/omg_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/thumbs_up.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/thumbs_up.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/confused_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/confused_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/lightbulb.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/lightbulb.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/tounge_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/tounge_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/angel_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/angel_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/sad_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/sad_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/broken_heart.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/broken_heart.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/regular_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/regular_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/wink_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/wink_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/devil_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/devil_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/angry_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/angry_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/teeth_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/teeth_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/embaressed_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/embaressed_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/cake.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/cake.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/thumbs_down.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/thumbs_down.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/images/smiley/msn/shades_smile.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/images/smiley/msn/shades_smile.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/fckeditor.htc
===================================================================
--- branches/RC/admin/editor/FCKeditor/fckeditor.htc (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/fckeditor.htc (nonexistent)
@@ -1,108 +0,0 @@
-<SCRIPT language="javascript">
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fckeditor.htc: Handles FCKeditor as a IE behavior.
- *
- * Authors:
- * Daniel Shryock (dan@justsnooping.com)
- */
-
-var FCKeditorBasePath = '/FCKeditor/' ;
-
-var isOpera = (navigator.userAgent.indexOf("Opera") > 0) ;
-
-// Check if the browser is compatible with the Editor:
-// - Internet Explorer 5 or above
-var isCompatible = (!isOpera && navigator.appName == 'Microsoft Internet Explorer') ;
-if (isCompatible)
-{
- var browserVersion = navigator.appVersion.match(/MSIE (.)/)[1] ;
- isCompatible = (browserVersion >= 5) ;
-}
-
-// FCKeditor class
-function FCKeditor(instanceName, width, height, toolbarSet, value)
-{
- this.InstanceName = instanceName ;
- this.Width = width || '100%' ;
- this.Height = height || '200' ;
- this.ToolbarSet = toolbarSet ;
- this.Value = value || '' ;
-
- this.Config = new Object() ;
- this.CanUpload = null ; // true / false
- this.CanBrowse = null ; // true / false
-}
-
-FCKeditor.prototype.Create = function(bNoForm)
-{
- var sHTML = "";
- if (isCompatible)
- {
- var sLink = FCKeditorBasePath + 'fckeditor.html?FieldName=' + this.InstanceName ;
- if (this.ToolbarSet) sLink += '&Toolbar=' + this.ToolbarSet ;
- if (this.CanUpload != null) sLink += '&Upload=' + (this.CanUpload ? "true" : "false") ;
- if (this.CanBrowse != null) sLink += '&Browse=' + (this.CanBrowse ? "true" : "false") ;
-
- for ( o in this.Config )
- sLink += '&' + o + '=' + this.Config[o] ;
-
- sHTML += ('<IFRAME src="' + sLink + '" width="' + this.Width + '" height="' + this.Height + '" frameborder="no" scrolling="no"></IFRAME>') ;
- if(!bNoForm) sHTML += ('<INPUT type="hidden" name="' + this.InstanceName + '" value="' + HTMLEncode( this.Value ) + '">') ;
-
- element.innerHTML = sHTML;
- }
-}
-
-function HTMLEncode(text)
-{
- text = text.replace(/&/g, "&amp;") ;
- text = text.replace(/"/g, "&quot;") ;
- text = text.replace(/</g, "&lt;") ;
- text = text.replace(/>/g, "&gt;") ;
- text = text.replace(/'/g, "&#146;") ;
-
- return text ;
-}
-
-
-var bNoForm = false;
-var sInstanceName = "";
-var sValue = "";
-
-if(element.inputform){
- //Grab form object
- var oInputForm = eval("window.document.all."+element.inputform);
- //Hide form object
- oInputForm.style.display = "none";
-
- bNoForm = true;
- sInstanceName = oInputForm.name;
- sValue = oInputForm.value;
- }
-else{
- sInstanceName = element.name;
- sValue = element.innerHTML;
- }
-
-
-var oFCKeditor = new FCKeditor(sInstanceName);
-
-if (element.canupload) oFCKeditor.CanUpload = element.canupload ;
-if (element.canbrowse) oFCKeditor.CanBrowse = element.canbrowse ;
-if (element.width) oFCKeditor.Width = element.width ;
-if (element.height) oFCKeditor.Height = element.height ;
-if (element.toolbarset) oFCKeditor.ToolbarSet = element.toolbarset ;
-if (element.innerHTML) oFCKeditor.Value = sValue ;
-oFCKeditor.Create(bNoForm);
-
-
-</SCRIPT>
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/fckeditor.htc
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/fckeditor.php
===================================================================
--- branches/RC/admin/editor/FCKeditor/fckeditor.php (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/fckeditor.php (nonexistent)
@@ -1,107 +0,0 @@
-<?php
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fckeditor.php: PHP pages integration.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-// The editor base path
-// You have to update it with you web site configuration
-
-// new startup: begin
-define('REL_PATH', 'admin/editor/FCKEditor');
-$relation_level = count( explode('/', REL_PATH) );
-define('FULL_PATH', realpath(dirname(__FILE__) . str_repeat('/..', $relation_level) ) );
-require_once FULL_PATH.'/kernel/startup.php';
-// new startup: end
-
-//echo $pathtoroot;
-$FCKeditorBasePath = $rootURL.$admin."/editor/FCKeditor/" ;
-
-class FCKeditor
-{
- var $ToolbarSet ;
- var $Value ;
- var $CanUpload ;
- var $CanBrowse ;
-
- function FCKeditor()
- {
- $this->ToolbarSet = '' ;
- $this->Value = '' ;
- $this->CanUpload = 'none' ;
- $this->CanBrowse = 'none' ;
- }
-
- function CreateFCKeditor($instanceName, $width, $height)
- {
- echo $this->ReturnFCKeditor($instanceName, $width, $height) ;
- }
-
- function ReturnFCKeditor($instanceName, $width, $height)
- {
-
-// $grstr = htmlentities( $this->Value ) ;
- $grstr = htmlspecialchars( $this->Value ) ;
-
- $strEditor = "" ;
-
- if ( $this->IsCompatible() )
- {
- global $FCKeditorBasePath ;
- $sLink = $FCKeditorBasePath . "fckeditor.html?FieldName=$instanceName" ;
-
- if ( $this->ToolbarSet != '' )
- $sLink = $sLink . "&Toolbar=$this->ToolbarSet" ;
-
- if ( $this->CanUpload != 'none' )
- {
- if ($this->CanUpload == true)
- $sLink = $sLink . "&Upload=true" ;
- else
- $sLink = $sLink . "&Upload=false" ;
- }
-
- if ( $this->CanBrowse != 'none' )
- {
- if ($this->CanBrowse == true)
- $sLink = $sLink . "&Browse=true" ;
- else
- $sLink = $sLink . "&Browse=false" ;
- }
-
- $strEditor .= "<IFRAME src=\"$sLink\" width=\"$width\" height=\"$height\" frameborder=\"no\" scrolling=\"no\"></IFRAME>" ;
- $strEditor .= "<INPUT type=\"hidden\" id=\"$instanceName\" name=\"$instanceName\" value=\"$grstr\">" ;
- }
- else
- {
- $strEditor .= "<TEXTAREA id=\"$instanceName\" name=\"$instanceName\" rows=\"4\" cols=\"40\" style=\"WIDTH: $width; HEIGHT: $height\" wrap=\"virtual\">$grstr</TEXTAREA>" ;
- }
-
- return $strEditor;
- }
-
- function IsCompatible()
- {
- $sAgent = $_SERVER['HTTP_USER_AGENT'] ;
-
- if ( is_integer( strpos($sAgent, 'MSIE') ) && is_integer( strpos($sAgent, 'Windows') ) && !is_integer( strpos($sAgent, 'Opera') ) )
- {
- $iVersion = (int)substr($sAgent, strpos($sAgent, 'MSIE') + 5, 1) ;
- return ($iVersion >= 5) ;
- } else {
- return FALSE ;
- }
- }
-}
-?>
Property changes on: branches/RC/admin/editor/FCKeditor/fckeditor.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.6
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/lang/en.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/lang/en.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/lang/en.js (nonexistent)
@@ -1,198 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * en.js: English support.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-// Toolbar Items and Context Menu
-
-lang["Cut"] = "Cut" ;
-lang["Copy"] = "Copy" ;
-lang["Paste"] = "Paste" ;
-lang["PasteText"] = "Paste as plain text" ;
-lang["PasteWord"] = "Paste from Word" ;
-lang["Find"] = "Find" ;
-lang["SelectAll"] = "Select All" ;
-lang["RemoveFormat"] = "Remove Format" ;
-lang["InsertLink"] = "Insert/Edit Link" ;
-lang["RemoveLink"] = "Remove Link" ;
-lang["InsertImage"] = "Insert/Edit Image" ;
-lang["InsertTable"] = "Insert/Edit Table" ;
-lang["InsertLine"] = "Insert Horizontal Line" ;
-lang["InsertSpecialChar"] = "Insert Special Character" ;
-lang["InsertSmiley"] = "Insert Smiley" ;
-lang["About"] = "About FCKeditor" ;
-
-lang["Bold"] = "Bold" ;
-lang["Italic"] = "Italic" ;
-lang["Underline"] = "Underline" ;
-lang["StrikeThrough"] = "Strike Through" ;
-lang["Subscript"] = "Subscript" ;
-lang["Superscript"] = "Superscript" ;
-lang["LeftJustify"] = "Left Justify" ;
-lang["CenterJustify"] = "Center Justify" ;
-lang["RightJustify"] = "Right Justify" ;
-lang["BlockJustify"] = "Block Justify" ;
-lang["DecreaseIndent"] = "Decrease Indent" ;
-lang["IncreaseIndent"] = "Increase Indent" ;
-lang["Undo"] = "Undo" ;
-lang["Redo"] = "Redo" ;
-lang["NumberedList"] = "Numbered List" ;
-lang["BulettedList"] = "Buletted List" ;
-
-lang["ShowTableBorders"] = "Show Table Borders" ;
-lang["ShowDetails"] = "Show Details" ;
-
-lang["FontStyle"] = "Style" ;
-lang["FontFormat"] = "Format" ;
-lang["Font"] = "Font" ;
-lang["FontSize"] = "Size" ;
-lang["TextColor"] = "Text Color" ;
-lang["BGColor"] = "Background Color" ;
-lang["Source"] = "Source" ;
-
-// Context Menu
-
-lang["EditLink"] = "Edit Link" ;
-lang["InsertRow"] = "Insert Row" ;
-lang["DeleteRows"] = "Delete Rows" ;
-lang["InsertColumn"] = "Insert Column" ;
-lang["DeleteColumns"] = "Delete Columns" ;
-lang["InsertCell"] = "Insert Cell" ;
-lang["DeleteCells"] = "Delete Cells" ;
-lang["MergeCells"] = "Merge Cells" ;
-lang["SplitCell"] = "Split Cell" ;
-lang["CellProperties"] = "Cell Properties" ;
-lang["TableProperties"] = "Table Properties" ;
-lang["ImageProperties"] = "Image Properties" ;
-
-// Alerts and Messages
-
-lang["ProcessingXHTML"] = "Processing XHTML. Please wait..." ;
-lang["Done"] = "Done" ;
-lang["PasteWordConfirm"] = "The text you want to paste seems to be copied from Word. Do you want to clean it before pasting?" ;
-lang["NotCompatiblePaste"] = "This command is available for Internet Explorer version 5.5 or more. Do you want to paste without cleaning?" ;
-
-// Dialogs
-lang["DlgBtnOK"] = "OK" ;
-lang["DlgBtnCancel"] = "Cancel" ;
-lang["DlgBtnClose"] = "Close" ;
-
-// Image Dialog
-lang["DlgImgTitleInsert"] = "Insert Image" ;
-lang["DlgImgTitleEdit"] = "Edit Image" ;
-lang["DlgImgBtnUpload"] = "Send it to the Server" ;
-lang["DlgImgURL"] = "URL" ;
-lang["DlgImgUpload"] = "Upload" ;
-lang["DlgImgBtnBrowse"] = "Browse Server" ;
-lang["DlgImgAlt"] = "Alternative Text" ;
-lang["DlgImgWidth"] = "Width" ;
-lang["DlgImgHeight"] = "Height" ;
-lang["DlgImgLockRatio"] = "Lock Ratio" ;
-lang["DlgBtnResetSize"] = "Reset Size" ;
-lang["DlgImgBorder"] = "Border" ;
-lang["DlgImgHSpace"] = "HSpace" ;
-lang["DlgImgVSpace"] = "VSpace" ;
-lang["DlgImgAlign"] = "Align" ;
-lang["DlgImgAlignLeft"] = "Left" ;
-lang["DlgImgAlignAbsBottom"] = "Abs Bottom" ;
-lang["DlgImgAlignAbsMiddle"] = "Abs Middle" ;
-lang["DlgImgAlignBaseline"] = "Baseline" ;
-lang["DlgImgAlignBottom"] = "Bottom" ;
-lang["DlgImgAlignMiddle"] = "Middle" ;
-lang["DlgImgAlignRight"] = "Right" ;
-lang["DlgImgAlignTextTop"] = "Text Top" ;
-lang["DlgImgAlignTop"] = "Top" ;
-lang["DlgImgPreview"] = "Preview" ;
-lang["DlgImgMsgWrongExt"] = "Sorry, only the following file types uploads are allowed:\n\n" + config.ImageUploadAllowedExtensions + "\n\nOperation canceled." ;
-lang["DlgImgAlertSelect"] = "Please select an image to upload." ; // NEW
-
-
-// Link Dialog
-lang["DlgLnkWindowTitle"] = "Link" ; // NEW
-lang["DlgLnkURL"] = "URL" ;
-lang["DlgLnkUpload"] = "Upload" ;
-lang["DlgLnkTarget"] = "Target" ;
-lang["DlgLnkTargetNotSet"] = "<Not set>" ;
-lang["DlgLnkTargetBlank"] = "New Window (_blank)" ;
-lang["DlgLnkTargetParent"] = "Parent Window (_parent)" ;
-lang["DlgLnkTargetSelf"] = "Same Window (_self)" ;
-lang["DlgLnkTargetTop"] = "Topmost Window (_top)" ;
-lang["DlgLnkTitle"] = "Title" ;
-lang["DlgLnkBtnUpload"] = "Send it to the Server" ;
-lang["DlgLnkBtnBrowse"] = "Browse Server" ;
-lang["DlgLnkMsgWrongExtA"] = "Sorry, only the following file types uploads are allowed:\n\n" + config.LinkUploadAllowedExtensions + "\n\nOperation canceled." ;
-lang["DlgLnkMsgWrongExtD"] = "Sorry, the following file types uploads are not allowed:\n\n" + config.LinkUploadDeniedExtensions + "\n\nOperation canceled." ;
-
-// Color Dialog
-lang["DlgColorTitle"] = "Select Color" ;
-lang["DlgColorBtnClear"] = "Clear" ;
-lang["DlgColorHighlight"] = "Highlight" ;
-lang["DlgColorSelected"] = "Selected" ;
-
-// Smiley Dialog
-lang["DlgSmileyTitle"] = "Insert a Smiley" ;
-
-// Special Character Dialog
-lang["DlgSpecialCharTitle"] = "Insert Special Character" ;
-
-// Table Dialog
-lang["DlgTableTitleInsert"] = "Insert Table" ;
-lang["DlgTableTitleEdit"] = "Edit Table" ;
-lang["DlgTableRows"] = "Rows" ;
-lang["DlgTableColumns"] = "Columns" ;
-lang["DlgTableBorder"] = "Border size" ;
-lang["DlgTableAlign"] = "Alignment" ;
-lang["DlgTableAlignNotSet"] = "<Not set>" ;
-lang["DlgTableAlignLeft"] = "Left" ;
-lang["DlgTableAlignCenter"] = "Center" ;
-lang["DlgTableAlignRight"] = "Right" ;
-lang["DlgTableWidth"] = "Width" ;
-lang["DlgTableWidthPx"] = "pixels" ;
-lang["DlgTableWidthPc"] = "percent" ;
-lang["DlgTableHeight"] = "Height" ;
-lang["DlgTableCellSpace"] = "Cell spacing" ;
-lang["DlgTableCellPad"] = "Cell padding" ;
-lang["DlgTableCaption"] = "Caption" ;
-
-// Table Cell Dialog
-lang["DlgCellTitle"] = "Cell Properties" ;
-lang["DlgCellWidth"] = "Width" ;
-lang["DlgCellWidthPx"] = "pixels" ;
-lang["DlgCellWidthPc"] = "percent" ;
-lang["DlgCellHeight"] = "Height" ;
-lang["DlgCellWordWrap"] = "Word Wrap" ;
-lang["DlgCellWordWrapNotSet"] = "<Not set>" ;
-lang["DlgCellWordWrapYes"] = "Yes" ;
-lang["DlgCellWordWrapNo"] = "No" ;
-lang["DlgCellHorAlign"] = "Horizontal Alignment" ;
-lang["DlgCellHorAlignNotSet"] = "<Not set>" ;
-lang["DlgCellHorAlignLeft"] = "Left" ;
-lang["DlgCellHorAlignCenter"] = "Center" ;
-lang["DlgCellHorAlignRight"] = "Right" ;
-lang["DlgCellVerAlign"] = "Vertical Alignment" ;
-lang["DlgCellVerAlignNotSet"] = "<Not set>" ;
-lang["DlgCellVerAlignTop"] = "Top" ;
-lang["DlgCellVerAlignMiddle"] = "Middle" ;
-lang["DlgCellVerAlignBottom"] = "Bottom" ;
-lang["DlgCellVerAlignBaseline"] = "Baseline" ;
-lang["DlgCellRowSpan"] = "Rows Span" ;
-lang["DlgCellCollSpan"] = "Columns Span" ;
-lang["DlgCellBackColor"] = "Background Color" ;
-lang["DlgCellBorderColor"] = "Border Color" ;
-lang["DlgCellBtnSelect"] = "Select..." ;
-
-// About Dialog
-lang["DlgAboutVersion"] = "version" ;
-lang["DlgAboutLicense"] = "Licensed under the terms of the GNU Lesser General Public License" ;
-lang["DlgAboutInfo"] = "For further information go to" ;
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/lang/en.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/fckeditor.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/fckeditor.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/fckeditor.html (nonexistent)
@@ -1,121 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fckeditor.html: Main page that holds the editor.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<html>
- <head>
- <title>FCKeditor</title>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
- <link href="css/fck_editor.css" type="text/css" rel="stylesheet">
- <!-- Constants -->
- <script language="javascript" src="js/dhtmled.js"></script>
- <!-- Includes -->
- <script language="javascript" src="js/fck_config.js"></script>
- <script language="javascript" src="/fckeditor.config.js"></script>
- <script language="javascript" src="js/fck_init.js"></script>
- <script language="javascript" src="js/fck_lang.js"></script>
- <script language="javascript" src="js/fck_events.js"></script>
- <script language="javascript" src="js/fck_toolbar.js"></script>
- <script language="javascript" src="js/fck_toolbaritems.js"></script>
- <script language="javascript" src="js/fck_xhtml.js"></script>
- <script language="javascript" src="js/fck_actions.js"></script>
- <script language="javascript" src="js/fck_displaychange.js"></script>
- <script language="javascript" src="js/fck_contextmenu.js"></script>
- <script language="javascript" src="/fckeditor.custom.js"></script>
- <script language="javascript" src="js/fck_editor.js"></script>
- <!-- DEC Events -->
- <script language="javascript" event="DocumentComplete" for="objContent">
-<!--
-initEditor() ;
-//-->
- </script>
- <script language="javascript" event="DisplayChanged" for="objContent">
-<!--
-events.fireEvent('onEditing') ;
-//-->
- </script>
- <script language="javascript" event="ShowContextMenu" for="objContent">
-<!--
-showContextMenu() ;
-//-->
- </script>
- <script language="javascript" event="ContextMenuAction(itemIndex)" for="objContent">
-<!--
-contextMenuAction(itemIndex) ;
-//-->
- </script>
- <script language="javascript" event="onerror(msg, url, line)" for="window">
-<!--
-return true ; // To hide errors
-//return false ; // To show errors
-//-->
- </script>
- <script language="javascript" event="onload" for="window">
-<!--
-if (window == window.top)
- alert('You should not call "fckeditor.html" directly. Please see the "_test" directory for samples on how to use the editor.' ) ;
-//-->
- </script>
- </head>
- <body bottommargin="0" leftmargin="0" topmargin="0" rightmargin="0">
- <table height="100%" cellspacing="0" cellpadding="0" width="100%">
- <tr id="trEditor">
- <td>
- <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
- <tr>
- <td>
- <div id="divToolbar"></div>
- </td>
- </tr>
- <tr height="100%">
- <td>
- <object id="objContent" class="EditorArea" classid="clsid:2D360201-FFF5-11D1-8D03-00A0C959BC0A" viewastext>
- <param name="ActivateApplets" value="0">
- <param name="ActivateActiveXControls" value="0">
- <param name="ActivateDTCs" value="1">
- <param name="ShowDetails" value="0">
- <param name="ShowBorders" value="0">
- <param name="Appearance" value="1">
- <param name="Scrollbars" value="1">
- <param name="ScrollbarAppearance" value="1">
- <param name="SourceCodePreservation" value="1">
- <param name="AbsoluteDropMode" value="0">
- <param name="SnapToGrid" value="0">
- <param name="SnapToGridX" value="50">
- <param name="SnapToGridY" value="50">
- <param name="UseDivOnCarriageReturn" value="1">
- </object>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr id="trSource" style="DISPLAY: none">
- <td>
- <table border="0" cellpadding="0" cellspacing="0" height="100%" width="100%">
- <tr>
- <td><div id="divToolbarSource"></div>
- </td>
- </tr>
- <tr height="100%">
- <td><textarea class="EditorArea" id="txtSource"></textarea></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <div id="divTemp" style="VISIBILITY: hidden; OVERFLOW: hidden; POSITION: absolute; WIDTH: 1px; HEIGHT: 1px"></div>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/fckeditor.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/css/fck_editor.css
===================================================================
--- branches/RC/admin/editor/FCKeditor/css/fck_editor.css (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/css/fck_editor.css (nonexistent)
@@ -1,82 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_editor.css: Styles used by the editor structure (toolbar, etc).
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-BODY, TD, SELECT, INPUT
-{
- font-size: 11px;
- font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
-}
-
-SELECT, INPUT
-{
- vertical-align: middle;
-}
-
-.Toolbar
-{
- background-color: #efefde;
-}
-
-.ButtonOut
-{
- filter: alpha(opacity=70);
- border-right: #efefde 1px solid;
- border-top: #efefde 1px solid;
- border-left: #efefde 1px solid;
- border-bottom: #efefde 1px solid;
-}
-
-.ButtonOver
-{
- background-color: #c1d2ee;
- border-right: #316ac5 1px solid;
- border-top: #316ac5 1px solid;
- border-left: #316ac5 1px solid;
- border-bottom: #316ac5 1px solid;
-}
-
-.ButtonOff
-{
- filter: gray() alpha(opacity=30);
- border-right: #efefde 1px solid;
- border-top: #efefde 1px solid;
- border-left: #efefde 1px solid;
- border-bottom: #efefde 1px solid;
-}
-
-.ButtonHidden
-{
- visibility: hidden;
-}
-
-.EditorBody
-{
- margin-top: 5px;
- margin-bottom: 5px;
- margin-right: 5px;
- margin-left: 5px;
-}
-
-.EditorArea
-{
- padding-right: 0px;
- padding-left: 0px;
- padding-bottom: 0px;
- margin: 0px;
- width: 100%;
- padding-top: 0px;
- height: 100%;
-}
Property changes on: branches/RC/admin/editor/FCKeditor/css/fck_editor.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/css/fck_editorarea.css
===================================================================
--- branches/RC/admin/editor/FCKeditor/css/fck_editorarea.css (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/css/fck_editorarea.css (nonexistent)
@@ -1,54 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_editorarea.css: Styles used in the editor area. The final user
- * should customize it for his web site needs.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-body
-{
- font-size: 12px;
- font-family: Arial;
-}
-
-/* To avoid automatic paragraphs spaces: */
-/*
-P, UL, OL { margin-top: 0px; margin-bottom: 0px; }
-*/
-
-.MainHeader
-{
- font-weight: bold;
- text-transform: uppercase;
- color: #990066;
-}
-
-.BlueTitle
-{
- font-weight: bold;
- text-transform: capitalize;
- color: #0099cc;
-}
-
-.CenteredTitle
-{
- font-weight: bold;
- color: #ff0033;
- text-align: center;
-}
-
-.AlexTest
-{
- text-decoration: underline;
- color: red;
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/css/fck_editorarea.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/css/fck_editorarea.php
===================================================================
--- branches/RC/admin/editor/FCKeditor/css/fck_editorarea.php (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/css/fck_editorarea.php (nonexistent)
@@ -1,103 +0,0 @@
-<?php
-##############################################################
-##In-portal ##
-##############################################################
-## In-portal ##
-## Intechnic Corporation ##
-## All Rights Reserved, 1998-2002 ##
-## ##
-## No portion of this code may be copied, reproduced or ##
-## otherwise redistributed without proper written ##
-## consent of Intechnic Corporation. Violation will ##
-## result in revocation of the license and support ##
-## privileges along maximum prosecution allowed by law. ##
-##############################################################
-
-// OLD STARTUP
-if( !(isset($pathtoroot) && $pathtoroot) )
-{
- $path=dirname(realpath(__FILE__));
- if(strlen($path))
- {
- /* determine the OS type for path parsing */
- $pos = strpos($path,":");
- if ($pos === false)
- {
- $gOS_TYPE="unix";
- $pathchar = "/";
- }
- else
- {
- $gOS_TYPE="win";
- $pathchar="\\";
- }
- $p = $path.$pathchar;
- /*Start looking for the root flag file */
- if( !isset($pathtoroot) ) $pathtoroot = '';
- while(!strlen($pathtoroot) && strlen($p))
- {
- $sub = substr($p,strlen($pathchar)*-1);
- if($sub==$pathchar)
- {
- $filename = $p."root.flg";
- }
- else
- $filename = $p.$pathchar."root.flg";
- if(file_exists($filename))
- {
- $pathtoroot = $p;
- }
- else
- {
- $parent = realpath($p.$pathchar."..".$pathchar);
- if($parent!=$p)
- {
- $p = $parent;
- }
- else
- $p = "";
- }
- }
- if( !(isset($pathtoroot) && $pathtoroot) )
- $pathtoroot = ".".$pathchar;
- }
- else
- {
- $pathtoroot = ".".$pathchar;
- }
-}
-
-$sub = substr($pathtoroot,strlen($pathchar)*-1);
-if($sub!=$pathchar)
-{
- $pathtoroot = $pathtoroot.$pathchar;
-}
-//echo $pathtoroot;
-
-require_once($pathtoroot."kernel/startup.php");
-
-$csspath = $pathtoroot."themes/";
-
-$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-if(!is_object($CurrentTheme))
-{
- $CurrentTheme = $objThemes->GetItem($m_var_list["theme"]);
- $theme = $CurrentTheme->Get("Name");
-}
-if(is_object($CurrentTheme))
-{
-
-}
-else
-{
- $theme = "default";
-}
-$csspath .= $theme."/incs/style.css";
-//echo "Reading $csspath <br>\n";
-
-if(file_exists($csspath))
-{
- readfile($csspath);
-}
-
-?>
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/css/fck_editorarea.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/css/fck_dialog.css
===================================================================
--- branches/RC/admin/editor/FCKeditor/css/fck_dialog.css (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/css/fck_dialog.css (nonexistent)
@@ -1,42 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_dialog.css: Dialog boxes base CSS.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-body
-{
- background-color: buttonface;
-}
-
-body, td, input, select, textarea, button
-{
- font-size: 11px;
- font-family: 'Microsoft Sans Serif' , Tahoma, Arial, Verdana, Sans-Serif;
-}
-
-.ImagePreviewArea
-{
- border-right: #000000 1px solid;
- padding-right: 5px;
- border-top: #000000 1px solid;
- padding-left: 5px;
- padding-bottom: 5px;
- overflow: scroll;
- border-left: #000000 1px solid;
- width: 100%;
- padding-top: 5px;
- border-bottom: #000000 1px solid;
- height: 100%;
- background-color: #ffffff;
-}
Property changes on: branches/RC/admin/editor/FCKeditor/css/fck_dialog.css
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_tablecell.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_tablecell.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_tablecell.html (nonexistent)
@@ -1,252 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_tablecell.html: Cell properties dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<html>
- <head>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link href="../css/fck_dialog.css" type="text/css" rel="stylesheet">
- <script language="javascript" src="../js/dhtmled.js"></script>
- <script language="javascript" src="../js/fck_events.js"></script>
- <script language="javascript" src="../js/fck_toolbar.js"></script>
- <script language="javascript">
-<!--
-document.write("<title>" + dialogArguments.lang["DlgCellTitle"] + "</title>") ;
-
-// Array of selected Cells
-var aTD = new Array() ;
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-
- // Gets the document DOM
- var oDOM = dialogArguments.objContent.DOM ;
- var oRange = oDOM.selection.createRange() ;
-
- var oParent = oRange.parentElement() ;
-
- while (oParent && oParent.tagName != "td" && oParent.tagName != "TABLE")
- oParent = oParent.parentNode ;
-
- if ( oParent.tagName == "td" )
- aTD[0] = oParent ;
- else if ( oParent.tagName == "TABLE" )
- {
- // Loops throw all cells cheking if the selection, or part of it, is inside the cell
- // and then add it to the selectec cells collection
- for (i = 0 ; i < oParent.cells.length ; i++)
- {
- var oCellRange = oDOM.selection.createRange() ;
- oCellRange.moveToElementText(oParent.cells[i]) ;
- if ( oRange.inRange( oCellRange )
- || ( oRange.compareEndPoints('StartToStart',oCellRange) >= 0 && oRange.compareEndPoints('StartToEnd',oCellRange) <= 0 )
- || ( oRange.compareEndPoints('EndToStart',oCellRange) >= 0 && oRange.compareEndPoints('EndToEnd',oCellRange) <= 0 ) )
- {
- aTD[aTD.length] = oParent.cells[i] ;
- }
- }
- }
-
- if (aTD[0])
- {
- var iWidth = aTD[0].width ;
-
- if (iWidth.indexOf('%') >= 0)
- {
- iWidth = iWidth.substr(0,iWidth.length - 1) ;
- selWidthType.value = "percent" ;
- }
-
- txtWidth.value = iWidth ;
- txtHeight.value = aTD[0].height ;
- selWordWrap.value = ! aTD[0].noWrap ;
- selHAlign.value = aTD[0].align ;
- selVAlign.value = aTD[0].vAlign ;
- txtRowSpan.value = aTD[0].rowSpan ;
- txtCollSpan.value = aTD[0].colSpan ;
- txtBackColor.value = aTD[0].bgColor ;
- txtBorderColor.value = aTD[0].borderColor ;
- cmbFontStyle.value = aTD[0].className ;
- }
-}
-
-function ok()
-{
- for( i = 0 ; i < aTD.length ; i++ )
- {
- if (txtWidth.value != "") aTD[i].width = txtWidth.value + (selWidthType.value == "percent" ? "%" : "") ; else aTD[i].removeAttribute("width") ;
- if (txtHeight.value != "") aTD[i].height = txtHeight.value ; else aTD[i].removeAttribute("height") ;
- if (selWordWrap.value != "") aTD[i].noWrap = selWordWrap.value == "false" ; else aTD[i].removeAttribute("noWrap") ;
- if (selHAlign.value != "") aTD[i].align = selHAlign.value ; else aTD[i].removeAttribute("align") ;
- if (selVAlign.value != "") aTD[i].vAlign = selVAlign.value ; else aTD[i].removeAttribute("vAlign") ;
- if (txtRowSpan.value != "") aTD[i].rowSpan = txtRowSpan.value ; else aTD[i].removeAttribute("rowSpan") ;
- if (txtCollSpan.value != "") aTD[i].colSpan = txtCollSpan.value ; else aTD[i].removeAttribute("colSpan") ;
- if (txtBackColor.value != "") aTD[i].bgColor = txtBackColor.value ; else aTD[i].removeAttribute("bgColor") ;
- if (txtBorderColor.value != "") aTD[i].borderColor = txtBorderColor.value ; else aTD[i].removeAttribute("borderColor") ;
- if (cmbFontStyle.value != "") aTD[i].className = cmbFontStyle.value ; else aTD[i].removeAttribute("className") ;
- }
-
- cancel() ;
-}
-
-// Fired when the user press the CANCEL button.
-function cancel()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-function SelectBackColor()
-{
- var sColor = SelectColor() ;
- if (sColor) txtBackColor.value = sColor ;
-}
-
-function SelectBorderColor()
-{
- var sColor = SelectColor() ;
- if (sColor) txtBorderColor.value = sColor ;
-}
-
-function SelectColor()
-{
- return showModalDialog("fck_selcolor.html", dialogArguments, "dialogWidth:370px;dialogHeight:240px;help:no;scroll:no;status:no") ;
-}
-
-function IsDigit()
-{
- return ((event.keyCode >= 48) && (event.keyCode <= 57))
-}
-
-
-//-->
- </script>
- </head>
- <body bottommargin="5" leftmargin="15" topmargin="5" rightmargin="15" onload="setDefaults()">
- <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="100%">
- <tr>
- <td>
- <table cellSpacing="1" cellPadding="1" width="100%" border="0">
- <tr>
- <td>
- <table cellSpacing="0" cellPadding="0" border="0">
- <tr>
- <td nowrap><span fckLang="DlgCellWidth">Width</span>:</td>
- <td>&nbsp;<input onkeypress="event.returnValue=IsDigit();" id="txtWidth" type="text" maxLength="4"
- size="3" name="txtWidth">&nbsp;<select id="selWidthType" name="selWidthType">
- <option fckLang="DlgCellWidthPx" value="pixels" selected>pixels</option>
- <option fckLang="DlgCellWidthPc" value="percent">percent</option>
- </select></td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellHeight">Height</span>:</td>
- <td>&nbsp;<INPUT id="txtHeight" type="text" maxLength="4" size="3" name="txtHeight" onkeypress="event.returnValue=IsDigit();">&nbsp;<span fckLang="DlgCellWidthPx">pixels</span></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellWordWrap">Word Wrap</span>:</td>
- <td>&nbsp;<select id="selWordWrap" name="selAlignment">
- <option fckLang="DlgCellWordWrapNotSet" value="" selected>&lt;Not set&gt;</option>
- <option fckLang="DlgCellWordWrapYes" value="true">Yes</option>
- <option fckLang="DlgCellWordWrapNo" value="false">No</option>
- </select></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellHorAlign">Horizontal Alignment</span>:</td>
- <td>&nbsp;<select id="selHAlign" name="selAlignment">
- <option fckLang="DlgCellHorAlignNotSet" value="" selected>&lt;Not set&gt;</option>
- <option fckLang="DlgCellHorAlignLeft" value="left">Left</option>
- <option fckLang="DlgCellHorAlignCenter" value="center">Center</option>
- <option fckLang="DlgCellHorAlignRight" value="right">Right</option>
- </select></td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellVerAlign">Vertival Alignement</span>:</td>
- <td>&nbsp;<select id="selVAlign" name="selAlignment">
- <option fckLang="DlgCellVerAlignNotSet" value="" selected>&lt;Not set&gt;</option>
- <option fckLang="DlgCellVerAlignTop" value="top">Top</option>
- <option fckLang="DlgCellVerAlignMiddle" value="middle">Middle</option>
- <option fckLang="DlgCellVerAlignBottom" value="bottom">Bottom</option>
- <option fckLang="DlgCellVerAlignBaseline" value="baseline">Baseline</option>
- </select></td>
- </tr>
- </table>
- </td>
- <td>&nbsp;&nbsp;&nbsp;</td>
- <td align="right">
- <table cellSpacing="0" cellPadding="0" border="0">
- <tr>
- <td nowrap><span fckLang="DlgCellRowSpan">Rows Span</span>:</td>
- <td>&nbsp; <input onkeypress="event.returnValue=IsDigit();" id="txtRowSpan" type="text" maxLength="3"
- size="2" name="txtRows"></td>
- <td></td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellCollSpan">Columns Span</span>:</td>
- <td>&nbsp; <input onkeypress="event.returnValue=IsDigit();" id="txtCollSpan" type="text" maxLength="2"
- size="2" name="txtColumns"></td>
- <td></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellBackColor">Background Color</span>:</td>
- <td>&nbsp;<input id="txtBackColor" type="text" size="8" name="txtCellSpacing"></td>
- <td>&nbsp; <input type="button" fckLang="DlgCellBtnSelect" value="Select..." onclick="SelectBackColor()"></td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgCellBorderColor">Border Color</span>:</td>
- <td>&nbsp;<input id="txtBorderColor" type="text" size="8" name="txtCellPadding"></td>
- <td>&nbsp; <input type="button" fckLang="DlgCellBtnSelect" value="Select..." onclick="SelectBorderColor()"></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td><span fcklang="DlgClassName">Class Name</span>:</td>
- <td>
- <script language="javascript">
- var tbstyles = new TBCombo( "FontStyle" , "null" , "", dialogArguments.config.StyleNames, dialogArguments.config.StyleValues, 'CheckStyle("cmbFontStyle")');
- document.write(tbstyles.GetHTML());
- </script></td>
- <td>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="center"><BR>
- <input type="button" fckLang="DlgBtnOK" value="OK" onclick="ok();" style="WIDTH: 100px">&nbsp; <input type="button" fckLang="DlgBtnCancel" value="Cancel" onclick="cancel();">
- </td>
- </tr>
- </table>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_tablecell.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_link.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_link.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_link.html (nonexistent)
@@ -1,315 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_link.html: Link dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<html>
- <head>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link rel="stylesheet" type="text/css" href="../css/fck_dialog.css">
- <script language="javascript" src="../js/dhtmled.js"></script>
- <script language="javascript">
-<!--
-// Get browsing configuration
-var bCanBrowse = dialogArguments.config.LinkBrowser ;
-var sBrowseURL = dialogArguments.config.LinkBrowserURL ;
-var iBrowseWindowWidth = dialogArguments.config.LinkBrowserWindowWidth ;
-var iBrowseWindowHeight = dialogArguments.config.LinkBrowserWindowHeight ;
-
-// Get upload configuration
-var bCanUpload = dialogArguments.config.LinkUpload && dialogArguments.BrowserInfo.IsIE55OrMore ;
-var sUploadURL = dialogArguments.config.LinkUploadURL ;
-var iUploadWindowWidth = dialogArguments.config.LinkUploadWindowWidth ;
-var iUploadWindowHeight = dialogArguments.config.LinkUploadWindowHeight ;
-var sUploadAllowedExtensions = dialogArguments.config.LinkUploadAllowedExtensions ;
-var sUploadDeniedExtensions = dialogArguments.config.LinkUploadDeniedExtensions ;
-
-// Get target configuration
-var bCanTarget = dialogArguments.config.LinkShowTargets ;
-var sTargets = dialogArguments.config.LinkTargets ;
-var sDefaultTarget = dialogArguments.config.LinkDefaultTarget ;
-
-// Gets the document DOM
-var oDOM = dialogArguments.objContent.DOM ;
-
-document.write("<title>" + dialogArguments.lang["DlgLnkWindowTitle"] + "</title>") ;
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-
- var oLink = getSelectionLink() ;
-
- if (oLink != null)
- {
- txtURL.value = oLink.getAttribute("href",2) ;
-// txtURL.value = oLink.href ;
- txtTitle.value = oLink.title ;
- selTarget.value = oLink.target ;
- }
-}
-
-function getSelectionLink()
-{
- var oParent ;
- var oRange ;
-
- if (oDOM.selection.type == "Control")
- {
- oRange = oDOM.selection.createRange() ;
- for ( i = 0 ; i < oRange.length ; i++ )
- {
- if (oRange(i).parentNode)
- {
- oParent = oRange(i).parentNode ;
- break ;
- }
- }
- }
- else
- {
- oRange = oDOM.selection.createRange() ;
- oParent = oRange.parentElement() ;
- }
-
- while (oParent && oParent.nodeName != "A")
- {
- oParent = oParent.parentNode ;
- }
-
- if (oParent && oParent.nodeName == "A")
- {
- oDOM.selection.empty() ;
- oRange = oDOM.selection.createRange() ;
- oRange.moveToElementText( oParent ) ;
- oRange.select() ;
-
- return oParent ;
- }
- else
- return null ;
-}
-
-function ok()
-{
- var sUrl = txtURL.value ;
- var sTarget = ( bCanTarget && sTargets.length > 0 ) ? selTarget.value : sDefaultTarget ;
-
- if (sUrl == "")
- dialogArguments.decCommand( DECMD_UNLINK ) ;
- else
- {
- dialogArguments.decCommand( DECMD_HYPERLINK, OLECMDEXECOPT_DONTPROMPTUSER, "javascript:void(0);/*fckeditortemplink*/" ) ;
- for (i = 0 ; i < oDOM.links.length ; i++)
- {
- if ( oDOM.links[i].href == "javascript:void(0);/*fckeditortemplink*/" )
- {
- oDOM.links[i].href = sUrl ;
-
- if ( txtTitle.value == "" )
- oDOM.links[i].removeAttribute("title",0) ;
- else
- oDOM.links[i].title = txtTitle.value ;
-
- if ( sTarget == null || sTarget == "" )
- oDOM.links[i].removeAttribute("target",0) ;
- else
- oDOM.links[i].target = sTarget ;
- }
- }
- }
-
- cancel() ;
-}
-
-// Fired when the user press the CANCEL button.
-function cancel()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-// Fired when the user click in the "Sent it to the Server" button.
-function uploadFile()
-{
- var sFile = frmUpload.FCKeditor_File.value ;
-
- if (sFile == "")
- {
- alert("Please select a file to upload.") ;
- return ;
- }
-
- var sExt = sFile.match( /\.[^\.]*$/ ) ;
- sExt = sExt ? sExt[0].toLowerCase() : "." ;
-
- if ( sUploadAllowedExtensions != "" && sUploadAllowedExtensions != "*" )
- {
- if ( sUploadAllowedExtensions.indexOf( sExt ) < 0 )
- {
- alert( dialogArguments.lang["DlgLnkMsgWrongExtA"] ) ;
- return ;
- }
- }
-
- if ( sUploadDeniedExtensions != "" )
- {
- if ( sUploadDeniedExtensions.indexOf( sExt ) >= 0 )
- {
- alert( dialogArguments.lang["DlgLnkMsgWrongExtD"] ) ;
- return ;
- }
- }
-
- var oWindow = openNewWindow("", "UploadWindow", iUploadWindowWidth, iUploadWindowHeight) ;
- frmUpload.submit() ;
- oWindow.setImage = setImage ;
-}
-
-function browserServer()
-{
- var oWindow = openNewWindow(sBrowseURL, "BrowseWindow", iBrowseWindowWidth, iBrowseWindowHeight) ;
- oWindow.setImage = setImage ;
-}
-
-function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars)
-{
- var iTop = (screen.height - iHeight) / 2 ;
- var iLeft = (screen.width - iWidth) / 2 ;
-
- var sOptions = "toolbar=no" ;
- sOptions += ",width=" + iWidth ;
- sOptions += ",height=" + iHeight ;
- sOptions += ",resizable=" + (bResizable ? "yes" : "no") ;
- sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ;
- sOptions += ",left=" + iLeft ;
- sOptions += ",top=" + iTop ;
-
- var oWindow = window.open(sURL, sName, sOptions)
- oWindow.focus();
-
- return oWindow ;
-}
-
-function setImage(sImageURL)
-{
- txtURL.value = sImageURL ;
-}
-//-->
- </script>
- </head>
- <body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()">
- <table cellspacing="1" cellpadding="1" border="0" width="100%" class="dlg" height="100%">
- <tr>
- <td>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td valign="top"><span fckLang="DlgLnkURL">URL</span><BR>
- <input style="WIDTH: 100%" type="text" id="txtURL">
- <table cellspacing="0" cellpadding="0" width="100%" border="0" style="DISPLAY: none" id="tableUpload">
- <tr>
- <form id="frmUpload" enctype="multipart/form-data" method="post" target="UploadWindow">
- <td><span fckLang="DlgLnkUpload">Upload</span><br>
- <input style="WIDTH: 100%" type="file" name="FCKeditor_File" id="FCKeditor_File">
- </td>
- </tr>
- <tr>
- <td align="right">
- <input id="btnUpload" type="button" fckLang="DlgLnkBtnUpload" value="Send it to the Server"
- onclick="uploadFile();">
- </td>
- </form>
- </tr>
- </table>
- </td>
- <td width="10">&nbsp;&nbsp;&nbsp;</td>
- <td valign="top" width="100">
- <input style="WIDTH: 100%" onclick="ok();" type="button" fckLang="DlgBtnOK" value="Ok">
- <br>
- <input type="button" style="WIDTH: 100%" fckLang="DlgBtnCancel" value="Cancel" onclick="cancel();">
- <br>
- <input type="button" style="DISPLAY: none; WIDTH: 100%" fckLang="DlgLnkBtnBrowse" value="Browse Server"
- onclick="browserServer();" id="btnBrowse">
- </td>
- </tr>
- </table>
- <hr width="100%" color="#000000" size="2">
- <table cellSpacing="0" cellPadding="0" width="100%" border="0">
- <tr>
- <td id="tdTarget" style="DISPLAY: none"><span fckLang="DlgLnkTarget">Target</span><BR>
- <select id="selTarget">
- <option value="" fckLang="DlgLnkTargetNotSet" selected>&lt;Not set&gt;</option>
- </select>
- </td>
- <td width="100%"><span fckLang="DlgLnkTitle">Title</span><br>
- <input id="txtTitle" style="WIDTH: 100%" type="text">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <script language="javascript">
-if ( bCanUpload )
-{
- tableUpload.style.display = "block" ;
- frmUpload.action = sUploadURL ;
-}
-
-if ( bCanBrowse )
- btnBrowse.style.display = "block" ;
-
-if ( bCanTarget && sTargets.length > 0 )
-{
- tdTarget.style.display = "block" ;
-
- // Load the configured targets
- var asTargets = sTargets.split( ';' ) ;
-
- for ( var i = 0 ; i < asTargets.length ; i++ )
- {
- var oOption = document.createElement("OPTION") ;
-
- selTarget.options.add(oOption) ;
-
- var sText ;
-
- switch ( asTargets[i] )
- {
- case "_blank" :
- sText = dialogArguments.lang[ "DlgLnkTargetBlank" ] ;
- break ;
- case "_parent" :
- sText = dialogArguments.lang[ "DlgLnkTargetParent" ] ;
- break ;
- case "_self" :
- sText = dialogArguments.lang[ "DlgLnkTargetSelf" ] ;
- break ;
- case "_top" :
- sText = dialogArguments.lang[ "DlgLnkTargetTop" ] ;
- break ;
- default :
- sText = asTargets[i] ;
- break ;
- }
-
- oOption.innerText = sText ;
- oOption.value = asTargets[i] ;
- }
-
- selTarget.value = sDefaultTarget ;
-}
-</script>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_link.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_table.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_table.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_table.html (nonexistent)
@@ -1,248 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_table.html: Table dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<html>
- <head>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link href="../css/fck_dialog.css" type="text/css" rel="stylesheet">
- <!-- Constants -->
- <script language="javascript" src="../js/dhtmled.js"></script>
- <script language="javascript" src="../js/fck_events.js"></script>
- <script language="javascript" src="../js/fck_toolbar.js"></script>
- <script language="javascript">
-<!--
-// Gets the document DOM
-var oDOM = dialogArguments.objContent.DOM ;
-
-// Gets the table if there is one selected.
-var table ;
-var sel = oDOM.selection.createRange();
-if (oDOM.selection.type != 'Text')
-{
- if (sel.length == 1)
- {
- if (sel.item(0).tagName == "TABLE")
- table = sel.item(0);
- }
-}
-
-// Set the dialog title.
-if (table)
- document.write("<TITLE>" + dialogArguments.lang["DlgTableTitleEdit"] + "</TITLE>") ;
-else
- document.write("<TITLE>" + dialogArguments.lang["DlgTableTitleInsert"] + "</TITLE>") ;
-
-// Fired when the window loading process is finished. It sets the fields with the
-// actual values if a table is selected in the editor.
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-
- if (table)
- {
- txtRows.value = table.rows.length ;
- txtColumns.value = table.rows[0].cells.length ;
-
- // Gets the value from the Width or the Style attribute
- var iWidth = (table.style.width ? table.style.width : table.width ) ;
- var iHeight = (table.style.height ? table.style.height : table.height ) ;
-
- if (iWidth.indexOf('%') >= 0) // Percentual = %
- {
- iWidth = parseInt( iWidth.substr(0,iWidth.length - 1) ) ;
- selWidthType.value = "percent" ;
- }
- else if (iWidth.indexOf('px') >= 0) // Style Pixel = px
- { //
- iWidth = iWidth.substr(0,iWidth.length - 2);
- selWidthType.value = "pixels" ;
- }
-
- if (iHeight.indexOf('px') >= 0) // Style Pixel = px
- iHeight = iHeight.substr(0,iHeight.length - 2);
-
- txtWidth.value = iWidth ;
- txtHeight.value = iHeight ;
- txtBorder.value = table.border ;
- selAlignment.value = table.align ;
- txtCellPadding.value = table.cellPadding ;
- txtCellSpacing.value = table.cellSpacing ;
- //cmbFontStyle.value = table.className ;
-
- if (table.caption) txtCaption.value = table.caption.innerText ;
-
- txtRows.disabled = true ;
- txtColumns.disabled = true ;
- }
-}
-
-// Fired when the user press the OK button
-function ok()
-{
- if (! table)
- {
- var sTableAtt = "" ;
-
- if (txtWidth.value != '') sTableAtt += 'width="' + txtWidth.value + (selWidthType.value == "percent" ? "%" : "") + '"' ;
- if (txtHeight.value != '') sTableAtt += 'height="' + txtHeight.value + '"' ;
- if (txtBorder.value != '') sTableAtt += 'border="' + txtBorder.value + '"' ;
- if (selAlignment.value != '') sTableAtt += 'align="' + selAlignment.value + '"' ;
- if (txtCellSpacing.value != '') sTableAtt += 'cellspacing="' + txtCellSpacing.value + '"' ;
- if (txtCellPadding.value != '') sTableAtt += 'cellpadding="' + txtCellPadding.value + '"' ;
- //if (cmbFontStyle.value != '') sTableAtt += 'class="' + cmbFontStyle.value + '"' ;
-
- var oTableParms = new ActiveXObject("DEInsertTableParam.DEInsertTableParam") ;
-
- if (txtRows.value != '') oTableParms.NumRows = txtRows.value ;
- if (txtColumns.value != '') oTableParms.NumCols = txtColumns.value ;
- if (sTableAtt != '') oTableParms.TableAttrs = sTableAtt ;
- if (txtCaption.value != '') oTableParms.Caption = txtCaption.value ;
-
- dialogArguments.objContent.DOM.selection.clear() ;
- dialogArguments.objContent.ExecCommand(DECMD_INSERTTABLE,OLECMDEXECOPT_DODEFAULT, oTableParms);
- }
- else
- {
- // Removes the Width and Height styles
- if ( table.style.width ) table.style.removeAttribute("width") ;
- if ( table.style.height ) table.style.removeAttribute("height") ;
-
- table.width = txtWidth.value + (selWidthType.value == "percent" ? "%" : "") ;
- table.height = txtHeight.value ;
- table.border = txtBorder.value ;
- table.align = selAlignment.value ;
- table.cellPadding = txtCellPadding.value ;
- table.cellSpacing = txtCellSpacing.value ;
- //table.className = cmbFontStyle.value ;
-
- if (txtCaption.value != '')
- {
- if (! table.caption) table.createCaption() ;
- table.caption.innerText = txtCaption.value ;
- }
-// else
-// table.deleteCaption() ; // TODO: It causes an IE error.
- }
-
- window.close();
-}
-
-// Fired when the user press the CANCEL button.
-function cancel()
-{
- window.close() ;
-}
-
-function IsDigit()
-{
- return ((event.keyCode >= 48) && (event.keyCode <= 57))
-}
-//-->
- </script>
- </head>
- <body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()">
- <table cellSpacing="0" cellPadding="0" width="100%" border="0" height="100%">
- <tr>
- <td>
- <table cellSpacing="1" cellPadding="1" width="100%" border="0">
- <tr>
- <td valign="top">
- <table cellSpacing="0" cellPadding="0" border="0">
- <tr>
- <td><span fckLang="DlgTableRows">Rows</span>:</td>
- <td>&nbsp;<input id="txtRows" type="text" maxLength="3" size="2" value="3" name="txtRows" onkeypress="event.returnValue=IsDigit();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgTableColumns">Columns</span>:</td>
- <td>&nbsp;<input id="txtColumns" type="text" maxLength="2" size="2" value="2" name="txtColumns" onkeypress="event.returnValue=IsDigit();"></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td><span fckLang="DlgTableBorder">Border size</span>:</td>
- <td>&nbsp;<INPUT id="txtBorder" type="text" maxLength="2" size="2" value="1" name="txtBorder" onkeypress="event.returnValue=IsDigit();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgTableAlign">Alignment</span>:</td>
- <td>&nbsp;<select id="selAlignment" name="selAlignment">
- <option fckLang="DlgTableAlignNotSet" value="" selected>&lt;Not set&gt;</option>
- <option fckLang="DlgTableAlignLeft" value="left">Left</option>
- <option fckLang="DlgTableAlignCenter" value="center">Center</option>
- <option fckLang="DlgTableAlignRight" value="right">Right</option>
- </select></td>
- </tr>
- </table>
- </td>
- <td>&nbsp;&nbsp;&nbsp;</td>
- <td align="right" valign="top">
- <table cellSpacing="0" cellPadding="0" border="0">
- <tr>
- <td><span fckLang="DlgTableWidth">Width</span>:</td>
- <td>&nbsp;<input id="txtWidth" type="text" maxLength="4" size="3" value="200" name="txtWidth" onkeypress="event.returnValue=IsDigit();"></td>
- <td>&nbsp;<select id="selWidthType" name="selWidthType">
- <option fckLang="DlgTableWidthPx" value="pixels" selected>pixels</option>
- <option fckLang="DlgTableWidthPc" value="percent">percent</option>
- </select></td>
- </tr>
- <tr>
- <td><span fckLang="DlgTableHeight">Height</span>:</td>
- <td>&nbsp;<INPUT id="txtHeight" type="text" maxLength="4" size="3" name="txtHeight" onkeypress="event.returnValue=IsDigit();"></td>
- <td>&nbsp;<span fckLang="DlgTableWidthPx">pixels</span></td>
- </tr>
- <tr>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgTableCellSpace">Cell spacing</span>:</td>
- <td>&nbsp;<input id="txtCellSpacing" type="text" maxLength="2" size="2" value="1" name="txtCellSpacing"
- onkeypress="event.returnValue=IsDigit();"></td>
- <td>&nbsp;</td>
- </tr>
- <tr>
- <td nowrap><span fckLang="DlgTableCellPad">Cell padding</span>:</td>
- <td>&nbsp;<input id="txtCellPadding" type="text" maxLength="2" size="2" value="1" name="txtCellPadding"
- onkeypress="event.returnValue=IsDigit();"></td>
- <td>&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table1">
- <tr>
- <td><span fckLang="DlgTableCaption">Caption</span>:</td>
- <td>&nbsp;</td>
- <td width="100%">&nbsp;
- <input id="txtCaption" type="text" style="WIDTH: 100%"></td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="middle"">
- <br>
- <input style="WIDTH: 100px" type="button" fckLang="DlgBtnOK" value="OK" onclick="ok();">&nbsp; <input type="button" fckLang="DlgBtnCancel" value="Cancel" onclick="cancel();">
- </td>
- </tr>
- </table>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_table.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_about.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_about.html (nonexistent)
@@ -1,142 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_about.html: About dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<html>
- <head>
- <title>FCKeditor - The Text Editor for Internet</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
- <style type="text/css"> body, td { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px}
- a { color: #d54a00; text-decoration: none }
- a:hover { text-decoration: underline }
- .BackBody { background-color: #DEDBD6 }
- .Bar { background-color: #B5AEAD }
- </style>
- <script language="javascript">
-<!--
-function Close()
-{
- window.close() ;
-}
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-}
-//-->
- </script>
- </head>
- <body bgcolor="#ffffff" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onload="setDefaults()">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
- <tr>
- <td>
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr bgcolor="#b5aead">
- <td><img src="fck_about/spacer.gif" width="10" height="19"></td>
- <td><img src="fck_about/logo_fckeditor_1.gif" width="103" height="19" alt=""></td>
- <td align="right" width="100%">&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td height="100%" valign="top" class="BackBody">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" align="middle">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="fck_about/spacer.gif" width="10" height="60"></td>
- <td valign="top"><img src="fck_about/logo_fckeditor_2.gif" width="196" height="41" alt=""></td>
- <td width="100%" align="right">
- <table width="150" border="0" cellspacing="0" cellpadding="5" bgcolor="#ffffff">
- <tr>
- <td>
- &nbsp;&nbsp;&nbsp;&nbsp;<span fckLang="DlgAboutVersion">version</span> <b>1.4</b></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <table width="80%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td>Copyright (C) 2003-2004 <A href="mailto:fckeditor@fredck.com">Frederico Caldeira Knabben</A>
- <BR>
- <BR>
- <span fckLang="DlgAboutLicense">Licensed under the terms of the GNU Lesser General Public License</span> (<A href="http://www.opensource.org/licenses/lgpl-license.php" target="_blank">http://www.opensource.org/licenses/lgpl-license.php</A>).<BR>
- <BR>
- <span fckLang="DlgAboutInfo">For further information go to</span> <A href="http://www.fredck.com/FCKeditor/" target="_blank">
- http://www.fredck.com/FCKeditor/</A>.
- </td>
- </tr>
- </table>
- <BR>
- <INPUT type="button" fckLang="DlgBtnClose" value="Close" onclick="Close();">
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr height="100%">
- <td class="BackBody" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
- <tr>
- <td height="100%" align="right" valign="bottom">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="fck_about/logo_fredck_top.gif" width="93" height="10" alt=""></td>
- <td><img src="fck_about/spacer.gif" width="10" height="10"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="Bar" align="right">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="right" valign="bottom">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="fck_about/logo_fredck.gif" width="93" height="19" alt=""></td>
- <td><img src="fck_about/spacer.gif" width="10" height="10"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td class="BackBody" align="right" valign="top">
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="right" valign="bottom">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td><img src="fck_about/logo_fredck_bottom.gif" width="93" height="10" alt=""></td>
- <td><img src="fck_about/spacer.gif" width="10" height="10"></td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_flash.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_flash.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_flash.html (nonexistent)
@@ -1,376 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_image.html: Image dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<html>
- <head>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link rel="stylesheet" type="text/css" href="../css/fck_dialog.css">
- <script language="JavaScript">
-// Get browsing configuration
-var bCanBrowse = dialogArguments.config.ImageBrowser ;
-var sBrowseURL = dialogArguments.config.ImageBrowserURL ;
-var iBrowseWindowWidth = dialogArguments.config.ImageBrowserWindowWidth ;
-var iBrowseWindowHeight = dialogArguments.config.ImageBrowserWindowHeight ;
-
-// Get upload configuration
-var bCanUpload = dialogArguments.config.ImageUpload && dialogArguments.BrowserInfo.IsIE55OrMore ;
-var sUploadURL = dialogArguments.config.ImageUploadURL ;
-var iUploadWindowWidth = dialogArguments.config.ImageUploadWindowWidth ;
-var iUploadWindowHeight = dialogArguments.config.ImageUploadWindowHeight ;
-var sUploadAllowedExtensions = dialogArguments.config.ImageUploadAllowedExtensions ;
-
-// Gets the document DOM
-var oDOM = dialogArguments.objContent.DOM ;
-
-// Gets the flash if there is one selected.
-var flash ;
-var image ;
-var sel = oDOM.selection.createRange();
-if (oDOM.selection.type != 'Text')
-{
- if (sel.length == 1)
- {
- if (sel.item(0).tagName == "OBJECT") flash = sel.item(0);
- }
-}
-
-// this var is used to update the existing image
-var flashSource = flash ;
-
-// Gets a copy of the image (for image size purposes)
-/*var flashOriginal ;
-if (flash != null)
-{
- flashOriginal = new Image() ;
- flashOriginal.src = image.src ;
-}
-else
- imageOriginal = null ;*/
-
-// Set the dialog title.
-if (image)
- document.write("<TITLE>" + dialogArguments.lang["DlgImgTitleEdit"] + "</TITLE>") ;
-else
- document.write("<TITLE>" + dialogArguments.lang["DlgImgTitleInsert"] + "</TITLE>") ;
-
-// Get the IMG tag.
-function getImageHtml()
-{
- return '<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" src=\"' + txtURL.value + '\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=\"' + txtWidth.value + '\" height=\"' + txtHeight.value + '\" VIEWASTEXT>' + '<param name=movie value=\"' + txtURL.value + '\">' + '<param name=quality value=high>'
- + '<embed id=\"imgPreview\" src=\"' + txtURL.value + '\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"' + txtWidth.value + '\" height=\"' + txtHeight.value + '\">'
- + '</embed>' ;
- + '</object>' ;
-}
-
-// Returns a formatted image attribute. Used by getImageHtml().
-function attr(name, value)
-{
- if (!value || value == "") return "" ;
- return ' ' + name + '="' + value + '"' ;
-}
-
-// Update any image (the selected or preview one)
-function updateImage(flashTarget)
-{
- /*if (txtURL.value == "")
- flashTarget.style.display = "none" ;
- else
- {
- flashTarget.style.removeAttribute("display") ;
-
- imgTarget.src = txtURL.value ;
- setAttribute(imgTarget, "width" , txtWidth.value) ;
- setAttribute(imgTarget, "height", txtHeight.value) ;
- }*/
-}
-
-function setAttribute(element, attribute, value)
-{
- if (value == null || value == "")
- element.removeAttribute(attribute, 0) ; // 0 = case insensitive
- else
- element.setAttribute(attribute, value, 0) ; // 0 = overwrite
-}
-
-// Fired when any field change to update the preview image.
-function updatePreview()
-{
- updateImage(imgPreview) ;
-}
-
-// Fired when the user press the OK button
-function ok()
-{
- if ( flashSource == null )
- window.returnValue = getImageHtml() ;
- else
- {
- //updateFlash( flashSource ) ;
- window.returnValue = getImageHtml() ;
- }
- window.close() ;
-}
-
-function GetFlash()
-{
- //return '<IMG' + attr("src", "") + attr("alt", "Ciao") + attr("align", "left") + '/>' ;
- window.returnValue = '<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width=\"726\" height=\"161\" VIEWASTEXT>' + '<param name=movie value=\"http://www.newsclick.it/img/FlashCulturaNewsClick1Esempio.swf\">' + '<param name=quality value=high>' + '<embed src=\"http://www.newsclick.it/img/FlashCulturaNewsClick1Esempio.swf\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"726\" height=\"161\">' + '</embed>' + '</object>' ;
-
- window.close() ;
-}
-
-// Fired when the user press the CANCEL button.
-function cancel()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-// Fired when the user load the window. It sets the fields with the
-// actual values if an image is selected in the editor.
-function setDefaults()
-{
- if ( flash != null )
- {
- txtURL.value = flash.getAttribute("src",1)
- txtWidth.value = flash.getAttribute("width",1)
- txtHeight.value = flash.getAttribute("height",1)
- SetFlash() ;
- }
-}
-
-// Fired when the width or height input texts change
-function sizeChanged(axe)
-{
- // Verifies if the aspect ration has to be mantained
- if (imageOriginal && chkLockRatio.checked)
- {
- if ((axe) == "Width")
- {
- if (txtWidth.value != "")
- {
- if (! isNaN(txtWidth.value))
- txtHeight.value = Math.round( imageOriginal.height * ( txtWidth.value / imageOriginal.width ) ) ;
- }
- else
- txtHeight.value = "" ;
- }
- else
- if (txtHeight.value != "")
- {
- if (! isNaN(txtHeight.value))
- txtWidth.value = Math.round( imageOriginal.width * ( txtHeight.value / imageOriginal.height ) ) ;
- }
- else
- txtWidth.value = "" ;
- }
-
- SetFlash() ;
-}
-
-// Fired when the Lock Ratio checkbox is clicked
-function onLockRationClick()
-{
- sizeChanged("Width") ;
-}
-
-// Fired when the Reset Size button is clicked
-function resetSize()
-{
- if (! imageOriginal) return ;
-
- txtWidth.value = imageOriginal.width ;
- txtHeight.value = imageOriginal.height ;
- updatePreview() ;
-}
-
-// Fired when the user click in the "Sent it to the Server" button.
-function uploadFile()
-{
- var sFile = frmUpload.FCKeditor_File.value ;
-
- if (sFile == "")
- {
- alert( dialogArguments.lang["DlgImgAlertSelect"] ) ;
- return ;
- }
-
- var sExt = sFile.match( /\.[^\.]*$/ ) ;
- sExt = sExt ? sExt[0].toLowerCase() : "." ;
-
- if ( sUploadAllowedExtensions.indexOf( sExt ) < 0 )
- {
- alert( dialogArguments.lang["DlgImgMsgWrongExt"] ) ;
- return ;
- }
-
- var oWindow = openNewWindow("", "UploadWindow", iUploadWindowWidth, iUploadWindowHeight) ;
- frmUpload.submit() ;
- oWindow.setImage = setImage ;
-}
-
-function SetFlash()
-{
- var iWidth = txtWidth.value ;
- var iHeight = txtHeight.value ;
- if ( iWidth == "" ) iWidth = 100 ;
- if ( iHeight == "" ) iHeight = 100 ;
-
- var sUrl = txtURL.value ;
-
- var sInnerHtml = '<embed id=\"imgPreview\" src=\"' + sUrl + '\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" width=\"' + iWidth + '\" height=\"' + iHeight + '\">'
- + '</embed>' ;
- //var sInnerHtml = '<embed src=\"http://www.pptie.org/__kboardgeneral/DownloadFile.aspx?FileID=35635\" autostart=\"true\"></embed>' ;
-
- if (sUrl != "")
- flashPreview.innerHTML = sInnerHtml ;
-}
-
-function browserServer()
-{
- var oWindow = openNewWindow(sBrowseURL, "BrowseWindow", iBrowseWindowWidth, iBrowseWindowHeight) ;
- oWindow.setImage = setImage ;
-}
-
-function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars)
-{
- var iTop = (screen.height - iHeight) / 2 ;
- var iLeft = (screen.width - iWidth) / 2 ;
-
- var sOptions = "toolbar=no" ;
- sOptions += ",width=" + iWidth ;
- sOptions += ",height=" + iHeight ;
- sOptions += ",resizable=" + (bResizable ? "yes" : "no") ;
- sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ;
- sOptions += ",left=" + iLeft ;
- sOptions += ",top=" + iTop ;
-
- var oWindow = window.open(sURL, sName, sOptions)
- oWindow.focus();
-
- return oWindow ;
-}
-
-function setImage(sImageURL)
-{
- txtURL.value = sImageURL ;
- SetFlash() ;
-}
- </script>
- </head>
- <!--<body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()">-->
- <body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()">
- <table cellspacing="1" cellpadding="1" border="0" width="100%" class="dlg" height="100%">
- <tr>
- <td>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td valign="top"><span fckLang="DlgImgURL">URL</span><br>
- <input style="WIDTH: 100%" type="text" id="txtURL" onblur="SetFlash();">
- <table cellspacing="0" cellpadding="0" width="100%" border="0" style="DISPLAY: none" id="tableUpload">
- <form id="frmUpload" enctype="multipart/form-data" method="post" target="UploadWindow">
- <tr>
- <td>
- <!--
- <span fckLang="DlgImgUpload">Upload</span><br>
- <input style="WIDTH: 100%" type="file" name="FCKeditor_File" id="FCKeditor_File">
- -->
- <input type="button" style="WIDTH:100%" value="Upload / Select Image" onclick="browserServer();" id="Browwese">
- <input type="hidden" name="FCKeditor_File">
- </td>
- </tr>
- <tr>
- <td align="right">
- <!--
- <input id="btnUpload" type="button" fckLang="DlgImgBtnUpload" value="Send it to the Server"
- onclick="uploadFile();">
- -->
- </td>
- </tr>
- </FORM>
- </table>
- </td>
- <td width="10">&nbsp;&nbsp;&nbsp;
- </td>
- <td valign="top" width="100">
- <input type="button" style="WIDTH: 100%" fckLang="DlgBtnOK" value="OK" onclick="ok();">
- <br>
- <input type="button" style="WIDTH: 100%" fckLang="DlgBtnCancel" value="Cancel" onclick="cancel();">
- <br>
- <input type="hidden" id="btnBrowse" >
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr height="100%">
- <td>
- <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
- <tr>
- <td valign="top">
- <br>
- <table cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td><span fckLang="DlgImgWidth">Width</span>&nbsp;</td>
- <td>
- <input type="text" size="3" id="txtWidth" onkeyup="SetFlash();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgHeight">Height</span>&nbsp;</td>
- <td>
- <input type="text" size="3" id="txtHeight" onkeyup="SetFlash();"></td>
- </tr>
- </table>
- <input type="checkbox" class="CheckBox" checked id="chkLockRatio" onclick="onLockRationClick();">
- <span fckLang="DlgImgLockRatio">Lock Ratio</span>
- <!--
- <br>
- <input type="button" fckLang="DlgBtnResetSize" value="Reset Size" onclick="resetSize();"><br>
- -->
- </td>
- <td>&nbsp;&nbsp;&nbsp;</td>
- <td width="100%">
- <table cellpadding="0" cellspacing="0" height="100%">
- <tr>
- <td><span fckLang="DlgImgPreview">Preview</span></td>
- </tr>
- <tr height="100%">
- <td>
- <input type="hidden" name="imgPreview" value="">
- <div class="ImagePreviewArea" id="flashPreview" style="position:relative;width:480;height:275">
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <script language="javascript">
-<!--
- if (bCanUpload)
- {
- tableUpload.style.display = "block" ;
- frmUpload.action = sUploadURL ;
- }
-
- if (bCanBrowse)
- btnBrowse.style.display = "block" ;
-//-->
-</script>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_flash.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_image.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_image.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_image.html (nonexistent)
@@ -1,440 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_image.html: Image dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<html>
- <head>
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
- <link rel="stylesheet" type="text/css" href="../css/fck_dialog.css">
- <script language="JavaScript">
-// Get browsing configuration
-var bCanBrowse = dialogArguments.config.ImageBrowser ;
-var sBrowseURL = dialogArguments.config.ImageBrowserURL ;
-var iBrowseWindowWidth = dialogArguments.config.ImageBrowserWindowWidth ;
-var iBrowseWindowHeight = dialogArguments.config.ImageBrowserWindowHeight ;
-
-// Get upload configuration
-var bCanUpload = dialogArguments.config.ImageUpload && dialogArguments.BrowserInfo.IsIE55OrMore ;
-var sUploadURL = dialogArguments.config.ImageUploadURL ;
-var iUploadWindowWidth = dialogArguments.config.ImageUploadWindowWidth ;
-var iUploadWindowHeight = dialogArguments.config.ImageUploadWindowHeight ;
-var sUploadAllowedExtensions = dialogArguments.config.ImageUploadAllowedExtensions ;
-
-// Gets the document DOM
-var oDOM = dialogArguments.objContent.DOM ;
-
-// Gets the image if there is one selected.
-var image ;
-var sel = oDOM.selection.createRange();
-if (oDOM.selection.type != 'Text')
-{
- if (sel.length == 1)
- {
- if (sel.item(0).tagName == "IMG") image = sel.item(0);
- }
-}
-
-// this var is used to update the existing image
-var imageSource = image ;
-
-// Gets a copy of the image (for image size purposes)
-var imageOriginal ;
-if (image != null)
-{
- imageOriginal = new Image() ;
- imageOriginal.src = image.src ;
-}
-else
- imageOriginal = null ;
-
-// Set the dialog title.
-if (image)
- document.write("<TITLE>" + dialogArguments.lang["DlgImgTitleEdit"] + "</TITLE>") ;
-else
- document.write("<TITLE>" + dialogArguments.lang["DlgImgTitleInsert"] + "</TITLE>") ;
-
-// Get the IMG tag.
-function getImageHtml()
-{
- return '<IMG'
- + attr("src", txtURL.value)
- + attr("alt", txtAlt.value)
- + attr("align", cmbAlign[cmbAlign.selectedIndex].value)
- + ((txtWidth.value) ? attr("width" , txtWidth.value) : "")
- + ((txtHeight.value) ? attr("height", txtHeight.value) : "")
- + ((txtVSpace.value) ? attr("vspace", txtVSpace.value) : "")
- + ((txtHSpace.value) ? attr("hspace", txtHSpace.value) : "")
- + ((txtBorder.value) ? attr("border", txtBorder.value) : attr("border",0))
- + '/>' ;
-}
-
-// Returns a formatted image attribute. Used by getImageHtml().
-function attr(name, value)
-{
- if (!value || value == "") return "" ;
- return ' ' + name + '="' + value + '"' ;
-}
-
-// Update any image (the selected or preview one)
-function updateImage(imgTarget)
-{
- if (txtURL.value == "")
- imgTarget.style.display = "none" ;
- else
- {
- imgTarget.style.removeAttribute("display") ;
-
- imgTarget.src = txtURL.value ;
- setAttribute(imgTarget, "alt" , txtAlt.value) ;
- setAttribute(imgTarget, "width" , txtWidth.value) ;
- setAttribute(imgTarget, "height", txtHeight.value) ;
- setAttribute(imgTarget, "vspace", txtVSpace.value) ;
- setAttribute(imgTarget, "hspace", txtHSpace.value) ;
- setAttribute(imgTarget, "border", txtBorder.value) ;
- setAttribute(imgTarget, "align" , cmbAlign.options[ cmbAlign.selectedIndex ].value) ;
- }
-}
-
-function setAttribute(element, attribute, value)
-{
- if (value == null || value == "")
- element.removeAttribute(attribute, 0) ; // 0 = case insensitive
- else
- element.setAttribute(attribute, value, 0) ; // 0 = overwrite
-}
-
-// Fired when any field change to update the preview image.
-function updatePreview()
-{
- updateImage(imgPreview) ;
-}
-
-// Fired when the user press the OK button
-function ok()
-{
- if ( txtURL.value.length == 0 )
- {
- cancel() ;
- return ;
- }
-
- if ( imageSource == null )
- window.returnValue = getImageHtml() ;
- else
- {
- updateImage( imageSource ) ;
- window.returnValue = null ;
- }
- window.close() ;
-}
-
-// Fired when the user press the CANCEL button.
-function cancel()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-// Fired when the user load the window. It sets the fields with the
-// actual values if an image is selected in the editor.
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-
- if (image == null) return ;
-
- if (image.getAttribute("src",2) != null) txtURL.value = image.getAttribute("src",2) ;
- if (image.getAttribute("alt",2) != null) txtAlt.value = image.getAttribute("alt",2) ;
- if (image.getAttribute("width",2) != null) txtWidth.value = image.getAttribute("width",2) ;
- if (image.getAttribute("height",2) != null) txtHeight.value = image.getAttribute("height",2) ;
- if (image.getAttribute("vspace",2) != null) txtVSpace.value = image.getAttribute("vspace",2) > 0 ? image.getAttribute("vspace",2) : "" ;
- if (image.getAttribute("hspace",2) != null) txtHSpace.value = image.getAttribute("hspace",2) > 0 ? image.getAttribute("hspace",2) : "" ;
- if (image.getAttribute("border",2) != null) txtBorder.value = image.getAttribute("border",2) ;
-
- if (image.getAttribute("align") != null)
- {
- for (var i = 0 ; i < cmbAlign.options.length ; i++)
- {
- if (cmbAlign.options[i].value == image.getAttribute("align"))
- {
- cmbAlign.options[i].selected = true ;
- break ;
- }
- }
- }
-
- updatePreview() ;
-}
-
-// Fired when the width or height input texts change
-function sizeChanged(axe)
-{
- // Verifies if the aspect ration has to be mantained
- if (imageOriginal && chkLockRatio.checked)
- {
- if ((axe) == "Width")
- {
- if (txtWidth.value != "")
- {
- if (! isNaN(txtWidth.value))
- txtHeight.value = Math.round( imageOriginal.height * ( txtWidth.value / imageOriginal.width ) ) ;
- }
- else
- txtHeight.value = "" ;
- }
- else
- if (txtHeight.value != "")
- {
- if (! isNaN(txtHeight.value))
- txtWidth.value = Math.round( imageOriginal.width * ( txtHeight.value / imageOriginal.height ) ) ;
- }
- else
- txtWidth.value = "" ;
- }
-
- updatePreview() ;
-}
-
-// Fired when the Lock Ratio checkbox is clicked
-function onLockRationClick()
-{
- sizeChanged("Width") ;
-}
-
-// Fired when the Reset Size button is clicked
-function resetSize()
-{
- if (! imageOriginal) return ;
-
- txtWidth.value = imageOriginal.width ;
- txtHeight.value = imageOriginal.height ;
- updatePreview() ;
-}
-
-// Fired when the user click in the "Sent it to the Server" button.
-function uploadFile()
-{
- var sFile = frmUpload.FCKeditor_File.value ;
-
- if (sFile == "")
- {
- alert( dialogArguments.lang["DlgImgAlertSelect"] ) ;
- return ;
- }
-
- var sExt = sFile.match( /\.[^\.]*$/ ) ;
- sExt = sExt ? sExt[0].toLowerCase() : "." ;
-
- if ( sUploadAllowedExtensions.indexOf( sExt ) < 0 )
- {
- alert( dialogArguments.lang["DlgImgMsgWrongExt"] ) ;
- return ;
- }
-
- var oWindow = openNewWindow("", "UploadWindow", iUploadWindowWidth, iUploadWindowHeight) ;
- frmUpload.submit() ;
- oWindow.setImage = setImage ;
-}
-
-function browserServer()
-{
- var oWindow = openNewWindow(sBrowseURL, "BrowseWindow", iBrowseWindowWidth, iBrowseWindowHeight) ;
- oWindow.setImage = setImage ;
-}
-
-function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars)
-{
- var iTop = (screen.height - iHeight) / 2 ;
- var iLeft = (screen.width - iWidth) / 2 ;
-
- var sOptions = "toolbar=no" ;
- sOptions += ",width=" + iWidth ;
- sOptions += ",height=" + iHeight ;
- sOptions += ",resizable=" + (bResizable ? "yes" : "no") ;
- sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ;
- sOptions += ",left=" + iLeft ;
- sOptions += ",top=" + iTop ;
-
- var oWindow = window.open(sURL, sName, sOptions)
- oWindow.focus();
-
- return oWindow ;
-}
-
-function setImage(sImageURL)
-{
- if (image != null)
- {
- image = new Image() ;
- image.src = sImageURL ;
- }
-
- imageOriginal = new Image() ;
- imageOriginal.onload = resetSize ;
- imageOriginal.src = sImageURL ;
-
- txtURL.value = sImageURL ;
- updatePreview() ;
-}
- </script>
- </head>
- <body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()">
- <table cellspacing="1" cellpadding="1" border="0" width="100%" class="dlg" height="100%">
- <tr>
- <td>
- <table cellspacing="0" cellpadding="0" width="100%" border="0">
- <tr>
- <td valign="top"><span fckLang="DlgImgURL">URL</span><br>
- <input style="WIDTH: 100%" type="text" id="txtURL" onblur="updatePreview();">
- <table cellspacing="0" cellpadding="0" width="100%" border="0" style="DISPLAY: none" id="tableUpload">
- <tr>
- <form id="frmUpload" enctype="multipart/form-data" method="post" target="UploadWindow">
- <td><span fckLang="DlgImgUpload">Upload</span><br>
- <input style="WIDTH: 100%" type="file" name="FCKeditor_File" id="FCKeditor_File">
- </td>
- </tr>
- <tr>
- <td align="right">
- <input id="btnUpload" type="button" fckLang="DlgImgBtnUpload" value="Send it to the Server"
- onclick="uploadFile();">
- </td>
- </FORM>
- </tr>
- </table>
- </td>
- <td width="10">&nbsp;&nbsp;&nbsp;
- </td>
- <td valign="top" width="100">
- <input type="button" style="WIDTH: 100%" fckLang="DlgBtnOK" value="OK" onclick="ok();">
- <br>
- <input type="button" style="WIDTH: 100%" fckLang="DlgBtnCancel" value="Cancel" onclick="cancel();">
- <br>
- <input type="button" style="DISPLAY: none; WIDTH: 100%" fckLang="DlgImgBtnBrowse" value="Browse Server"
- onclick="browserServer();" id="btnBrowse">
- </td>
- </tr>
- </table>
- <hr width="100%" color="#000000" size="2">
- </td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgAlt">Alternative Text</span><BR>
- <input style="WIDTH: 100%" type="text" id="txtAlt" onkeyup="updatePreview();">
- </td>
- </tr>
- <tr height="100%">
- <td>
- <table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
- <tr>
- <td valign="top">
- <br>
- <table cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td><span fckLang="DlgImgWidth">Width</span>&nbsp;</td>
- <td>
- <input type="text" size="3" id="txtWidth" onkeyup="sizeChanged('Width');"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgHeight">Height</span>&nbsp;</td>
- <td>
- <input type="text" size="3" id="txtHeight" onkeyup="sizeChanged('Height');"></td>
- </tr>
- </table>
- <input type="checkbox" class="CheckBox" checked id="chkLockRatio" onclick="onLockRationClick();">
- <span fckLang="DlgImgLockRatio">Lock Ratio</span>
- <br>
- <input type="button" fckLang="DlgBtnResetSize" value="Reset Size" onclick="resetSize();"><br>
- <br>
- <table cellspacing="0" cellpadding="0" border="0">
- <tr>
- <td><span fckLang="DlgImgBorder">Border</span>&nbsp;</td>
- <td>
- <input type="text" size="2" value="0" id="txtBorder" onkeyup="updatePreview();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgHSpace">HSpace</span>&nbsp;</td>
- <td>
- <input type="text" size="2" id="txtHSpace" onkeyup="updatePreview();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgVSpace">VSpace</span>&nbsp;</td>
- <td>
- <input type="text" size="2" id="txtVSpace" onkeyup="updatePreview();"></td>
- </tr>
- <tr>
- <td><span fckLang="DlgImgAlign">Align</span>&nbsp;</td>
- <td><select id="cmbAlign" onchange="updatePreview();">
- <option value="" selected></option>
- <option fckLang="DlgImgAlignLeft" value="left">Left</option>
- <option fckLang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option>
- <option fckLang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option>
- <option fckLang="DlgImgAlignBaseline" value="baseline">Baseline</option>
- <option fckLang="DlgImgAlignBottom" value="bottom">Bottom</option>
- <option fckLang="DlgImgAlignMiddle" value="middle">Middle</option>
- <option fckLang="DlgImgAlignRight" value="right">Right</option>
- <option fckLang="DlgImgAlignTextTop" value="textTop">Text Top</option>
- <option fckLang="DlgImgAlignTop" value="top">Top</option>
- </select></td>
- </tr>
- </table>
- </td>
- <td>&nbsp;&nbsp;&nbsp;</td>
- <td width="100%">
- <table cellpadding="0" cellspacing="0" height="100%">
- <tr>
- <td><span fckLang="DlgImgPreview">Preview</span></td>
- </tr>
- <tr height="100%">
- <td>
- <div class="ImagePreviewArea">
- <img id="imgPreview" style="DISPLAY: none">Magnus es, domine, et laudabilis valde: magna virtus tua,
- et sapientiae tuae non est numerus. et laudare te vult homo, aliqua portio
- creaturae tuae, et homo circumferens mortalitem suam, circumferens testimonium
- peccati sui et testimonium, quia superbis resistis: et tamen laudare te vult
- homo, aliqua portio creaturae tuae.tu excitas, ut laudare te delectet, quia
- fecisti nos ad te et inquietum est cor nostrum, donec requiescat in te. da
- mihi, domine, scire et intellegere, utrum sit prius invocare te an laudare te,
- et scire te prius sit an invocare te. sed quis te invocat nesciens te? aliud
- enim pro alio potest invocare nesciens. an potius invocaris, ut sciaris?
- quomodo autem invocabunt, in quem non crediderunt? aut quomodo credent sine
- praedicante? et laudabunt dominum qui requirunt eum. quaerentes enim inveniunt
- eum et invenientes laudabunt eum. quaeram te, domine, invocans te, et invocem
- te credens in te: praedicatus enim es nobis. invocat te, domine, fides mea,
- quam dedisti mihi, quam inspirasti mihi per humanitatem filii tui, per
- ministerium praedicatoris tui.
- </div>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- </td>
- </tr>
- </table>
- <script language="javascript">
-<!--
- if (bCanUpload)
- {
- tableUpload.style.display = "block" ;
- frmUpload.action = sUploadURL ;
- }
-
- if (bCanBrowse)
- btnBrowse.style.display = "block" ;
-//-->
-</script>
- </body>
-</html>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_image.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck_bottom.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck_bottom.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck_top.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck_top.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fredck.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fckeditor_1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fckeditor_1.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fckeditor_2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/logo_fckeditor_2.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_about/spacer.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_about/spacer.gif
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Deleted: svn:mime-type
## -1 +0,0 ##
-application/octet-stream
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_smiley.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_smiley.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_smiley.html (nonexistent)
@@ -1,123 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_specialchar.html: Special characters chooser dialog box.
- *
- * Authors:
- * Fredox
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<html>
- <head>
- <link rel="stylesheet" type="text/css" href="../../css/fck_dialog.css">
- <style type="text/css">
- .Disactive { border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; width: 1%; cursor: hand; border-bottom: 1px solid; background-color: #dedbd6; text-align: center; }
- .Active { cursor: hand; background-color: #ffffcc; text-align: center; }
- .MainTable { border-right: #e8e8e8 5px solid; border-top: #e8e8e8 5px solid; border-left: #e8e8e8 5px solid; border-bottom: #e8e8e8 5px solid; }
- .Sample { border-right: 1px solid; border-top: 1px solid; font-size: 24px; border-left: 1px solid; border-bottom: 1px solid; background-color: #dedbd6; }
- .Empty { border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; width: 1%; cursor: default; border-bottom: 1px solid; background-color: #dedbd6; }
- </style>
- <script language="javascript">
-<!--
-document.write("<title>" + dialogArguments.lang["DlgSmileyTitle"] + "</title>") ;
-
-var oSample ;
-
-function insertChar(td)
-{
- window.returnValue = td.innerHTML || "" ;
- window.close();
-}
-
-function over(td)
-{
- oSample.innerHTML = td.innerHTML ;
- td.className = 'Active' ;
-}
-
-function out(td)
-{
- oSample.innerHTML = "&nbsp;" ;
- td.className = 'Disactive' ;
-}
-
-function CloseWindow()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-}
-//-->
- </script>
- <script language="javascript" src="../../js/fck_config.js"></script>
- </head>
- <body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0" onload="setDefaults()">
- <table cellpadding="0" cellspacing="10" width="100%" height="100%">
- <tr>
- <td rowspan="2" width="100%">
- <table class="MainTable" cellpadding="0" cellspacing="0" align="center" border="1" width="100%"
- height="100%">
- <script language="javascript">
-<!--
-var sBasePath = dialogArguments.config.SmileyPath ;
-var aImages = dialogArguments.config.SmileyImages ;
-var cols = dialogArguments.config.SmileyColumns ;
-
-var i = 0 ;
-while (i < aImages.length)
-{
- document.write("<TR>") ;
- for(var j = 0 ; j < cols ; j++)
- {
- if (aImages[i])
- {
- document.write("<TD class='Disactive' onclick='insertChar(this)' onmouseover='over(this)' onmouseout='out(this)'>") ;
- document.write("&nbsp;<img src='" + sBasePath + aImages[i] + "' border='0'>&nbsp;") ;
- }
- else
- document.write("<TD class='Empty'>&nbsp;") ;
- document.write("</TD>") ;
- i++ ;
- }
- document.write("</TR>") ;
-}
-//-->
- </script>
- </table>
- </td>
- <td valign="top">
- <table class="MainTable" align="center">
- <tr>
- <td id="SampleTD" width="80" height="80" align="center" class="Sample">
- &nbsp;
- </td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="right" valign="bottom">
- <input type="button" fckLang="DlgBtnCancel" value="Cancel" style="WIDTH: 80px" onclick="CloseWindow();">
- </td>
- </tr>
- </table>
- </body>
-</html>
-<script language="javascript">
-<!--
-oSample = document.getElementById("SampleTD") ;
-//-->
-</script>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_smiley.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_selcolor.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_selcolor.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_selcolor.html (nonexistent)
@@ -1,346 +0,0 @@
-<HTML>
- <HEAD>
- <!--
-This dialog box was created by Jonathan Snook.
-http://www.snook.ca/
-
-Description:
-This is a colour picker dialog box created for use within the DHTML
-Editing Component but could theoretically be used with anything.
-
-It has been designed for use in Internet Explorer using the showModalDialog
-function and the code is provided as-is. If your machine blows up after
-using this code, chances are it wasn't my code. :)
-
-This code is based on the selcolor dialog box that comes with the DEC
-Samples from Microsoft.
-
--->
- <LINK href="../css/fck_dialog.css" type="text/css" rel="stylesheet">
- <STYLE TYPE="text/css">
- .selcolor {cursor:hand}
- td {height:15px; width:15px;}
- </STYLE>
- <SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onclick">
- selhicolor.style.backgroundColor = event.srcElement.title;
- //selhicolortext.innerText = event.srcElement.title;
- selcolor.value = event.srcElement.title;
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onmouseover">
- hicolortext.innerText = event.srcElement.title;
- hicolor.style.backgroundColor = event.srcElement.title;
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript" FOR="ColorTable" EVENT="onmouseout">
- hicolortext.innerText = "";
- hicolor.style.backgroundColor = "";
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript" FOR="btnOK" EVENT="onclick">
- window.returnValue = selcolor.value;
- window.close();
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript" FOR="btnClear" EVENT="onclick">
- selhicolor.style.backgroundColor = '';
- //selhicolortext.innerText='';
- selcolor.value='';
- </SCRIPT>
- <SCRIPT LANGUAGE="JavaScript" FOR="selcolor" EVENT="onpropertychange">
- try{selhicolor.style.backgroundColor = selcolor.value;}
- catch(e) {}
- </SCRIPT>
- <script language="javascript">
-<!--
-document.write("<title>" + dialogArguments.lang["DlgColorTitle"] + "</title>") ;
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-}
-//-->
- </script>
- </HEAD>
- <body bgcolor="ThreeDFace" leftmargin="7" topmargin="7" onload="setDefaults()">
- <table border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td valign="top" align="left" nowrap style="font-family:Arial; font-size:11px;">
- <table ID="ColorTable" border="0" cellspacing="0" cellpadding="0" width="270" class="selcolor">
- <tr>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#003300" title="#003300"></td>
- <td bgcolor="#006600" title="#006600"></td>
- <td bgcolor="#009900" title="#009900"></td>
- <td bgcolor="#00CC00" title="#00CC00"></td>
- <td bgcolor="#00FF00" title="#00FF00"></td>
- <td bgcolor="#330000" title="#330000"></td>
- <td bgcolor="#333300" title="#333300"></td>
- <td bgcolor="#336600" title="#336600"></td>
- <td bgcolor="#339900" title="#339900"></td>
- <td bgcolor="#33CC00" title="#33CC00"></td>
- <td bgcolor="#33FF00" title="#33FF00"></td>
- <td bgcolor="#660000" title="#660000"></td>
- <td bgcolor="#663300" title="#663300"></td>
- <td bgcolor="#666600" title="#666600"></td>
- <td bgcolor="#669900" title="#669900"></td>
- <td bgcolor="#66CC00" title="#66CC00"></td>
- <td bgcolor="#66FF00" title="#66FF00"></td>
- </tr>
- <tr>
- <td bgcolor="#000033" title="#000033"></td>
- <td bgcolor="#003333" title="#003333"></td>
- <td bgcolor="#006633" title="#006633"></td>
- <td bgcolor="#009933" title="#009933"></td>
- <td bgcolor="#00CC33" title="#00CC33"></td>
- <td bgcolor="#00FF33" title="#00FF33"></td>
- <td bgcolor="#330033" title="#330033"></td>
- <td bgcolor="#333333" title="#333333"></td>
- <td bgcolor="#336633" title="#336633"></td>
- <td bgcolor="#339933" title="#339933"></td>
- <td bgcolor="#33CC33" title="#33CC33"></td>
- <td bgcolor="#33FF33" title="#33FF33"></td>
- <td bgcolor="#660033" title="#660033"></td>
- <td bgcolor="#663333" title="#663333"></td>
- <td bgcolor="#666633" title="#666633"></td>
- <td bgcolor="#669933" title="#669933"></td>
- <td bgcolor="#66CC33" title="#66CC33"></td>
- <td bgcolor="#66FF33" title="#66FF33"></td>
- </tr>
- <tr>
- <td bgcolor="#000066" title="#000066"></td>
- <td bgcolor="#003366" title="#003366"></td>
- <td bgcolor="#006666" title="#006666"></td>
- <td bgcolor="#009966" title="#009966"></td>
- <td bgcolor="#00CC66" title="#00CC66"></td>
- <td bgcolor="#00FF66" title="#00FF66"></td>
- <td bgcolor="#330066" title="#330066"></td>
- <td bgcolor="#333366" title="#333366"></td>
- <td bgcolor="#336666" title="#336666"></td>
- <td bgcolor="#339966" title="#339966"></td>
- <td bgcolor="#33CC66" title="#33CC66"></td>
- <td bgcolor="#33FF66" title="#33FF66"></td>
- <td bgcolor="#660066" title="#660066"></td>
- <td bgcolor="#663366" title="#663366"></td>
- <td bgcolor="#666666" title="#666666"></td>
- <td bgcolor="#669966" title="#669966"></td>
- <td bgcolor="#66CC66" title="#66CC66"></td>
- <td bgcolor="#66FF66" title="#66FF66"></td>
- </tr>
- <tr>
- <td bgcolor="#000099" title="#000099"></td>
- <td bgcolor="#003399" title="#003399"></td>
- <td bgcolor="#006699" title="#006699"></td>
- <td bgcolor="#009999" title="#009999"></td>
- <td bgcolor="#00CC99" title="#00CC99"></td>
- <td bgcolor="#00FF99" title="#00FF99"></td>
- <td bgcolor="#330099" title="#330099"></td>
- <td bgcolor="#333399" title="#333399"></td>
- <td bgcolor="#336699" title="#336699"></td>
- <td bgcolor="#339999" title="#339999"></td>
- <td bgcolor="#33CC99" title="#33CC99"></td>
- <td bgcolor="#33FF99" title="#33FF99"></td>
- <td bgcolor="#660099" title="#660099"></td>
- <td bgcolor="#663399" title="#663399"></td>
- <td bgcolor="#666699" title="#666699"></td>
- <td bgcolor="#669999" title="#669999"></td>
- <td bgcolor="#66CC99" title="#66CC99"></td>
- <td bgcolor="#66FF99" title="#66FF99"></td>
- </tr>
- <tr>
- <td bgcolor="#0000CC" title="#0000CC"></td>
- <td bgcolor="#0033CC" title="#0033CC"></td>
- <td bgcolor="#0066CC" title="#0066CC"></td>
- <td bgcolor="#0099CC" title="#0099CC"></td>
- <td bgcolor="#00CCCC" title="#00CCCC"></td>
- <td bgcolor="#00FFCC" title="#00FFCC"></td>
- <td bgcolor="#3300CC" title="#3300CC"></td>
- <td bgcolor="#3333CC" title="#3333CC"></td>
- <td bgcolor="#3366CC" title="#3366CC"></td>
- <td bgcolor="#3399CC" title="#3399CC"></td>
- <td bgcolor="#33CCCC" title="#33CCCC"></td>
- <td bgcolor="#33FFCC" title="#33FFCC"></td>
- <td bgcolor="#6600CC" title="#6600CC"></td>
- <td bgcolor="#6633CC" title="#6633CC"></td>
- <td bgcolor="#6666CC" title="#6666CC"></td>
- <td bgcolor="#6699CC" title="#6699CC"></td>
- <td bgcolor="#66CCCC" title="#66CCCC"></td>
- <td bgcolor="#66FFCC" title="#66FFCC"></td>
- </tr>
- <tr>
- <td bgcolor="#0000FF" title="#0000FF"></td>
- <td bgcolor="#0033FF" title="#0033FF"></td>
- <td bgcolor="#0066FF" title="#0066FF"></td>
- <td bgcolor="#0099FF" title="#0099FF"></td>
- <td bgcolor="#00CCFF" title="#00CCFF"></td>
- <td bgcolor="#00FFFF" title="#00FFFF"></td>
- <td bgcolor="#3300FF" title="#3300FF"></td>
- <td bgcolor="#3333FF" title="#3333FF"></td>
- <td bgcolor="#3366FF" title="#3366FF"></td>
- <td bgcolor="#3399FF" title="#3399FF"></td>
- <td bgcolor="#33CCFF" title="#33CCFF"></td>
- <td bgcolor="#33FFFF" title="#33FFFF"></td>
- <td bgcolor="#6600FF" title="#6600FF"></td>
- <td bgcolor="#6633FF" title="#6633FF"></td>
- <td bgcolor="#6666FF" title="#6666FF"></td>
- <td bgcolor="#6699FF" title="#6699FF"></td>
- <td bgcolor="#66CCFF" title="#66CCFF"></td>
- <td bgcolor="#66FFFF" title="#66FFFF"></td>
- </tr>
- <tr>
- <td bgcolor="#990000" title="#990000"></td>
- <td bgcolor="#993300" title="#993300"></td>
- <td bgcolor="#996600" title="#996600"></td>
- <td bgcolor="#999900" title="#999900"></td>
- <td bgcolor="#99CC00" title="#99CC00"></td>
- <td bgcolor="#99FF00" title="#99FF00"></td>
- <td bgcolor="#CC0000" title="#CC0000"></td>
- <td bgcolor="#CC3300" title="#CC3300"></td>
- <td bgcolor="#CC6600" title="#CC6600"></td>
- <td bgcolor="#CC9900" title="#CC9900"></td>
- <td bgcolor="#CCCC00" title="#CCCC00"></td>
- <td bgcolor="#CCFF00" title="#CCFF00"></td>
- <td bgcolor="#FF0000" title="#FF0000"></td>
- <td bgcolor="#FF3300" title="#FF3300"></td>
- <td bgcolor="#FF6600" title="#FF6600"></td>
- <td bgcolor="#FF9900" title="#FF9900"></td>
- <td bgcolor="#FFCC00" title="#FFCC00"></td>
- <td bgcolor="#FFFF00" title="#FFFF00"></td>
- </tr>
- <tr>
- <td bgcolor="#990033" title="#990033"></td>
- <td bgcolor="#993333" title="#993333"></td>
- <td bgcolor="#996633" title="#996633"></td>
- <td bgcolor="#999933" title="#999933"></td>
- <td bgcolor="#99CC33" title="#99CC33"></td>
- <td bgcolor="#99FF33" title="#99FF33"></td>
- <td bgcolor="#CC0033" title="#CC0033"></td>
- <td bgcolor="#CC3333" title="#CC3333"></td>
- <td bgcolor="#CC6633" title="#CC6633"></td>
- <td bgcolor="#CC9933" title="#CC9933"></td>
- <td bgcolor="#CCCC33" title="#CCCC33"></td>
- <td bgcolor="#CCFF33" title="#CCFF33"></td>
- <td bgcolor="#FF0033" title="#FF0033"></td>
- <td bgcolor="#FF3333" title="#FF3333"></td>
- <td bgcolor="#FF6633" title="#FF6633"></td>
- <td bgcolor="#FF9933" title="#FF9933"></td>
- <td bgcolor="#FFCC33" title="#FFCC33"></td>
- <td bgcolor="#FFFF33" title="#FFFF33"></td>
- </tr>
- <tr>
- <td bgcolor="#990066" title="#990066"></td>
- <td bgcolor="#993366" title="#993366"></td>
- <td bgcolor="#996666" title="#996666"></td>
- <td bgcolor="#999966" title="#999966"></td>
- <td bgcolor="#99CC66" title="#99CC66"></td>
- <td bgcolor="#99FF66" title="#99FF66"></td>
- <td bgcolor="#CC0066" title="#CC0066"></td>
- <td bgcolor="#CC3366" title="#CC3366"></td>
- <td bgcolor="#CC6666" title="#CC6666"></td>
- <td bgcolor="#CC9966" title="#CC9966"></td>
- <td bgcolor="#CCCC66" title="#CCCC66"></td>
- <td bgcolor="#CCFF66" title="#CCFF66"></td>
- <td bgcolor="#FF0066" title="#FF0066"></td>
- <td bgcolor="#FF3366" title="#FF3366"></td>
- <td bgcolor="#FF6666" title="#FF6666"></td>
- <td bgcolor="#FF9966" title="#FF9966"></td>
- <td bgcolor="#FFCC66" title="#FFCC66"></td>
- <td bgcolor="#FFFF66" title="#FFFF66"></td>
- </tr>
- <tr>
- <td bgcolor="#990099" title="#990099"></td>
- <td bgcolor="#993399" title="#993399"></td>
- <td bgcolor="#996699" title="#996699"></td>
- <td bgcolor="#999999" title="#999999"></td>
- <td bgcolor="#99CC99" title="#99CC99"></td>
- <td bgcolor="#99FF99" title="#99FF99"></td>
- <td bgcolor="#CC0099" title="#CC0099"></td>
- <td bgcolor="#CC3399" title="#CC3399"></td>
- <td bgcolor="#CC6699" title="#CC6699"></td>
- <td bgcolor="#CC9999" title="#CC9999"></td>
- <td bgcolor="#CCCC99" title="#CCCC99"></td>
- <td bgcolor="#CCFF99" title="#CCFF99"></td>
- <td bgcolor="#FF0099" title="#FF0099"></td>
- <td bgcolor="#FF3399" title="#FF3399"></td>
- <td bgcolor="#FF6699" title="#FF6699"></td>
- <td bgcolor="#FF9999" title="#FF9999"></td>
- <td bgcolor="#FFCC99" title="#FFCC99"></td>
- <td bgcolor="#FFFF99" title="#FFFF99"></td>
- </tr>
- <tr>
- <td bgcolor="#9900CC" title="#9900CC"></td>
- <td bgcolor="#9933CC" title="#9933CC"></td>
- <td bgcolor="#9966CC" title="#9966CC"></td>
- <td bgcolor="#9999CC" title="#9999CC"></td>
- <td bgcolor="#99CCCC" title="#99CCCC"></td>
- <td bgcolor="#99FFCC" title="#99FFCC"></td>
- <td bgcolor="#CC00CC" title="#CC00CC"></td>
- <td bgcolor="#CC33CC" title="#CC33CC"></td>
- <td bgcolor="#CC66CC" title="#CC66CC"></td>
- <td bgcolor="#CC99CC" title="#CC99CC"></td>
- <td bgcolor="#CCCCCC" title="#CCCCCC"></td>
- <td bgcolor="#CCFFCC" title="#CCFFCC"></td>
- <td bgcolor="#FF00CC" title="#FF00CC"></td>
- <td bgcolor="#FF33CC" title="#FF33CC"></td>
- <td bgcolor="#FF66CC" title="#FF66CC"></td>
- <td bgcolor="#FF99CC" title="#FF99CC"></td>
- <td bgcolor="#FFCCCC" title="#FFCCCC"></td>
- <td bgcolor="#FFFFCC" title="#FFFFCC"></td>
- </tr>
- <tr>
- <td bgcolor="#9900FF" title="#9900FF"></td>
- <td bgcolor="#9933FF" title="#9933FF"></td>
- <td bgcolor="#9966FF" title="#9966FF"></td>
- <td bgcolor="#9999FF" title="#9999FF"></td>
- <td bgcolor="#99CCFF" title="#99CCFF"></td>
- <td bgcolor="#99FFFF" title="#99FFFF"></td>
- <td bgcolor="#CC00FF" title="#CC00FF"></td>
- <td bgcolor="#CC33FF" title="#CC33FF"></td>
- <td bgcolor="#CC66FF" title="#CC66FF"></td>
- <td bgcolor="#CC99FF" title="#CC99FF"></td>
- <td bgcolor="#CCCCFF" title="#CCCCFF"></td>
- <td bgcolor="#CCFFFF" title="#CCFFFF"></td>
- <td bgcolor="#FF00FF" title="#FF00FF"></td>
- <td bgcolor="#FF33FF" title="#FF33FF"></td>
- <td bgcolor="#FF66FF" title="#FF66FF"></td>
- <td bgcolor="#FF99FF" title="#FF99FF"></td>
- <td bgcolor="#FFCCFF" title="#FFCCFF"></td>
- <td bgcolor="#FFFFFF" title="#FFFFFF"></td>
- </tr>
- <tr>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#333333" title="#333333"></td>
- <td bgcolor="#666666" title="#666666"></td>
- <td bgcolor="#999999" title="#999999"></td>
- <td bgcolor="#CCCCCC" title="#CCCCCC"></td>
- <td bgcolor="#FFFFFF" title="#FFFFFF"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- <td bgcolor="#000000" title="#000000"></td>
- </tr>
- </table>
- </td>
- <td></td>
- <td VALIGN="top" align="left" nowrap style="font-family:Arial; font-size:11px;">
- <input type="button" fckLang="DlgBtnOK" value="OK" name="btnOK" style="width:75px; height:22px; margin-bottom:6px" /><br>
- <input type="button" fckLang="DlgBtnCancel" value="Cancel" name="btnCancel" onclick="window.close();"
- style="width:75px; height:22px; margin-bottom:6px" /><br>
- <input type="button" fckLang="DlgColorBtnClear" value="Clear" name="btnClear" style="width:75px; height:22px; margin-bottom:6px" /><br>
- <span fckLang="DlgColorHighlight">Highlight</span>:
- <div style="height:20px; width:74px; border-width:1px; border-style:solid;" id="hicolor"></div>
- <div style="width:75px; text-align:right; margin-bottom:7px;" id="hicolortext"></div>
- <span fckLang="DlgColorSelected">Selected</span>:
- <div style="height:20px; width:74px; border-width:1px; border-style:solid;" id="selhicolor"></div>
- <INPUT TYPE="text" ID="selcolor" style="width:75px; height:20px; margin-top:0px; margin-bottom:7px;"
- maxlength="20">
- </td>
- </tr>
- </table>
- </body>
-</HTML>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_selcolor.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/dialog/fck_specialchar.html
===================================================================
--- branches/RC/admin/editor/FCKeditor/dialog/fck_specialchar.html (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/dialog/fck_specialchar.html (nonexistent)
@@ -1,119 +0,0 @@
-<!--
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_specialchar.html: Special characters chooser dialog box.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
--->
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<HTML>
- <HEAD>
- <LINK rel="stylesheet" type="text/css" href="../css/fck_dialog.css">
- <style type="text/css">
- .Disactive { border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; width: 1%; cursor: hand; border-bottom: 1px solid; background-color: #dedbd6; text-align: center; }
- .Active { cursor: hand; background-color: #ffffcc; text-align: center; }
- .MainTable { border-right: #e8e8e8 5px solid; border-top: #e8e8e8 5px solid; border-left: #e8e8e8 5px solid; border-bottom: #e8e8e8 5px solid; }
- .Sample { border-right: 1px solid; border-top: 1px solid; font-size: 24px; border-left: 1px solid; border-bottom: 1px solid; background-color: #dedbd6; }
- .Empty { border-right: 1px solid; border-top: 1px solid; border-left: 1px solid; width: 1%; cursor: default; border-bottom: 1px solid; background-color: #dedbd6; }
- </style>
- <script language="javascript">
-<!--
-document.write("<title>" + dialogArguments.lang["DlgSpecialCharTitle"] + "</title>") ;
-
-var oSample ;
-
-function insertChar(charValue)
-{
- window.returnValue = charValue ;
- window.close();
-}
-
-function over(td)
-{
- oSample.innerHTML = td.innerHTML ;
- td.className = 'Active' ;
-}
-
-function out(td)
-{
- oSample.innerHTML = "&nbsp;" ;
- td.className = 'Disactive' ;
-}
-
-function CloseWindow()
-{
- window.returnValue = null ;
- window.close() ;
-}
-
-function setDefaults()
-{
- // First of all, translate the dialog box texts
- dialogArguments.AvailableLangs.TranslatePage(document) ;
-}
-//-->
- </script>
- </HEAD>
- <BODY topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0" onload="setDefaults()">
- <table cellpadding="0" cellspacing="10" width="100%" height="100%">
- <tr>
- <td rowspan="2" width="100%">
- <table class="MainTable" cellpadding="0" cellspacing="0" align="center" border="1" width="100%" height="100%">
- <script language="javascript">
-<!--
-//var aChars = ["!","&quot;","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","ƒ","„","…","†","‡","ˆ","\‰","Š","‹","Œ","&lsquo;","&rsquo;","&rsquo;","&ldquo;","&rdquo;","•","&ndash;","&mdash;","˜","™","š","›","œ","Ÿ","&iexcl;","&cent;","&pound;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","­","&reg;","&macr;","&deg;","&plusmn;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&uuml;","&yacute;","&thorn;","&yuml;"] ;
-var aChars = ["!","&quot;","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","&lt;","=","&gt;","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","&euro;","&lsquo;","&rsquo;","&rsquo;","&ldquo;","&rdquo;","&ndash;","&mdash;","&iexcl;","&cent;","&pound;","&curren;","&yen;","&brvbar;","&sect;","&uml;","&copy;","&ordf;","&laquo;","&not;","&reg;","&macr;","&deg;","&plusmn;","&sup2;","&sup3;","&acute;","&micro;","&para;","&middot;","&cedil;","&sup1;","&ordm;","&raquo;","&frac14;","&frac12;","&frac34;","&iquest;","&Agrave;","&Aacute;","&Acirc;","&Atilde;","&Auml;","&Aring;","&AElig;","&Ccedil;","&Egrave;","&Eacute;","&Ecirc;","&Euml;","&Igrave;","&Iacute;","&Icirc;","&Iuml;","&ETH;","&Ntilde;","&Ograve;","&Oacute;","&Ocirc;","&Otilde;","&Ouml;","&times;","&Oslash;","&Ugrave;","&Uacute;","&Ucirc;","&Uuml;","&Yacute;","&THORN;","&szlig;","&agrave;","&aacute;","&acirc;","&atilde;","&auml;","&aring;","&aelig;","&ccedil;","&egrave;","&eacute;","&ecirc;","&euml;","&igrave;","&iacute;","&icirc;","&iuml;","&eth;","&ntilde;","&ograve;","&oacute;","&ocirc;","&otilde;","&ouml;","&divide;","&oslash;","&ugrave;","&uacute;","&ucirc;","&uuml;","&uuml;","&yacute;","&thorn;","&yuml;"] ;
-
-var cols = 20 ;
-
-var i = 0 ;
-while (i < aChars.length)
-{
- document.write("<TR>") ;
- for(var j = 0 ; j < cols ; j++)
- {
- if (aChars[i])
- {
- document.write('<TD class="Disactive" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&amp;") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;
- document.write(aChars[i]) ;
- }
- else
- document.write("<TD class='Empty'>&nbsp;") ;
- document.write("</TD>") ;
- i++ ;
- }
- document.write("</TR>") ;
-}
-//-->
- </script>
- </table>
- </td>
- <td valign="top">
- <table class="MainTable">
- <tr>
- <td id="SampleTD" width="40" height="40" align="center" class="Sample">&nbsp;</td>
- </tr>
- </table>
- </td>
- </tr>
- <tr>
- <td align="right" valign="bottom">
- <INPUT type="button" fckLang="DlgBtnCancel" value="Cancel" style="WIDTH: 60px" onclick="CloseWindow();">
- </td>
- </tr>
- </table>
- </BODY>
-</HTML>
-<script language="javascript">
-<!--
-oSample = document.getElementById("SampleTD") ;
-//-->
-</script>
Property changes on: branches/RC/admin/editor/FCKeditor/dialog/fck_specialchar.html
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_contextmenu.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_contextmenu.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_contextmenu.js (nonexistent)
@@ -1,160 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_contextmenu.js: Right click support.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-// Contants
-var MENU_SEPARATOR = "" ; // Context menu separator
-
-// The last context menu
-var ContextMenu = new Array() ;
-
-// Avaliable context menu options
-var GeneralContextMenu = new Array() ;
-var TableContextMenu = new Array() ;
-var LinkContextMenu = new Array() ;
-
-function ContextMenuSeparator()
-{
- this.Text = MENU_SEPARATOR ;
-}
-
-// Class that represents an item on the context menu
-function ContextMenuItem(text, command, commandType)
-{
- this.Text = text ;
- this.Command = command || "void(0)" ;
- this.CommandType = commandType || TBCMD_DEC ;
-
- switch (this.CommandType)
- {
- case TBCMD_DEC :
- this.Command = "decCommand(" + command + ")" ;
- this.CommandId = command ;
- break ;
- case TBCMD_DOC :
- this.Command = "docCommand('" + command + "')" ;
- this.CommandCode = command ;
- break ;
- default : // TBCMD_CUSTOM
- this.Command = command ;
- break ;
- }
-}
-
-
-GeneralContextMenu[0] = new ContextMenuItem(lang["Cut"], DECMD_CUT) ;
-GeneralContextMenu[1] = new ContextMenuItem(lang["Copy"], DECMD_COPY) ;
-GeneralContextMenu[2] = new ContextMenuItem(lang["Paste"], DECMD_PASTE) ;
-
-LinkContextMenu[0] = new ContextMenuSeparator() ;
-LinkContextMenu[1] = new ContextMenuItem(lang["EditLink"], "dialogLink()", TBCMD_CUSTOM) ;
-LinkContextMenu[2] = new ContextMenuItem(lang["RemoveLink"], DECMD_UNLINK) ;
-
-TableContextMenu[0] = new ContextMenuSeparator() ;
-TableContextMenu[1] = new ContextMenuItem(lang["InsertRow"], DECMD_INSERTROW) ;
-TableContextMenu[2] = new ContextMenuItem(lang["DeleteRows"], DECMD_DELETEROWS) ;
-TableContextMenu[3] = new ContextMenuSeparator() ;
-TableContextMenu[4] = new ContextMenuItem(lang["InsertColumn"], DECMD_INSERTCOL) ;
-TableContextMenu[5] = new ContextMenuItem(lang["DeleteColumns"], DECMD_DELETECOLS) ;
-TableContextMenu[6] = new ContextMenuSeparator() ;
-TableContextMenu[7] = new ContextMenuItem(lang["InsertCell"], DECMD_INSERTCELL) ;
-TableContextMenu[8] = new ContextMenuItem(lang["DeleteCells"], DECMD_DELETECELLS) ;
-TableContextMenu[9] = new ContextMenuItem(lang["MergeCells"], DECMD_MERGECELLS) ;
-TableContextMenu[10] = new ContextMenuItem(lang["SplitCell"], DECMD_SPLITCELL) ;
-TableContextMenu[11] = new ContextMenuSeparator() ;
-TableContextMenu[12] = new ContextMenuItem(lang["CellProperties"], "dialogTableCell()", TBCMD_CUSTOM) ;
-TableContextMenu[13] = new ContextMenuItem(lang["TableProperties"], "dialogTable(true)", TBCMD_CUSTOM) ;
-
-function showContextMenu()
-{
- // Resets the context menu.
- ContextMenu = new Array() ;
-
- var i ;
- var index = 0;
-
- // Always show general menu options
- for ( i = 0 ; i < GeneralContextMenu.length ; i++ )
- {
- ContextMenu[index++] = GeneralContextMenu[i] ;
- }
-
- // If over a link
- if (checkDecCommand(DECMD_UNLINK) == OLE_TRISTATE_UNCHECKED)
- {
- for ( i = 0 ; i < LinkContextMenu.length ; i++ )
- {
- ContextMenu[index++] = LinkContextMenu[i] ;
- }
- }
-
- // If inside a table, load table menu options
- if (objContent.QueryStatus(DECMD_INSERTROW) != DECMDF_DISABLED)
- {
- for ( i = 0 ; i < TableContextMenu.length ; i++ )
- {
- ContextMenu[index++] = TableContextMenu[i] ;
- }
- }
-
- // Verifies if the selection is a TABLE or IMG
- var sel = objContent.DOM.selection.createRange() ;
- var sTag ;
- if (objContent.DOM.selection.type != 'Text' && sel.length == 1)
- sTag = sel.item(0).tagName ;
-
- if (sTag == "TABLE")
- {
- ContextMenu[index++] = new ContextMenuSeparator() ;
- ContextMenu[index++] = new ContextMenuItem(lang["TableProperties"], "dialogTable()", TBCMD_CUSTOM) ;
- }
- else if (sTag == "IMG")
- {
- ContextMenu[index++] = new ContextMenuSeparator() ;
- ContextMenu[index++] = new ContextMenuItem(lang["ImageProperties"], "dialogImage()", TBCMD_CUSTOM) ;
- }
-
- // Set up the actual arrays that get passed to SetContextMenu
- var menuStrings = new Array() ;
- var menuStates = new Array() ;
- for ( i = 0 ; i < ContextMenu.length ; i++ )
- {
- menuStrings[i] = ContextMenu[i].Text ;
-
- if (menuStrings[i] != MENU_SEPARATOR)
- switch (ContextMenu[i].CommandType)
- {
- case TBCMD_DEC :
- menuStates[i] = checkDecCommand(ContextMenu[i].CommandId) ;
- break ;
- case TBCMD_DOC :
- menuStates[i] = checkDocCommand(ContextMenu[i].CommandCode) ;
- break ;
- default :
- menuStates[i] = OLE_TRISTATE_UNCHECKED ;
- break ;
- }
- else
- menuStates[i] = OLE_TRISTATE_CHECKED ;
- }
-
- // Set the context menu
- objContent.SetContextMenu(menuStrings, menuStates);
-}
-
-function contextMenuAction(itemIndex)
-{
- eval(ContextMenu[itemIndex].Command) ;
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_contextmenu.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_events.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_events.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_events.js (nonexistent)
@@ -1,42 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_events.js: Creates the events object that handles the editor
- * changes events for the toolbar.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-var events = new Object() ;
-
-events.attachEvent = function(eventName, attachedFunction)
-{
- if (! events["ev" + eventName])
- events["ev" + eventName] = new Array() ;
-
- events["ev" + eventName][events["ev" + eventName].length] = attachedFunction ;
-}
-
-events.fireEvent = function(eventName, params)
-{
- var oEvents = events["ev" + eventName] ;
-
- if (oEvents)
- {
- for (i in oEvents)
- {
- if (typeof(oEvents[i]) == "function")
- oEvents[i](params) ;
- else
- oEvents[i][eventName](params) ;
- }
- }
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_events.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_init.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_init.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_init.js (nonexistent)
@@ -1,35 +0,0 @@
-// #### URLParams: holds all URL passed parameters (like ?Param1=Value1&Param2=Value2)
-var URLParams = new Object() ;
-
-var aParams = document.location.search.substr(1).split('&') ;
-for ( i = 0 ; i < aParams.length ; i++ )
-{
- var aParam = aParams[i].split('=') ;
- var sParamName = aParam[0] ;
- var sParamValue = aParam[1] ;
-
- // Override any configuration with the same name (if exists)
- if ( config[ sParamName ] != null )
- {
- if ( sParamValue == "true" )
- config[ sParamName ] = true ;
- else if ( sParamValue == "false" )
- config[ sParamName ] = false ;
- else if ( ! isNaN( sParamValue ) )
- config[ sParamName ] = parseInt( sParamValue ) ;
- else
- config[ sParamName ] = sParamValue ;
- }
-
- URLParams[ sParamName ] = sParamValue ;
-}
-
-// Override some configurations (Deprecated)
-if (URLParams['Upload']) config.ImageUpload = config.LinkUpload = ( URLParams['Upload'] == 'true' ) ;
-if (URLParams['Browse']) config.ImageBrowser = config.LinkBrowser = ( URLParams['Browse'] == 'true' ) ;
-
-// #### BrowserInfo: holds client informations.
-var BrowserInfo = new Object() ;
-BrowserInfo.MajorVer = navigator.appVersion.match(/MSIE (.)/)[1] ;
-BrowserInfo.MinorVer = navigator.appVersion.match(/MSIE .\.(.)/)[1] ;
-BrowserInfo.IsIE55OrMore = BrowserInfo.MajorVer >= 6 || ( BrowserInfo.MajorVer >= 5 && BrowserInfo.MinorVer >= 5 ) ;
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_init.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_toolbaritems.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_toolbaritems.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_toolbaritems.js (nonexistent)
@@ -1,72 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_toolbaritems.js: Defines all the available toolbar items.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-// This class holds the available toolbar items definitions
-function TBI() {}
-
-// Standard
-TBI.prototype.Cut = new TBButton("Cut" , lang["Cut"] , DECMD_CUT) ;
-TBI.prototype.Copy = new TBButton("Copy" , lang["Copy"] , DECMD_COPY) ;
-TBI.prototype.Paste = new TBButton("Paste" , lang["Paste"] , DECMD_PASTE) ;
-TBI.prototype.PasteText = new TBButton("PasteText" , lang["PasteText"] , "pastePlainText()" , TBCMD_CUSTOM, "checkDecCommand(DECMD_PASTE)") ;
-TBI.prototype.PasteWord = new TBButton("PasteWord" , lang["PasteWord"] , "pasteFromWord()" , TBCMD_CUSTOM, "checkDecCommand(DECMD_PASTE)") ;
-TBI.prototype.Find = new TBButton("Find" , lang["Find"] , DECMD_FINDTEXT) ;
-TBI.prototype.SelectAll = new TBButton("SelectAll" , lang["SelectAll"] , DECMD_SELECTALL) ;
-TBI.prototype.RemoveFormat = new TBButton("RemoveFormat" , lang["RemoveFormat"] , DECMD_REMOVEFORMAT) ;
-TBI.prototype.Link = new TBButton("Link" , lang["InsertLink"] , "dialogLink()" , TBCMD_CUSTOM, "checkDecCommand(DECMD_HYPERLINK)") ;
-TBI.prototype.RemoveLink = new TBButton("Unlink" , lang["RemoveLink"] , DECMD_UNLINK) ;
-TBI.prototype.Image = new TBButton("Image" , lang["InsertImage"] , "dialogImage()" , TBCMD_CUSTOM) ;
-TBI.prototype.Table = new TBButton("Table" , lang["InsertTable"] , "dialogTable()" , TBCMD_CUSTOM) ;
-TBI.prototype.Rule = new TBButton("Rule" , lang["InsertLine"] , "InsertHorizontalRule" , TBCMD_DOC) ;
-TBI.prototype.SpecialChar = new TBButton("SpecialChar" , lang["InsertSpecialChar"] , "insertSpecialChar()" , TBCMD_CUSTOM) ;
-TBI.prototype.Smiley = new TBButton("Smiley" , lang["InsertSmiley"] , "insertSmiley()" , TBCMD_CUSTOM) ;
-TBI.prototype.About = new TBButton("About" , lang["About"] , "about()" , TBCMD_CUSTOM) ;
-
-// Formatting
-TBI.prototype.Bold = new TBButton("Bold" , lang["Bold"] , DECMD_BOLD) ;
-TBI.prototype.Italic = new TBButton("Italic" , lang["Italic"] , DECMD_ITALIC) ;
-TBI.prototype.Underline = new TBButton("Underline" , lang["Underline"] , DECMD_UNDERLINE) ;
-TBI.prototype.StrikeThrough = new TBButton("StrikeThrough" , lang["StrikeThrough"] , "strikethrough" , TBCMD_DOC) ;
-TBI.prototype.Subscript = new TBButton("Subscript" , lang["Subscript"] , "subscript" , TBCMD_DOC) ;
-TBI.prototype.Superscript = new TBButton("Superscript" , lang["Superscript"] , "superscript" , TBCMD_DOC) ;
-TBI.prototype.JustifyLeft = new TBButton("JustifyLeft" , lang["LeftJustify"] , DECMD_JUSTIFYLEFT) ;
-TBI.prototype.JustifyCenter = new TBButton("JustifyCenter" , lang["CenterJustify"] , DECMD_JUSTIFYCENTER) ;
-TBI.prototype.JustifyRight = new TBButton("JustifyRight" , lang["RightJustify"] , DECMD_JUSTIFYRIGHT) ;
-TBI.prototype.JustifyFull = new TBButton("JustifyFull" , lang["BlockJustify"] , "JustifyFull" , TBCMD_DOC) ;
-TBI.prototype.Outdent = new TBButton("Outdent" , lang["DecreaseIndent"] , DECMD_OUTDENT) ;
-TBI.prototype.Indent = new TBButton("Indent" , lang["IncreaseIndent"] , DECMD_INDENT) ;
-TBI.prototype.Undo = new TBButton("Undo" , lang["Undo"] , DECMD_UNDO) ;
-TBI.prototype.Redo = new TBButton("Redo" , lang["Redo"] , DECMD_REDO) ;
-TBI.prototype.InsertOrderedList = new TBButton("InsertOrderedList" , lang["NumberedList"], "insertList('ol')" , TBCMD_CUSTOM, "checkDecCommand(DECMD_ORDERLIST)") ;
-TBI.prototype.InsertUnorderedList = new TBButton("InsertUnorderedList", lang["BulettedList"], "insertList('ul')" , TBCMD_CUSTOM, "checkDecCommand(DECMD_UNORDERLIST)") ;
-
-// Options
-TBI.prototype.ShowTableBorders = new TBButton("ShowTableBorders" , lang["ShowTableBorders"] , "showTableBorders()", TBCMD_CUSTOM, "checkShowTableBorders()") ;
-TBI.prototype.ShowDetails = new TBButton("ShowDetails" , lang["ShowDetails"] , "showDetails()", TBCMD_CUSTOM, "checkShowDetails()") ;
-TBI.prototype.Zoom = new TBCombo( "Zoom" , "doZoom(this)" , "Zoom", "100%;50%;75%;100%;125%;150%;175%;200%", "100;50;75;100;125;150;175;200") ;
-TBI.prototype.SpellCheck = new TBButton("SpellCheck" , "SpellCheck" , "SpellCheck()" , TBCMD_CUSTOM) ;
-
-// Font
-TBI.prototype.FontStyle = new TBCombo( "FontStyle" , "doStyle(this)" , lang["FontStyle"] , config.StyleNames, config.StyleValues, 'CheckStyle("cmbFontStyle")') ;
-TBI.prototype.FontFormat = new TBCombo( "FontFormat" , "doFormatBlock(this)" , lang["FontFormat"], config.BlockFormatNames, config.BlockFormatNames, 'CheckFontFormat("cmbFontFormat")') ;
-TBI.prototype.Font = new TBCombo( "Font" , "doFontName(this)" , lang["Font"] , config.ToolbarFontNames, config.ToolbarFontNames, 'CheckFontName("cmbFont")') ;
-TBI.prototype.FontSize = new TBCombo( "FontSize" , "doFontSize(this)" , lang["FontSize"] , ';xx-small;x-small;small;medium;large;x-large;xx-large', ';1;2;3;4;5;6;7', 'CheckFontSize("cmbFontSize")') ;
-TBI.prototype.TextColor = new TBButton("TextColor" , lang["TextColor"] , "foreColor()" , TBCMD_CUSTOM) ;
-TBI.prototype.BGColor = new TBButton("BGColor" , lang["BGColor"] , "backColor()" , TBCMD_CUSTOM) ;
-TBI.prototype.EditSource = new TBCheckBox("EditSource" , "switchEditMode()" , lang["Source"] , "onViewMode") ;
-
-// This is the object that holds the available toolbar items
-var oTB_Items = new TBI() ;
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_toolbaritems.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_config.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_config.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_config.js (nonexistent)
@@ -1,182 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_config.js: Holds all configurations.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-//##
-//## "config" is the global object that holds all configurations
-//##
-var config = new Object() ;
-
-//##
-//## Editor Base Path
-//##
-config.BasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('/')+1) ;
-
-//##
-//## Style File to be used the the editor
-//##
-
-config.EditorAreaCSS = config.BasePath + 'css/fck_editorarea.css' ;
-
-
-//##
-//## Base URL used to set relative links
-//##
-config.BaseUrl = document.location.protocol + '//' + document.location.host + '/' ;
-
-//##
-//## Enable XHTML support
-//##
-config.EnableXHTML = false ;
-
-//##
-//## Miscelaneous
-//##
-config.StartupShowBorders = false ;
-config.StartupShowDetails = false ;
-
-//##
-//## Cut and Paste options
-//##
-config.ForcePasteAsPlainText = false ;
-config.AutoDetectPasteFromWord = true ;
-
-//##
-//## When the user presses <ENTER> inserts a <BR> tag instead of a <P>
-//##
-config.UseBROnCarriageReturn = false ;
-
-//## Spaces (&nbsp;) to add on TAB
-config.TabSpaces = 4 ;
-
-//##
-//## Language settings
-//##
-config.AutoDetectLanguage = false ;
-config.DefaultLanguage = "en" ;
-
-// ## Spell Checker download - http://www.iespell.com/download.php
-config.SpellCheckerDownloadUrl = "http://www.rochen.com/ieSpellSetup201325.exe" ;
-
-//##
-//## Sets the toolbar icons path
-//##
-config.ToolbarImagesPath = config.BasePath + "images/toolbar/" ;
-
-//##
-//## Toolbar Buttons Sets
-//##
-config.ToolbarSets = new Object() ;
-config.ToolbarSets["Default"] = [
- ['EditSource','-','Cut','Copy','Paste','PasteText','PasteWord','-','SpellCheck','Find','-','Undo','Redo','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Table','Rule','SpecialChar','Smiley','-','About'] ,
- ['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript','-','JustifyLeft','JustifyCenter','JustifyRight','JustifyFull','-','InsertOrderedList','InsertUnorderedList','-','Outdent','Indent','-','ShowTableBorders','ShowDetails','-','Zoom'] ,
- ['FontStyle','-','FontFormat','-','Font','-','FontSize','-','TextColor','BGColor']
-] ;
-
-config.ToolbarSets["Source"] = [
- ['EditSource']
-] ;
-
-config.ToolbarSets["Accessibility"] = [
- ['EditSource','-','Cut','Copy','Paste','-','SelectAll','RemoveFormat','-','Link','RemoveLink','-','Image','Rule','-','About'] ,
- ['FontStyle','-','Bold','Italic','Underline','-','InsertOrderedList','InsertUnorderedList','-','Undo','Redo']
-] ;
-
-config.ToolbarSets["Basic"] = [
- ['Bold','Italic','-','InsertOrderedList','InsertUnorderedList','-','Link','RemoveLink','-','About']
-] ;
-
-//##
-//## Style Names
-//##
-config.StyleNames = ';Main Header;Blue Title;Centered Title;Alex Test' ;
-config.StyleValues = ';MainHeader;BlueTitle;CenteredTitle;AlexTest' ;
-
-//##
-//## Font Names
-//##
-config.ToolbarFontNames = ';Arial;Comic Sans MS;Courier New;Tahoma;Times New Roman;Verdana' ;
-
-//##
-//## Link: Target Windows
-//##
-config.LinkShowTargets = true ;
-config.LinkTargets = '_blank;_parent;_self;_top' ;
-config.LinkDefaultTarget = '' ;
-
-//##
-//## Image Browsing
-//##
-config.ImageBrowser = false ;
-// Custom Page URL
-//config.ImageBrowserURL = config.BasePath + "filemanager/browse/sample_html/browse.html" ;
-//config.ImageBrowserURL = config.BasePath + "filemanager/browse/inportal/browse.php" ;
-//config.ImageBrowserURL = config.BasePath + "filemanager/browse/sample_jsp/browse.jsp?type=img" ;
-// Image browsing window sizes
-config.ImageBrowserWindowWidth = 400 ;
-config.ImageBrowserWindowHeight = 250 ;
-
-//##
-//## Image Upload
-//##
-config.ImageUpload = true ;
-// Page that effectivelly upload the image.
-config.ImageUploadURL = config.BasePath + "filemanager/upload/php/upload.php" ;
-//config.ImageUploadURL = config.BasePath + "filemanager/upload/aspx/upload.aspx" ;
-//config.ImageUploadURL = config.BasePath + "filemanager/upload/cfm/upload.cfm" ;
-//config.ImageUploadURL = config.BasePath + "filemanager/upload/php/upload.php" ;
-//config.ImageUploadURL = config.BasePath + "filemanager/upload/jsp/upload.jsp" ;
-// Image upload window sizes
-config.ImageUploadWindowWidth = 300 ;
-config.ImageUploadWindowHeight = 150 ;
-config.ImageUploadAllowedExtensions = ".gif .jpg .jpeg .png" ;
-
-//##
-//## Link Browsing
-//##
-config.LinkBrowser = false ;
-// Custom Page URL
-//config.LinkBrowserURL = config.BasePath + "filemanager/browse/sample_html/browsefile.html" ;
-//config.LinkBrowserURL = config.BasePath + "filemanager/browse/sample_jsp/browse.jsp?type=doc" ;
-// Link browsing window sizes
-config.LinkBrowserWindowWidth = 400 ;
-config.LinkBrowserWindowHeight = 250 ;
-
-//##
-//## Link Upload
-//##
-config.LinkUpload = false ;
-// Page that effectivelly upload the Link file.
-//config.LinkUploadURL = config.BasePath + "filemanager/upload/asp/upload.asp" ;
-//config.LinkUploadURL = config.BasePath + "filemanager/upload/aspx/upload.aspx" ;
-//config.LinkUploadURL = config.BasePath + "filemanager/upload/cfm/upload.cfm" ;
-//config.LinkUploadURL = config.BasePath + "filemanager/upload/php/upload.php" ;
-//config.LinkUploadURL = config.BasePath + "filemanager/upload/jsp/upload.jsp" ;
-// Link upload window sizes
-config.LinkUploadWindowWidth = 300 ;
-config.LinkUploadWindowHeight = 150 ;
-config.LinkUploadAllowedExtensions = "*" ; // * or empty for all
-config.LinkUploadDeniedExtensions = ".exe .asp .php .aspx .js .cfm .dll" ; // empty for no one
-
-//##
-//## Smiley Dialog
-//##
-//config.SmileyPath = config.BasePath + "images/smiley/fun/" ;
-//config.SmileyImages = ["aiua.gif","ak.gif","alien.gif","alien2.gif","angry.gif","angry1.gif","apophys.gif","assjani.gif","asthanos.gif","bazuzeus.gif","beaute.gif","bigsmile.gif","blush.gif","boid.gif","bonk.gif","bored.gif","borg.gif","capo.gif","confused.gif","cool.gif","crazy.gif","cwm14.gif","demis_roussos.gif","devil.gif","devil2.gif","double0smile.gif","eek3.gif","eltaf.gif","gele.gif","halm.gif","happy.gif","icon12.gif","icon23.gif","icon26.gif","icon_angel.gif","icon_bandit.gif","icon_bravo.gif","icon_clown.gif","jesors.gif","jesors1.gif","lol3.gif","love.gif","mad.gif","megaphone.gif","mmm.gif","music.gif","notify.gif","nuts.gif","obanon.gif","ouaip.gif","pleure.gif","plugin.gif","question.gif","question2.gif","rasta2.gif","rastapop.gif","rosebud.gif","sad.gif","sad2.gif","shocked.gif","sick.gif","sick2.gif","slaap.gif","sleep.gif","smile.gif","smiley_peur.gif","sors.gif","sovxx.gif","spamafote.gif","tap67.gif","thumbdown.gif","thumbup.gif","tigi.gif","toad666.gif","tongue.gif","tuffgong.gif","urgeman.gif","vanadium.gif","wink.gif","worship.gif","wouaf.gif","wow.gif","xp1700.gif","yltype.gif","yopyopyop.gif","youpi.gif","zoor.gif"] ;
-config.SmileyPath = config.BasePath + "images/smiley/msn/" ;
-config.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"] ;
-config.SmileyColumns = 7 ;
-config.SmileyWindowWidth = 500 ;
-config.SmileyWindowHeight = 200 ;
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_config.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.3
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/dhtmled.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/dhtmled.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/dhtmled.js (nonexistent)
@@ -1,83 +0,0 @@
-// DHTML Editing Component Constants for JavaScript
-// Copyright 1998 Microsoft Corporation. All rights reserved.
-
-//
-// Command IDs
-//
-DECMD_BOLD = 5000
-DECMD_COPY = 5002
-DECMD_CUT = 5003
-DECMD_DELETE = 5004
-DECMD_DELETECELLS = 5005
-DECMD_DELETECOLS = 5006
-DECMD_DELETEROWS = 5007
-DECMD_FINDTEXT = 5008
-DECMD_FONT = 5009
-DECMD_GETBACKCOLOR = 5010
-DECMD_GETBLOCKFMT = 5011
-DECMD_GETBLOCKFMTNAMES = 5012
-DECMD_GETFONTNAME = 5013
-DECMD_GETFONTSIZE = 5014
-DECMD_GETFORECOLOR = 5015
-DECMD_HYPERLINK = 5016
-DECMD_IMAGE = 5017
-DECMD_INDENT = 5018
-DECMD_INSERTCELL = 5019
-DECMD_INSERTCOL = 5020
-DECMD_INSERTROW = 5021
-DECMD_INSERTTABLE = 5022
-DECMD_ITALIC = 5023
-DECMD_JUSTIFYCENTER = 5024
-DECMD_JUSTIFYLEFT = 5025
-DECMD_JUSTIFYRIGHT = 5026
-DECMD_LOCK_ELEMENT = 5027
-DECMD_MAKE_ABSOLUTE = 5028
-DECMD_MERGECELLS = 5029
-DECMD_ORDERLIST = 5030
-DECMD_OUTDENT = 5031
-DECMD_PASTE = 5032
-DECMD_REDO = 5033
-DECMD_REMOVEFORMAT = 5034
-DECMD_SELECTALL = 5035
-DECMD_SEND_BACKWARD = 5036
-DECMD_BRING_FORWARD = 5037
-DECMD_SEND_BELOW_TEXT = 5038
-DECMD_BRING_ABOVE_TEXT = 5039
-DECMD_SEND_TO_BACK = 5040
-DECMD_BRING_TO_FRONT = 5041
-DECMD_SETBACKCOLOR = 5042
-DECMD_SETBLOCKFMT = 5043
-DECMD_SETFONTNAME = 5044
-DECMD_SETFONTSIZE = 5045
-DECMD_SETFORECOLOR = 5046
-DECMD_SPLITCELL = 5047
-DECMD_UNDERLINE = 5048
-DECMD_UNDO = 5049
-DECMD_UNLINK = 5050
-DECMD_UNORDERLIST = 5051
-DECMD_PROPERTIES = 5052
-
-//
-// Enums
-//
-
-// OLECMDEXECOPT
-OLECMDEXECOPT_DODEFAULT = 0
-OLECMDEXECOPT_PROMPTUSER = 1
-OLECMDEXECOPT_DONTPROMPTUSER = 2
-
-// DHTMLEDITCMDF
-DECMDF_NOTSUPPORTED = 0
-DECMDF_DISABLED = 1
-DECMDF_ENABLED = 3
-DECMDF_LATCHED = 7
-DECMDF_NINCHED = 11
-
-// DHTMLEDITAPPEARANCE
-DEAPPEARANCE_FLAT = 0
-DEAPPEARANCE_3D = 1
-
-// OLE_TRISTATE
-OLE_TRISTATE_UNCHECKED = 0
-OLE_TRISTATE_CHECKED = 1
-OLE_TRISTATE_GRAY = 2
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/dhtmled.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_displaychange.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_displaychange.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_displaychange.js (nonexistent)
@@ -1,103 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_displaychange.js: Functions fired on the editor's change event.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-var oFontStyle ;
-var oFontFormatCombo ;
-var oFontNameCombo ;
-var oFontSizeCombo ;
-
-function checkDecCommand(cmdId)
-{
- if (objContent.Busy) return OLE_TRISTATE_GRAY ;
- switch (objContent.QueryStatus(cmdId))
- {
- case (DECMDF_DISABLED || DECMDF_NOTSUPPORTED) :
- return OLE_TRISTATE_GRAY ;
- case (DECMDF_ENABLED || DECMDF_NINCHED) :
- return OLE_TRISTATE_UNCHECKED ;
- default : // DECMDF_LATCHED
- return OLE_TRISTATE_CHECKED ;
- }
-}
-
-function checkDocCommand(command)
-{
- if (objContent.Busy) return OLE_TRISTATE_GRAY ;
- return (objContent.DOM && objContent.DOM.queryCommandValue(command)) ;
-}
-
-function checkShowTableBorders()
-{
- return objContent.ShowBorders ;
-}
-
-function checkShowDetails()
-{
- return objContent.ShowDetails ;
-}
-
-function CheckStyle(comboName)
-{
- if (oFontStyle == null) oFontStyle = document.getElementById(comboName) ;
- //CheckComboValue(oFontFormatCombo,DECMD_GETBLOCKFMT) ;
-}
-
-function CheckFontFormat(comboName)
-{
- if (oFontFormatCombo == null) oFontFormatCombo = document.getElementById(comboName) ;
-
- // Load all available Format Block options
- if (oFontFormatCombo.options.length == 0)
- {
- if (!FCKFormatBlockNames) loadFormatBlockNames() ;
-
- for (var i = 0 ; i < FCKFormatBlockNames.length ; i++)
- {
- oFontFormatCombo.options[oFontFormatCombo.options.length] = new Option(FCKFormatBlockNames[i], FCKFormatBlockNames[i]) ;
- }
- }
-
- CheckComboValue(oFontFormatCombo,DECMD_GETBLOCKFMT) ;
-}
-
-function CheckFontName(comboName)
-{
- if (oFontNameCombo == null) oFontNameCombo = document.getElementById(comboName) ;
- CheckComboValue(oFontNameCombo,DECMD_GETFONTNAME) ;
-}
-
-function CheckFontSize(comboName)
-{
- if (oFontSizeCombo == null) oFontSizeCombo = document.getElementById(comboName) ;
- CheckComboValue(oFontSizeCombo,DECMD_GETFONTSIZE) ;
-}
-
-function CheckComboValue(combo,command)
-{
- if (!combo) return ;
-
- var sValue = "" ;
- var s = objContent.QueryStatus(command) ;
-
- if (s == DECMDF_DISABLED || s == DECMDF_NOTSUPPORTED)
- combo.disabled = true ;
- else
- {
- combo.disabled = false ;
- sValue = objContent.ExecCommand(command, OLECMDEXECOPT_DODEFAULT);
- }
- combo.value = sValue ;
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_displaychange.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_lang.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_lang.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_lang.js (nonexistent)
@@ -1,92 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_lang.js: Handles multi language functionality.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-var lang = new Object() ;
-
-var AvailableLangs = new Object() ;
-
-AvailableLangs["bs"] = true ;
-AvailableLangs["cs"] = true ;
-AvailableLangs["da"] = true ;
-AvailableLangs["de"] = true ;
-AvailableLangs["en"] = true ;
-AvailableLangs["es"] = true ;
-AvailableLangs["fi"] = true ;
-AvailableLangs["fr"] = true ;
-AvailableLangs["gr"] = true ;
-AvailableLangs["hu"] = true ;
-AvailableLangs["is"] = true ;
-AvailableLangs["it"] = true ;
-AvailableLangs["jp"] = true ;
-AvailableLangs["ko"] = true ;
-AvailableLangs["nl"] = true ;
-AvailableLangs["no"] = true ;
-AvailableLangs["pl"] = true ;
-AvailableLangs["pt-br"] = true ;
-AvailableLangs["ro"] = true ;
-AvailableLangs["ru"] = true ;
-AvailableLangs["sk"] = true ;
-AvailableLangs["sv"] = true ;
-AvailableLangs["tr"] = true ;
-AvailableLangs["zh-cn"] = true ;
-
-AvailableLangs.GetActiveLanguage = function()
-{
- if ( config.AutoDetectLanguage )
- {
- var sUserLang = navigator.userLanguage.toLowerCase() ;
-
- if ( this[sUserLang] )
- return sUserLang ;
- else if ( sUserLang.length > 2 )
- {
- sUserLang = sUserLang.substr(0,2) ;
- if ( this[sUserLang] )
- return sUserLang ;
- }
- }
-
- return config.DefaultLanguage ;
-}
-
-document.write('<script src="lang/' + AvailableLangs.GetActiveLanguage() + '.js" type="text/javascript"><\/script>') ;
-
-AvailableLangs.TranslatePage = function( targetDocument )
-{
- // Gets all INPUT elements and translate then values
- var aInputs = targetDocument.getElementsByTagName("INPUT") ;
- for ( i = 0 ; i < aInputs.length ; i++ )
- {
- if ( aInputs[i].fckLang )
- aInputs[i].value = lang[ aInputs[i].fckLang ] ;
- }
-
- // Gets all SPAN elements and translate then cotents
- var aSpans = targetDocument.getElementsByTagName("SPAN") ;
- for ( i = 0 ; i < aSpans.length ; i++ )
- {
- if ( aSpans[i].fckLang )
- aSpans[i].innerText = lang[ aSpans[i].fckLang ] ;
- }
-
- // Gets all OPTION elements and translate then cotents
- var aOptions = targetDocument.getElementsByTagName("OPTION") ;
- for ( i = 0 ; i < aOptions.length ; i++ )
- {
- if ( aOptions[i].fckLang )
- aOptions[i].innerText = lang[ aOptions[i].fckLang ] ;
- }
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_lang.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_actions.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_actions.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_actions.js (nonexistent)
@@ -1,353 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_actions.js: Actions called by the toolbar.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-function SetFocus()
-{
- if (BrowserInfo.IsIE55OrMore)
- objContent.DOM.focus() ;
- else
- objContent.focus() ;
-}
-
-function decCommand(cmdId, cmdExecOpt, url)
-{
- var status = objContent.QueryStatus(cmdId) ;
-
- if ( status != DECMDF_DISABLED && status != DECMDF_NOTSUPPORTED )
- {
- if (cmdExecOpt == null) cmdExecOpt = OLECMDEXECOPT_DODEFAULT ;
- objContent.ExecCommand(cmdId, cmdExecOpt, url) ;
- }
- SetFocus() ;
-}
-
-function docCommand(command)
-{
- objContent.DOM.execCommand(command) ;
- SetFocus();
-}
-
-function doStyle(command)
-{
- var oSelection = objContent.DOM.selection ;
- var oTextRange = oSelection.createRange() ;
-
- if (oSelection.type == "Text")
- {
- decCommand(DECMD_REMOVEFORMAT);
- if (!FCKFormatBlockNames) loadFormatBlockNames() ;
- doFormatBlock( FCKFormatBlockNames[0] ); // This value is loaded at CheckFontFormat()
-
- var oFont = document.createElement("FONT") ;
- oFont.innerHTML = oTextRange.htmlText ;
-
- var oParent = oTextRange.parentElement() ;
- var oFirstChild = oFont.firstChild ;
-
- if (oFirstChild.nodeType == 1 && oFirstChild.outerHTML == oFont.innerHTML &&
- (oFirstChild.tagName == "SPAN"
- || oFirstChild.tagName == "FONT"
- || oFirstChild.tagName == "P"
- || oFirstChild.tagName == "DIV"))
- {
- oParent.className = command.value ;
- }
- else
- {
- oFont.className = command.value ;
- oTextRange.pasteHTML( oFont.outerHTML ) ;
- }
- }
- else if (oSelection.type == "Control" && oTextRange.length == 1)
- {
- var oControl = oTextRange.item(0) ;
- oControl.className = command.value ;
- }
-
- command.selectedIndex = 0 ;
-
- SetFocus();
-}
-
-function doFormatBlock(combo)
-{
- if (combo.value == null || combo.value == "")
- {
- if (!FCKFormatBlockNames) loadFormatBlockNames() ;
- objContent.ExecCommand(DECMD_SETBLOCKFMT, OLECMDEXECOPT_DODEFAULT, FCKFormatBlockNames[0]);
- }
- else
- objContent.ExecCommand(DECMD_SETBLOCKFMT, OLECMDEXECOPT_DODEFAULT, combo.value);
-
- SetFocus();
-}
-
-function doFontName(combo)
-{
- if (combo.value == null || combo.value == "")
- {
- // TODO: Remove font name attribute.
- }
- else
- objContent.ExecCommand(DECMD_SETFONTNAME, OLECMDEXECOPT_DODEFAULT, combo.value);
-
- SetFocus();
-}
-
-function doFontSize(combo)
-{
- if (combo.value == null || combo.value == "")
- {
- // TODO: Remove font size attribute (Now it works with size 3. Will it work forever?)
- objContent.ExecCommand(DECMD_SETFONTSIZE, OLECMDEXECOPT_DODEFAULT, 3);
- }
- else
- objContent.ExecCommand(DECMD_SETFONTSIZE, OLECMDEXECOPT_DODEFAULT, parseInt(combo.value));
-
- SetFocus();
-}
-
-function dialogImage()
-{
- var html = FCKShowDialog("dialog/fck_image.html", window, 400, 380);
- // The response is the IMG tag HTML
- if (html) insertHtml(html) ;
- SetFocus() ;
-}
-
-function dialogTable(searchParentTable)
-{
- if (searchParentTable)
- {
- var oRange = objContent.DOM.selection.createRange() ;
- var oParent = oRange.parentElement() ;
-
- while (oParent && oParent.nodeName != "TABLE")
- {
- oParent = oParent.parentNode ;
- }
-
- if (oParent && oParent.nodeName == "TABLE")
- {
- var oControlRange = objContent.DOM.body.createControlRange();
- oControlRange.add( oParent ) ;
- oControlRange.select() ;
- }
- else
- return ;
- }
-
- FCKShowDialog("dialog/fck_table.html", window, 350, 210);
- SetFocus() ;
-}
-
-function dialogTableCell()
-{
- FCKShowDialog("dialog/fck_tablecell.html", window, 500, 220);
- SetFocus() ;
-}
-
-function dialogLink()
-{
- if (checkDecCommand(DECMD_HYPERLINK) != OLE_TRISTATE_GRAY)
- {
- FCKShowDialog("dialog/fck_link.html", window, 400, 190);
- SetFocus() ;
- }
-}
-
-// insertHtml(): Insert HTML at the current document position.
-function insertHtml(html)
-{
- if (objContent.DOM.selection.type.toLowerCase() != "none")
- objContent.DOM.selection.clear() ;
- objContent.DOM.selection.createRange().pasteHTML(html) ;
- SetFocus() ;
-}
-
-function foreColor()
-{
- var color = FCKShowDialog("dialog/fck_selcolor.html", window, 370, 240);
- if (color) objContent.ExecCommand(DECMD_SETFORECOLOR,OLECMDEXECOPT_DODEFAULT, color) ;
- SetFocus();
-}
-
-function backColor()
-{
- var color = FCKShowDialog("dialog/fck_selcolor.html", window, 370, 240);
- if (color) objContent.ExecCommand(DECMD_SETBACKCOLOR,OLECMDEXECOPT_DODEFAULT, color) ;
- SetFocus();
-}
-
-function insertSpecialChar()
-{
- var html = FCKShowDialog("dialog/fck_specialchar.html", window, 400, 250);
- if (html) insertHtml(html) ;
- SetFocus() ;
-}
-
-function insertSmiley()
-{
- var html = FCKShowDialog("dialog/fck_smiley.html", window, config.SmileyWindowWidth, config.SmileyWindowHeight) ;
- if (html) insertHtml(html) ;
- SetFocus() ;
-}
-
-function FCKShowDialog(pagePath, args, width, height)
-{
- return showModalDialog(pagePath, args, "dialogWidth:" + width + "px;dialogHeight:" + height + "px;help:no;scroll:no;status:no");
-}
-
-function about()
-{
- FCKShowDialog("dialog/fck_about.html", window, 460, 290);
-}
-
-function pastePlainText()
-{
- var sText = HTMLEncode( clipboardData.getData("Text") ) ;
- sText = sText.replace(/\n/g,'<BR>') ;
- insertHtml(sText) ;
-}
-
-function pasteFromWord()
-{
- if (BrowserInfo.IsIE55OrMore)
- cleanAndPaste( GetClipboardHTML() ) ;
- else if ( confirm( lang["NotCompatiblePaste"] ) )
- decCommand(DECMD_PASTE) ;
-}
-
-function cleanAndPaste( html )
-{
- // Remove all SPAN tags
- html = html.replace(/<\/?SPAN[^>]*>/gi, "" );
- // Remove Class attributes
- html = html.replace(/<(\w[^>]*) class=([^ |>]*)([^>]*)/gi, "<$1$3") ;
- // Remove Style attributes
- html = html.replace(/<(\w[^>]*) style="([^"]*)"([^>]*)/gi, "<$1$3") ;
- // Remove Lang attributes
- html = html.replace(/<(\w[^>]*) lang=([^ |>]*)([^>]*)/gi, "<$1$3") ;
- // Remove XML elements and declarations
- html = html.replace(/<\\?\?xml[^>]*>/gi, "") ;
- // Remove Tags with XML namespace declarations: <o:p></o:p>
- html = html.replace(/<\/?\w+:[^>]*>/gi, "") ;
- // Replace the &nbsp;
- html = html.replace(/&nbsp;/, " " );
- // Transform <P> to <DIV>
- var re = new RegExp("(<P)([^>]*>.*?)(<\/P>)","gi") ; // Different because of a IE 5.0 error
- html = html.replace( re, "<div$2</div>" ) ;
-
- insertHtml( html ) ;
-}
-
-function GetClipboardHTML()
-{
- var oDiv = document.getElementById("divTemp")
- oDiv.innerHTML = "" ;
-
- var oTextRange = document.body.createTextRange() ;
- oTextRange.moveToElementText(oDiv) ;
- oTextRange.execCommand("Paste") ;
-
- var sData = oDiv.innerHTML ;
- oDiv.innerHTML = "" ;
-
- return sData ;
-}
-
-function HTMLEncode(text)
-{
- text = text.replace(/&/g, "&amp;") ;
- text = text.replace(/"/g, "&quot;") ;
- text = text.replace(/</g, "&lt;") ;
- text = text.replace(/>/g, "&gt;") ;
- text = text.replace(/'/g, "&#146;") ;
-
- return text ;
-}
-
-function showTableBorders()
-{
- objContent.ShowBorders = !objContent.ShowBorders ;
- SetFocus() ;
-}
-
-function showDetails()
-{
- objContent.ShowDetails = !objContent.ShowDetails ;
- SetFocus() ;
-}
-
-var FCKFormatBlockNames ;
-
-function loadFormatBlockNames()
-{
- var oNamesParm = new ActiveXObject("DEGetBlockFmtNamesParam.DEGetBlockFmtNamesParam") ;
- objContent.ExecCommand(DECMD_GETBLOCKFMTNAMES, OLECMDEXECOPT_DODEFAULT, oNamesParm);
- var vbNamesArray = new VBArray(oNamesParm.Names) ;
-
- FCKFormatBlockNames = vbNamesArray.toArray() ;
-}
-
-function doZoom( sizeCombo )
-{
- if (sizeCombo.value != null || sizeCombo.value != "")
- objContent.DOM.body.runtimeStyle.zoom = sizeCombo.value + "%" ;
-}
-
-function insertList( type )
-{
- var oDoc = objContent.DOM ;
- if ( !config.UseBROnCarriageReturn || oDoc.queryCommandState( 'InsertOrderedList' ) || oDoc.queryCommandState( 'InsertUnorderedList' ) )
- {
- if ( type == 'ul' )
- decCommand( DECMD_UNORDERLIST ) ;
- else
- decCommand( DECMD_ORDERLIST ) ;
- }
- else
- {
- insertHtml('<' + type + '><li id="____tempLI">.</li></' + type + '>') ;
-
- var oLI = oDoc.getElementById( '____tempLI' ) ;
- oLI.removeAttribute("id") ;
-
- var oRange = oDoc.selection.createRange() ;
- oRange.moveToElementText( oLI ) ;
- oRange.findText( '.' ) ;
- oRange.select() ;
- oDoc.selection.clear() ;
- }
-}
-
-//function to perform spell check
-function SpellCheck()
-{
- try {
- var tmpis = new ActiveXObject( "ieSpell.ieSpellExtension" ) ;
- tmpis.CheckAllLinkedDocuments( objContent );
- }
- catch(exception) {
- if( exception.number == -2146827859 )
- {
- if ( confirm( "Spell checker not installed. Do you want to download it now?" ) )
- window.open( config.SpellCheckerDownloadUrl , "SpellCheckerDownload" );
- }
- else
- alert("Error Loading ieSpell: Exception " + exception.number);
- }
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_actions.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_editor.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_editor.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_editor.js (nonexistent)
@@ -1,311 +0,0 @@
-/*
-
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_editor.js: Main script that initializes the editor.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-var bInitialized = false ;
-var bDataLoaded = false ;
-
-function initEditor()
-{
- if (! bInitialized)
- {
- bInitialized = true ;
-
- loadToolbarSet() ;
- loadToolbarSourceSet() ;
-
- objContent.BaseURL = config.BaseUrl ;
- }
-
- if (! bDataLoaded && ! objContent.Busy)
- {
- bDataLoaded = true ;
-
- objContent.DOM.body.onpaste = onPaste ;
- objContent.DOM.body.ondrop = onDrop ;
-
- objContent.DOM.body.onkeydown = onKeyDown ;
-
- objContent.ShowBorders = config.StartupShowBorders ;
- objContent.ShowDetails = config.StartupShowDetails ;
-
- //alert(config.EditorAreaCSS);
- objContent.DOM.createStyleSheet(config.EditorAreaCSS) ;
- setLinkedField() ;
- setTimeout("loadStylesheet()",1000);
- }
-}
-
-// Method: loadToolbarSet()
-// Description: Loads a toobar buttons set from an array inside the Toolbar holder.
-// Author: FredCK
-function loadToolbarSet()
-{
- var sToolBarSet = URLParams["Toolbar"] == null ? "Default" : URLParams["Toolbar"] ;
-
- // FredCK: Toobar holder (DIV)
- var oToolbarHolder = document.getElementById("divToolbar") ;
-
- var oToolbar = new TBToolbar() ;
- oToolbar.LoadButtonsSet( sToolBarSet ) ;
- oToolbarHolder.innerHTML = oToolbar.GetHTML() ;
-
-}
-
-function loadToolbarSourceSet()
-{
- // FredCK: Toobar holder (DIV)
- var oToolbarHolder = document.getElementById("divToolbarSource") ;
-
- var oToolbar = new TBToolbar() ;
- oToolbar.LoadButtonsSet( "Source" ) ;
- oToolbarHolder.innerHTML = oToolbar.GetHTML() ;
-}
-
-function switchEditMode()
-{
- var bSource = (trSource.style.display == "none") ;
-
- if (bSource)
- txtSource.value = objContent.DOM.body.innerHTML ;
- else
- {
- objContent.DOM.body.innerHTML = "<div id=__tmpFCKRemove__>&nbsp;</div>" + txtSource.value ;
- objContent.DOM.getElementById('__tmpFCKRemove__').removeNode(true) ;
- }
-
- trEditor.style.display = bSource ? "none" : "inline" ;
- trSource.style.display = bSource ? "inline" : "none" ;
-
- events.fireEvent('onViewMode', bSource) ;
-}
-
-// setValue(): called from reset() to make a select list show the current font
-// or style attributes
-function selValue(el, str, text)
-{
- //if (!RichEditor.txtView) return; // Disabled in View Source mode
- for (var i = 0; i < el.length; i++)
- {
- if (((text || !el[i].value) && el[i].text == str) || ((!text || el[i].value) && el[i].value == str))
- {
- el.selectedIndex = i;
- return;
- }
- }
- el.selectedIndex = 0;
-}
-
-var oLinkedField = null ;
-function setLinkedField()
-{
- if (! URLParams['FieldName']) return ;
-
- oLinkedField = parent.document.getElementsByName(URLParams['FieldName'])[0] ;
-
- if (! oLinkedField) return ;
-
- // __tmpFCKRemove__ added and removed to solve DHTML component error when loading "<p><hr></p>"
- objContent.DOM.body.innerHTML = "<div id=__tmpFCKRemove__>&nbsp;</div>" + oLinkedField.value ;
- objContent.DOM.getElementById('__tmpFCKRemove__').removeNode(true) ;
-
- var oForm = oLinkedField.form ;
-
- if (!oForm) return ;
-
- // Attaches the field update to the onsubmit event
- oForm.attachEvent("onsubmit", setFieldValue) ;
-
- // Attaches the field update to the submit method (IE doesn't fire onsubmit on this case)
- if (! oForm.updateFCKEditor) oForm.updateFCKEditor = new Array() ;
- oForm.updateFCKEditor[oForm.updateFCKEditor.length] = setFieldValue ;
- if (! oForm.originalSubmit)
- {
- oForm.originalSubmit = oForm.submit ;
- oForm.submit = function()
- {
- if (this.updateFCKEditor)
- {
- for (var i = 0 ; i < this.updateFCKEditor.length ; i++)
- {
- this.updateFCKEditor[i]() ;
- }
- }
- this.originalSubmit() ;
- }
- }
-}
-
-function setFieldValue()
-{
- if (trSource.style.display != "none")
- {
- switchEditMode() ;
- }
-
- if (config.EnableXHTML)
- {
- window.status = lang["ProcessingXHTML"] ;
- oLinkedField.value = getXhtml( objContent.DOM.body ) ;
- window.status = 'Done' ;
- }
- else
- oLinkedField.value = objContent.DOM.body.innerHTML ;
-}
-
-function onPaste()
-{
- if (config.ForcePasteAsPlainText)
- {
- pastePlainText() ;
- return false ;
- }
- else if (config.AutoDetectPasteFromWord && BrowserInfo.IsIE55OrMore)
- {
- var sHTML = GetClipboardHTML() ;
- var re = /<\w[^>]* class="?MsoNormal"?/gi ;
- if ( re.test( sHTML ) )
- {
- if ( confirm( lang["PasteWordConfirm"] ) )
- {
- cleanAndPaste( sHTML ) ;
- return false ;
- }
- }
- }
- else
- return true ;
-}
-
-function onDrop()
-{
- if (config.ForcePasteAsPlainText)
- {
- var sText = HTMLEncode( objContent.DOM.parentWindow.event.dataTransfer.getData("Text") ) ;
- sText = sText.replace(/\n/g,'<BR>') ;
- insertHtml(sText) ;
- return false ;
- }
- else if (config.AutoDetectPasteFromWord && BrowserInfo.IsIE55OrMore)
- {
- // TODO
- // To find a way to get the HTML that is dropped,
- // clean it and insert it into the document.
- return true ;
- }
- else
- return true ;
-}
-
-function onKeyDown()
-{
- var oWindow = objContent.DOM.parentWindow ;
-
- if ( oWindow.event.ctrlKey || oWindow.event.altKey || oWindow.event.shiftKey )
- {
- oWindow.event.returnValue = true ;
- return ;
- }
-
- if ( oWindow.event.keyCode == 9 && config.TabSpaces > 0 ) // added tab support
- {
- var sSpaces = "" ;
- for ( i = 0 ; i < config.TabSpaces ; i++ )
- sSpaces += "&nbsp;" ;
- insertHtml( sSpaces ) ;
- }
- else if ( oWindow.event.keyCode == 13 && config.UseBROnCarriageReturn )
- {
- if ( objContent.DOM.queryCommandState( 'InsertOrderedList' ) || objContent.DOM.queryCommandState( 'InsertUnorderedList' ) )
- {
- oWindow.event.returnValue = true ;
- return ;
- }
-
- insertHtml("<br>&nbsp;") ;
-
- var oRange = objContent.DOM.selection.createRange() ;
- oRange.moveStart('character',-1) ;
- oRange.select() ;
- objContent.DOM.selection.clear() ;
-
- oWindow.event.returnValue = false ;
- }
-}
-
-function loadStylesheet()
-{
- var a,b;
- var styleList = new Array();
-
- passedValue = objContent.DOM.styleSheets;
-
- for (var i = 0; passedValue && i < passedValue.length; i++)
- {
- for (var j = 0; j < passedValue[i].rules.length; j++)
- {
- // Extract the rule and the rule definition from the passed style
- // data.
- a = passedValue[i].rules[j].selectorText.toString();
- b = passedValue[i].rules[j].style.cssText;
- //alert(a + " --> " + b);
- //document.body.innerHTML += a + " --> " + b + "<Br>";
- // Ignore non-style entries
- if (!a || !b) continue;
-
- // Id: These are added to the document style sheet but are not
- // available in the style dropdown
- if (a.indexOf("#") != -1)
- {
- continue;
- }
-
- // Class: Append a cless element to the style list
- if (a.indexOf(".") == 0)
- {
- styleList[styleList.length] = [a.substr(1), "Class " + a, 1];
- //alert('Adding class '+a);
- }
-
- // SubClass: Append the sub-class to the style list
- else if(a.indexOf(".") > 0)
- {
- l = a.split(".");
- styleList[styleList.length] = [l[1], a, 1];
- }
-
- // Otherwise, assume it's a tag and select the existing tag entry
- // in the style list.
- else
- {
- styleList[styleList.length] = [a, a.toLowerCase(), 1];
- }
- }
- }
-
- for (var i = 0; i < styleList.length; i++)
- {
- var oOption = document.createElement("OPTION");
- if (styleList[i][0]) oOption.value = styleList[i][0];
- oOption.text = styleList[i][1];
- oOption.style.backgroundColor = 'white';
- // Choose the combobox, in this case cmbFontStyle
- if(document.all.cmbFontStyle)
- {
- document.all.cmbFontStyle.add(oOption);
- }
- }
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_editor.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_toolbar.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_toolbar.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_toolbar.js (nonexistent)
@@ -1,335 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * fck_toolbar.js: Creates and handles the toolbar.
- *
- * Authors:
- * Frederico Caldeira Knabben (fckeditor@fredck.com)
- */
-
-//##
-//## Command Type Enum
-//##
-TBCMD_DEC = 0 ;
-TBCMD_DOC = 1 ;
-TBCMD_CUSTOM = 2 ;
-
-// -----------------------------------------------------------------
-// -- TBToolbar class - The Main (upper level) toolbar object.
-// -----------------------------------------------------------------
-function TBToolbar()
-{
- this.Bands = new TBBandList() ; // The Toolbar Bands collection.
-}
-TBToolbar.prototype.GetHTML = TBToolbar_GetHTML ;
-TBToolbar.prototype.LoadButtonsSet = TBToolbar_LoadButtonsSet ;
-
-function TBToolbar_GetHTML()
-{
- var sHTML = '<TABLE width="100%" class="Toolbar" cellspacing="0" cellpadding="0" border="0" unselectable="on"><TR><TD>' ;
- var oBand ;
-
- for (iBand = 0 ; iBand < this.Bands.Array.length ; iBand++)
- {
- sHTML += '<TABLE class="Toolbar" cellspacing="0" cellpadding="0" border="0" unselectable="on"><TR>' ;
-
- oBand = this.Bands.Array[iBand]
- for (iItem = 0 ; iItem < oBand.Items.Array.length ; iItem++)
- {
- sHTML += '<TD>' + oBand.Items.Array[iItem].GetHTML() + '</TD>' ;
- }
-
- sHTML += '</TR></TABLE>' ;
- }
-
- return '</TD></TR></TABLE>' + sHTML ;
-}
-
-function TBToolbar_LoadButtonsSet(toolbarSetName)
-{
- var ToolbarSet = config.ToolbarSets[toolbarSetName] ;
-
- if (! ToolbarSet)
- {
- alert('Toolbar set "' + toolbarSetName + '" doesn\'t exist') ;
- return ;
- }
-
- this.Bands = new TBBandList() ;
- var oBand ;
- var sItem ;
-
- for (iBand = 0 ; iBand < ToolbarSet.length ; iBand++)
- {
- oBand = this.Bands.Add() ;
- for (iItem in ToolbarSet[iBand])
- {
- sItem = ToolbarSet[iBand][iItem] ;
- if ((sItem) == '-')
- oBand.Items.Add(new TBSeparator()) ;
- else
- oBand.Items.Add(oTB_Items[sItem]) ;
- }
- }
-}
-
-// -----------------------------------------------------------------
-// -- TBBandList class - A collection of toolbar bands.
-// -----------------------------------------------------------------
-function TBBandList()
-{
- this.Array = new Array() ;
-}
-TBBandList.prototype.Add = TBBandList_Add ; // Adds a Band to the collection.
-
-function TBBandList_Add(bandName)
-{
- var i = this.Array.length ;
- this.Array[i] = new TBBand(bandName) ;
- return this.Array[i] ;
-}
-
-// -----------------------------------------------------------------
-// -- TBBand class - A toolbar band. It holds a group of items (buttons, combos, etc...).
-// -----------------------------------------------------------------
-function TBBand(bandName)
-{
- this.Name = bandName || "" ; // The Band name
- this.Items = new TBItemList() ; // The Band Items collection.
-}
-
-// -----------------------------------------------------------------
-// -- TBItemList class - A collection of items (TBButton's, TBCombo's, etc...).
-// -----------------------------------------------------------------
-function TBItemList()
-{
- this.Array = new Array() ;
-}
-TBItemList.prototype.Add = TBItemList_Add ; // Adds an Item to the collection.
-
-function TBItemList_Add(objectItem)
-{
- var i = this.Array.length ;
- this.Array[i] = objectItem ;
- return this.Array[i] ;
-}
-
-// -----------------------------------------------------------------
-// -- TBButton class - Represents a toolbar button.
-// -----------------------------------------------------------------
-function TBButton(name, toolTip, command, commandType, onEditingAction, width, height)
-{
- this.Name = name.toLowerCase() ;
- this.ToolTip = toolTip || name ;
- this.Width = width || 21 ;
- this.Height = height || 21 ;
- this.CommandType = commandType || TBCMD_DEC ;
- this.Image = null ;
- this.Active = false ;
-
- switch (this.CommandType)
- {
- case TBCMD_DEC :
- this.Command = "decCommand(" + command + ")" ;
- this.CommandId = command ;
- events.attachEvent('onEditing', this) ;
- break ;
- case TBCMD_DOC :
- this.Command = "docCommand('" + command + "')" ;
- this.CommandCode = command ;
- events.attachEvent('onEditing', this) ;
- break ;
- default :
- this.Command = command || "void(0)" ;
- if (onEditingAction)
- {
- this.OnEditingAction = onEditingAction ;
- events.attachEvent('onEditing', this) ;
- }
- break ;
- }
-}
-TBButton.prototype.GetHTML = TBButton_GetHTML ;
-TBButton.prototype.onEditing = TBButton_onEditing ;
-
-function TBButton_GetHTML()
-{
- this.Active = true ;
- return '<IMG id="btn' + this.Name + '" src="' + config.ToolbarImagesPath + 'button.' + this.Name + '.gif" width=' + this.Width
- + ' height=' + this.Height
- + ' onclick="' + this.Command + '"'
- + ' onload="TBButtonLoad(this,\'' + this.Name + '\');"'
- + ' onmouseover="TBButtonOver(this,\'' + this.Name + '\');"'
- + ' onmouseout="TBButtonOut(this,\'' + this.Name + '\');"'
- + ' ondrag="return false;"'
- + ' class="ButtonHidden"'
- + ' title="' + this.ToolTip + '">' ;
-}
-
-function TBButton_onEditing()
-{
- if (! this.Active) return ;
-
- if (this.Image == null) this.Image = document.getElementById('btn' + this.Name) ;
- if (this.Image && this.Image.Loaded)
- {
- var state ;
- switch (this.CommandType)
- {
- case TBCMD_DEC :
- state = checkDecCommand(this.CommandId) ;
- break ;
- case TBCMD_DOC :
- state = checkDocCommand(this.CommandCode) ;
- break ;
- default :
- if (this.OnEditingAction)
- state = eval(this.OnEditingAction) ;
- break ;
- }
-
- if (state == OLE_TRISTATE_UNCHECKED)
- {
- if (this.Image.onmouseover == null) this.Image.onmouseover = this.Image.BackupOnMouseOver ;
- if (this.Image.onmouseout == null) this.Image.onmouseout = this.Image.BackupOnMouseOut ;
- TBButtonOut(this.Image, this.Name) ;
- }
- else if (state == OLE_TRISTATE_GRAY)
- {
- this.Image.onmouseover = null ;
- this.Image.onmouseout = null ;
- if (this.Image.className != "ButtonOff") this.Image.className = "ButtonOff" ;
- }
- else
- {
- this.Image.onmouseout = null ;
- TBButtonOver(this.Image, this.Name) ;
- }
- }
-}
-
-// -----------------------------------------------------------------
-// -- TBCombo class - Represents a toolbar combo.
-// -----------------------------------------------------------------
-function TBCombo(name, command, label, options, values, onEditingAction, separator)
-{
- separator = separator ? separator : ';' ;
-
- this.Name = name ;
- this.Label = label || "" ;
- this.Command = command ;
- this.Options = options ? options.split( separator ) : new Array() ;
- this.Values = values ? values.split( separator ) : new Array() ;
- this.Active = false ;
-
- if (onEditingAction)
- {
- this.onEditingAction = onEditingAction ;
- events.attachEvent('onEditing', this) ;
- }
-}
-TBCombo.prototype.GetHTML = TBCombo_GetHTML ;
-TBCombo.prototype.onEditing = TBCombo_onEditing ;
-
-function TBCombo_GetHTML()
-{
- this.Active = true ;
-
- var sHTML = this.Label + '&nbsp;\n<SELECT id="cmb' + this.Name + '" onchange="' + this.Command + '">\n' ;
- for (i in this.Options)
- {
- if (this.Values.length > 0)
- sHTML += '<OPTION value="' + this.Values[i] + '">' + this.Options[i] + '</OPTION>\n' ;
- else
- sHTML += '<OPTION>' + this.Options[i] + '</OPTION>\n' ;
- }
- return sHTML + '</SELECT>' ;
-}
-
-function TBCombo_onEditing()
-{
- if (! this.Active) return ;
-
- eval(this.onEditingAction) ;
-}
-
-var iElementNum = 0 ;
-
-// -----------------------------------------------------------------
-// -- TBCheckBox class - Represents a toolbar checkbox.
-// -----------------------------------------------------------------
-function TBCheckBox(name, command, label, eventToListen)
-{
- this.Name = name ;
- this.Command = command ;
- this.Label = label || "" ;
- this.Checkboxes = null ;
-
- if (eventToListen)
- {
- events.attachEvent(eventToListen, this) ;
- this[eventToListen] = this.onEvent ;
- }
-}
-TBCheckBox.prototype.GetHTML = TBCheckBox_GetHTML ;
-TBCheckBox.prototype.onEvent = TBCheckBox_onEvent ;
-
-function TBCheckBox_GetHTML()
-{
- return this.Label + '<INPUT name="chk' + this.Name + '" type=checkbox onclick="' + this.Command + '">' ;
-}
-
-function TBCheckBox_onEvent(checked)
-{
-
- if (this.Checkboxes == null) this.Checkboxes = document.getElementsByName('chk' + this.Name) ;
- if (this.Checkboxes)
- {
- for (i = 0 ; i < this.Checkboxes.length ; i++)
- {
- this.Checkboxes[i].checked = checked ;
- }
- }
-}
-
-// -----------------------------------------------------------------
-// -- TBSeparator class - Represents a toolbar items separator.
-// -----------------------------------------------------------------
-function TBSeparator()
-{
- this.Name = '' ;
-}
-TBSeparator.prototype.GetHTML = TBSeparator_GetHTML ;
-
-function TBSeparator_GetHTML()
-{
- return '<IMG class="spacer" src="' + config.ToolbarImagesPath + 'separator.gif" width=5 height=22>' ;
-}
-
-// Behaviours
-function TBButtonLoad(oImage, Name)
-{
- oImage.onload = null ;
- oImage.className = "ButtonOut" ;
- oImage.BackupOnMouseOver = oImage.onmouseover ;
- oImage.BackupOnMouseOut = oImage.onmouseout ;
-
- oImage.Loaded = true ;
-}
-
-function TBButtonOver(oImage, Name)
-{
- if (oImage.className != "ButtonOver") oImage.className = "ButtonOver" ;
-}
-
-function TBButtonOut(oImage, Name)
-{
- if (oImage.className != "ButtonOut") oImage.className = "ButtonOut" ;
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_toolbar.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.2
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/js/fck_xhtml.js
===================================================================
--- branches/RC/admin/editor/FCKeditor/js/fck_xhtml.js (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/js/fck_xhtml.js (nonexistent)
@@ -1,176 +0,0 @@
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- */
-
-/*
- * fck_xhtml.js - Part 1: String Builder 1.02
- * A class that allows more efficient building of strings than concatenation.
- * For further information: http://webfx.eae.net
- * License: GPL - The GNU General Public License
- *
- * Authors:
- * Erik Arvidsson (http://webfx.eae.net/contact.html#erik)
- */
-
-function StringBuilder(sString) {
-
- // public
- this.length = 0;
-
- this.append = function (sString) {
- // append argument
- this.length += (this._parts[this._current++] = String(sString)).length;
-
- // reset cache
- this._string = null;
- return this;
- };
-
- this.toString = function () {
- if (this._string != null)
- return this._string;
-
- var s = this._parts.join("");
- this._parts = [s];
- this._current = 1;
- this.length = s.length;
-
- return this._string = s;
- };
-
- // private
- this._current = 0;
- this._parts = [];
- this._string = null; // used to cache the string
-
- // init
- if (sString != null)
- this.append(sString);
-}
-
-/*
- * fck_xhtml.js - Part 2: Get XHTML for IE 1.03
- * Serilizes an IE HTML DOM tree to a well formed XHTML string.
- * For further information: http://webfx.eae.net/dhtml/richedit/js/getxhtml.js
- * License: GPL - The GNU General Public License
- *
- * Authors:
- * Erik Arvidsson (http://webfx.eae.net/contact.html#erik)
- */
-
-// Changed by FredCK
-function getXhtml(oNode) {
- var sb = new StringBuilder;
- var cs = oNode.childNodes;
- var l = cs.length;
- for (var i = 0; i < l; i++)
- _appendNodeXHTML(cs[i], sb);
-
- return sb.toString();
-}
-
-function _fixAttribute(s) {
- return String(s).replace(/\&/g, "&amp;").replace(/</g, "&lt;").replace(/\"/g, "&quot;");
-}
-
-function _fixText(s) {
- return String(s).replace(/\&/g, "&amp;").replace(/</g, "&lt;");
-}
-
-function _getAttributeValue(oAttrNode, oElementNode, sb) {
- if (!oAttrNode.specified)
- return;
-
- var name = oAttrNode.expando ? oAttrNode.nodeName : oAttrNode.nodeName.toLowerCase() ; // FredCK: changed
- var value = oAttrNode.nodeValue;
-
- if (name != "style" ) {
- if (!isNaN(value) || name == "src" || name == "href") // IE5.x bugs for number values // FredCK: force to get the correct href or source
- value = oElementNode.getAttribute(name, 2); // FredCK: gets the attributes values as is (2 option)
- sb.append(" " + name + "=\"" + _fixAttribute(value) + "\"");
- }
- else
- sb.append(" style=\"" + _fixAttribute(oElementNode.style.cssText) + "\"");
-}
-
-function _appendNodeXHTML(node, sb) {
-
- switch (node.nodeType) {
- case 1: // ELEMENT
-
- if (node.nodeName == "!") { // IE5.0 and IE5.5 are weird
- sb.append(node.text);
- break;
- }
-
- var name = node.nodeName;
- if (node.scopeName == "HTML")
- name = name.toLowerCase();
-
- sb.append("<" + name);
-
- // attributes
- var attrs = node.attributes;
- var l = attrs.length;
- for (var i = 0; i < l; i++)
- {
- _getAttributeValue(attrs[i], node, sb);
- }
-
- if (name == "input" && node.value)
- sb.append(" value=\"" + _fixAttribute(node.value) + "\"");
-
- if (node.canHaveChildren || node.hasChildNodes()) {
- sb.append(">");
-
- // childNodes
- var cs = node.childNodes;
- l = cs.length;
- for (var i = 0; i < l; i++)
- _appendNodeXHTML(cs[i], sb);
-
- sb.append("</" + name + ">");
- }
- else if (name == "script")
- sb.append(">" + node.text + "</" + name + ">");
- else if (name == "title" || name == "style" || name == "comment")
- sb.append(">" + node.innerHTML + "</" + name + ">");
- else
- sb.append(" />");
-
- break;
-
- case 3: // TEXT
- sb.append( _fixText(node.nodeValue) );
- break;
-
- case 4:
- sb.append("<![CDA" + "TA[\n" + node.nodeValue + "\n]" + "]>");
- break;
-
- case 8:
- //sb.append("<!--" + node.nodeValue + "-->");
- sb.append(node.text);
- if (/(^<\?xml)|(^<\!DOCTYPE)/.test(node.text) )
- sb.append("\n");
- break;
-
- case 9: // DOCUMENT
- // childNodes
- var cs = node.childNodes;
- l = cs.length;
- for (var i = 0; i < l; i++)
- _appendNodeXHTML(cs[i], sb);
- break;
-
- default:
- sb.append("<!--\nNot Supported:\n\n" + "nodeType: " + node.nodeType + "\nnodeName: " + node.nodeName + "\n-->");
- }
-}
\ No newline at end of file
Property changes on: branches/RC/admin/editor/FCKeditor/js/fck_xhtml.js
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/license.txt
===================================================================
--- branches/RC/admin/editor/FCKeditor/license.txt (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/license.txt (nonexistent)
@@ -1,458 +0,0 @@
- GNU LESSER GENERAL PUBLIC LICENSE
- Version 2.1, February 1999
-
- Copyright (C) 1991, 1999 Free Software Foundation, Inc.
- 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- Everyone is permitted to copy and distribute verbatim copies
- of this license document, but changing it is not allowed.
-
-[This is the first released version of the Lesser GPL. It also counts
- as the successor of the GNU Library Public License, version 2, hence
- the version number 2.1.]
-
- Preamble
-
- The licenses for most software are designed to take away your
-freedom to share and change it. By contrast, the GNU General Public
-Licenses are intended to guarantee your freedom to share and change
-free software--to make sure the software is free for all its users.
-
- This license, the Lesser General Public License, applies to some
-specially designated software packages--typically libraries--of the
-Free Software Foundation and other authors who decide to use it. You
-can use it too, but we suggest you first think carefully about whether
-this license or the ordinary General Public License is the better
-strategy to use in any particular case, based on the explanations below.
-
- When we speak of free software, we are referring to freedom of use,
-not price. Our General Public Licenses are designed to make sure that
-you have the freedom to distribute copies of free software (and charge
-for this service if you wish); that you receive source code or can get
-it if you want it; that you can change the software and use pieces of
-it in new free programs; and that you are informed that you can do
-these things.
-
- To protect your rights, we need to make restrictions that forbid
-distributors to deny you these rights or to ask you to surrender these
-rights. These restrictions translate to certain responsibilities for
-you if you distribute copies of the library or if you modify it.
-
- For example, if you distribute copies of the library, whether gratis
-or for a fee, you must give the recipients all the rights that we gave
-you. You must make sure that they, too, receive or can get the source
-code. If you link other code with the library, you must provide
-complete object files to the recipients, so that they can relink them
-with the library after making changes to the library and recompiling
-it. And you must show them these terms so they know their rights.
-
- We protect your rights with a two-step method: (1) we copyright the
-library, and (2) we offer you this license, which gives you legal
-permission to copy, distribute and/or modify the library.
-
- To protect each distributor, we want to make it very clear that
-there is no warranty for the free library. Also, if the library is
-modified by someone else and passed on, the recipients should know
-that what they have is not the original version, so that the original
-author's reputation will not be affected by problems that might be
-introduced by others.
-
- Finally, software patents pose a constant threat to the existence of
-any free program. We wish to make sure that a company cannot
-effectively restrict the users of a free program by obtaining a
-restrictive license from a patent holder. Therefore, we insist that
-any patent license obtained for a version of the library must be
-consistent with the full freedom of use specified in this license.
-
- Most GNU software, including some libraries, is covered by the
-ordinary GNU General Public License. This license, the GNU Lesser
-General Public License, applies to certain designated libraries, and
-is quite different from the ordinary General Public License. We use
-this license for certain libraries in order to permit linking those
-libraries into non-free programs.
-
- When a program is linked with a library, whether statically or using
-a shared library, the combination of the two is legally speaking a
-combined work, a derivative of the original library. The ordinary
-General Public License therefore permits such linking only if the
-entire combination fits its criteria of freedom. The Lesser General
-Public License permits more lax criteria for linking other code with
-the library.
-
- We call this license the "Lesser" General Public License because it
-does Less to protect the user's freedom than the ordinary General
-Public License. It also provides other free software developers Less
-of an advantage over competing non-free programs. These disadvantages
-are the reason we use the ordinary General Public License for many
-libraries. However, the Lesser license provides advantages in certain
-special circumstances.
-
- For example, on rare occasions, there may be a special need to
-encourage the widest possible use of a certain library, so that it becomes
-a de-facto standard. To achieve this, non-free programs must be
-allowed to use the library. A more frequent case is that a free
-library does the same job as widely used non-free libraries. In this
-case, there is little to gain by limiting the free library to free
-software only, so we use the Lesser General Public License.
-
- In other cases, permission to use a particular library in non-free
-programs enables a greater number of people to use a large body of
-free software. For example, permission to use the GNU C Library in
-non-free programs enables many more people to use the whole GNU
-operating system, as well as its variant, the GNU/Linux operating
-system.
-
- Although the Lesser General Public License is Less protective of the
-users' freedom, it does ensure that the user of a program that is
-linked with the Library has the freedom and the wherewithal to run
-that program using a modified version of the Library.
-
- The precise terms and conditions for copying, distribution and
-modification follow. Pay close attention to the difference between a
-"work based on the library" and a "work that uses the library". The
-former contains code derived from the library, whereas the latter must
-be combined with the library in order to run.
-
- GNU LESSER GENERAL PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. This License Agreement applies to any software library or other
-program which contains a notice placed by the copyright holder or
-other authorized party saying it may be distributed under the terms of
-this Lesser General Public License (also called "this License").
-Each licensee is addressed as "you".
-
- A "library" means a collection of software functions and/or data
-prepared so as to be conveniently linked with application programs
-(which use some of those functions and data) to form executables.
-
- The "Library", below, refers to any such software library or work
-which has been distributed under these terms. A "work based on the
-Library" means either the Library or any derivative work under
-copyright law: that is to say, a work containing the Library or a
-portion of it, either verbatim or with modifications and/or translated
-straightforwardly into another language. (Hereinafter, translation is
-included without limitation in the term "modification".)
-
- "Source code" for a work means the preferred form of the work for
-making modifications to it. For a library, complete source code means
-all the source code for all modules it contains, plus any associated
-interface definition files, plus the scripts used to control compilation
-and installation of the library.
-
- Activities other than copying, distribution and modification are not
-covered by this License; they are outside its scope. The act of
-running a program using the Library is not restricted, and output from
-such a program is covered only if its contents constitute a work based
-on the Library (independent of the use of the Library in a tool for
-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
-you conspicuously and appropriately publish on each copy an
-appropriate copyright notice and disclaimer of warranty; keep intact
-all the notices that refer to this License and to the absence of any
-warranty; and distribute a copy of this License along with the
-Library.
-
- You may charge a fee for the physical act of transferring a copy,
-and you may at your option offer warranty protection in exchange for a
-fee.
-
- 2. You may modify your copy or copies of the Library or any portion
-of it, thus forming a work based on the Library, and copy and
-distribute such modifications or work under the terms of Section 1
-above, provided that you also meet all of these conditions:
-
- a) The modified work must itself be a software library.
-
- b) You must cause the files modified to carry prominent notices
- stating that you changed the files and the date of any change.
-
- c) You must cause the whole of the work to be licensed at no
- charge to all third parties under the terms of this License.
-
- d) If a facility in the modified Library refers to a function or a
- table of data to be supplied by an application program that uses
- the facility, other than as an argument passed when the facility
- is invoked, then you must make a good faith effort to ensure that,
- in the event an application does not supply such function or
- table, the facility still operates, and performs whatever part of
- its purpose remains meaningful.
-
- (For example, a function in a library to compute square roots has
- a purpose that is entirely well-defined independent of the
- application. Therefore, Subsection 2d requires that any
- application-supplied function or table used by this function must
- be optional: if the application does not supply it, the square
- root function must still compute square roots.)
-
-These requirements apply to the modified work as a whole. If
-identifiable sections of that work are not derived from the Library,
-and can be reasonably considered independent and separate works in
-themselves, then this License, and its terms, do not apply to those
-sections when you distribute them as separate works. But when you
-distribute the same sections as part of a whole which is a work based
-on the Library, the distribution of the whole must be on the terms of
-this License, whose permissions for other licensees extend to the
-entire whole, and thus to each and every part regardless of who wrote
-it.
-
-Thus, it is not the intent of this section to claim rights or contest
-your rights to work written entirely by you; rather, the intent is to
-exercise the right to control the distribution of derivative or
-collective works based on the Library.
-
-In addition, mere aggregation of another work not based on the Library
-with the Library (or with a work based on the Library) on a volume of
-a storage or distribution medium does not bring the other work under
-the scope of this License.
-
- 3. You may opt to apply the terms of the ordinary GNU General Public
-License instead of this License to a given copy of the Library. To do
-this, you must alter all the notices that refer to this License, so
-that they refer to the ordinary GNU General Public License, version 2,
-instead of to this License. (If a newer version than version 2 of the
-ordinary GNU General Public License has appeared, then you can specify
-that version instead if you wish.) Do not make any other change in
-these notices.
-
- Once this change is made in a given copy, it is irreversible for
-that copy, so the ordinary GNU General Public License applies to all
-subsequent copies and derivative works made from that copy.
-
- This option is useful when you wish to copy part of the code of
-the Library into a program that is not a library.
-
- 4. You may copy and distribute the Library (or a portion or
-derivative of it, under Section 2) in object code or executable form
-under the terms of Sections 1 and 2 above provided that you accompany
-it with the complete corresponding machine-readable source code, which
-must be distributed under the terms of Sections 1 and 2 above on a
-medium customarily used for software interchange.
-
- If distribution of object code is made by offering access to copy
-from a designated place, then offering equivalent access to copy the
-source code from the same place satisfies the requirement to
-distribute the source code, even though third parties are not
-compelled to copy the source along with the object code.
-
- 5. A program that contains no derivative of any portion of the
-Library, but is designed to work with the Library by being compiled or
-linked with it, is called a "work that uses the Library". Such a
-work, in isolation, is not a derivative work of the Library, and
-therefore falls outside the scope of this License.
-
- However, linking a "work that uses the Library" with the Library
-creates an executable that is a derivative of the Library (because it
-contains portions of the Library), rather than a "work that uses the
-library". The executable is therefore covered by this License.
-Section 6 states terms for distribution of such executables.
-
- When a "work that uses the Library" uses material from a header file
-that is part of the Library, the object code for the work may be a
-derivative work of the Library even though the source code is not.
-Whether this is true is especially significant if the work can be
-linked without the Library, or if the work is itself a library. The
-threshold for this to be true is not precisely defined by law.
-
- If such an object file uses only numerical parameters, data
-structure layouts and accessors, and small macros and small inline
-functions (ten lines or less in length), then the use of the object
-file is unrestricted, regardless of whether it is legally a derivative
-work. (Executables containing this object code plus portions of the
-Library will still fall under Section 6.)
-
- Otherwise, if the work is a derivative of the Library, you may
-distribute the object code for the work under the terms of Section 6.
-Any executables containing that work also fall under Section 6,
-whether or not they are linked directly with the Library itself.
-
- 6. As an exception to the Sections above, you may also combine or
-link a "work that uses the Library" with the Library to produce a
-work containing portions of the Library, and distribute that work
-under terms of your choice, provided that the terms permit
-modification of the work for the customer's own use and reverse
-engineering for debugging such modifications.
-
- You must give prominent notice with each copy of the work that the
-Library is used in it and that the Library and its use are covered by
-this License. You must supply a copy of this License. If the work
-during execution displays copyright notices, you must include the
-copyright notice for the Library among them, as well as a reference
-directing the user to the copy of this License. Also, you must do one
-of these things:
-
- a) Accompany the work with the complete corresponding
- machine-readable source code for the Library including whatever
- changes were used in the work (which must be distributed under
- Sections 1 and 2 above); and, if the work is an executable linked
- with the Library, with the complete machine-readable "work that
- uses the Library", as object code and/or source code, so that the
- user can modify the Library and then relink to produce a modified
- executable containing the modified Library. (It is understood
- that the user who changes the contents of definitions files in the
- Library will not necessarily be able to recompile the application
- to use the modified definitions.)
-
- b) Use a suitable shared library mechanism for linking with the
- Library. A suitable mechanism is one that (1) uses at run time a
- copy of the library already present on the user's computer system,
- rather than copying library functions into the executable, and (2)
- will operate properly with a modified version of the library, if
- the user installs one, as long as the modified version is
- interface-compatible with the version that the work was made with.
-
- c) Accompany the work with a written offer, valid for at
- least three years, to give the same user the materials
- specified in Subsection 6a, above, for a charge no more
- than the cost of performing this distribution.
-
- d) If distribution of the work is made by offering access to copy
- from a designated place, offer equivalent access to copy the above
- specified materials from the same place.
-
- e) Verify that the user has already received a copy of these
- materials or that you have already sent this user a copy.
-
- For an executable, the required form of the "work that uses the
-Library" must include any data and utility programs needed for
-reproducing the executable from it. However, as a special exception,
-the materials to be distributed need not include anything that is
-normally distributed (in either source or binary form) with the major
-components (compiler, kernel, and so on) of the operating system on
-which the executable runs, unless that component itself accompanies
-the executable.
-
- It may happen that this requirement contradicts the license
-restrictions of other proprietary libraries that do not normally
-accompany the operating system. Such a contradiction means you cannot
-use both them and the Library together in an executable that you
-distribute.
-
- 7. You may place library facilities that are a work based on the
-Library side-by-side in a single library together with other library
-facilities not covered by this License, and distribute such a combined
-library, provided that the separate distribution of the work based on
-the Library and of the other library facilities is otherwise
-permitted, and provided that you do these two things:
-
- a) Accompany the combined library with a copy of the same work
- based on the Library, uncombined with any other library
- facilities. This must be distributed under the terms of the
- Sections above.
-
- b) Give prominent notice with the combined library of the fact
- that part of it is a work based on the Library, and explaining
- where to find the accompanying uncombined form of the same work.
-
- 8. You may not copy, modify, sublicense, link with, or distribute
-the Library except as expressly provided under this License. Any
-attempt otherwise to copy, modify, sublicense, link with, or
-distribute the Library is void, and will automatically terminate your
-rights under this License. However, parties who have received copies,
-or rights, from you under this License will not have their licenses
-terminated so long as such parties remain in full compliance.
-
- 9. You are not required to accept this License, since you have not
-signed it. However, nothing else grants you permission to modify or
-distribute the Library or its derivative works. These actions are
-prohibited by law if you do not accept this License. Therefore, by
-modifying or distributing the Library (or any work based on the
-Library), you indicate your acceptance of this License to do so, and
-all its terms and conditions for copying, distributing or modifying
-the Library or works based on it.
-
- 10. Each time you redistribute the Library (or any work based on the
-Library), the recipient automatically receives a license from the
-original licensor to copy, distribute, link with or modify the Library
-subject to these terms and conditions. You may not impose any further
-restrictions on the recipients' exercise of the rights granted herein.
-You are not responsible for enforcing compliance by third parties with
-this License.
-
- 11. If, as a consequence of a court judgment or allegation of patent
-infringement or for any other reason (not limited to patent issues),
-conditions are imposed on you (whether by court order, agreement or
-otherwise) that contradict the conditions of this License, they do not
-excuse you from the conditions of this License. If you cannot
-distribute so as to satisfy simultaneously your obligations under this
-License and any other pertinent obligations, then as a consequence you
-may not distribute the Library at all. For example, if a patent
-license would not permit royalty-free redistribution of the Library by
-all those who receive copies directly or indirectly through you, then
-the only way you could satisfy both it and this License would be to
-refrain entirely from distribution of the Library.
-
-If any portion of this section is held invalid or unenforceable under any
-particular circumstance, the balance of the section is intended to apply,
-and the section as a whole is intended to apply in other circumstances.
-
-It is not the purpose of this section to induce you to infringe any
-patents or other property right claims or to contest validity of any
-such claims; this section has the sole purpose of protecting the
-integrity of the free software distribution system which is
-implemented by public license practices. Many people have made
-generous contributions to the wide range of software distributed
-through that system in reliance on consistent application of that
-system; it is up to the author/donor to decide if he or she is willing
-to distribute software through any other system and a licensee cannot
-impose that choice.
-
-This section is intended to make thoroughly clear what is believed to
-be a consequence of the rest of this License.
-
- 12. If the distribution and/or use of the Library is restricted in
-certain countries either by patents or by copyrighted interfaces, the
-original copyright holder who places the Library under this License may add
-an explicit geographical distribution limitation excluding those countries,
-so that distribution is permitted only in or among countries not thus
-excluded. In such case, this License incorporates the limitation as if
-written in the body of this License.
-
- 13. The Free Software Foundation may publish revised and/or new
-versions of the Lesser General Public License from time to time.
-Such new versions will be similar in spirit to the present version,
-but may differ in detail to address new problems or concerns.
-
-Each version is given a distinguishing version number. If the Library
-specifies a version number of this License which applies to it and
-"any later version", you have the option of following the terms and
-conditions either of that version or of any later version published by
-the Free Software Foundation. If the Library does not specify a
-license version number, you may choose any version ever published by
-the Free Software Foundation.
-
- 14. If you wish to incorporate parts of the Library into other free
-programs whose distribution conditions are incompatible with these,
-write to the author to ask for permission. For software which is
-copyrighted by the Free Software Foundation, write to the Free
-Software Foundation; we sometimes make exceptions for this. Our
-decision will be guided by the two goals of preserving the free status
-of all derivatives of our free software and of promoting the sharing
-and reuse of software generally.
-
- NO WARRANTY
-
- 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
-WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
-EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
-OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
-KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
-PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
-LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
-THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
-
- 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
-WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
-AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
-FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
-CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
-LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
-RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
-FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
-SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
-DAMAGES.
-
- END OF TERMS AND CONDITIONS
Property changes on: branches/RC/admin/editor/FCKeditor/license.txt
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.1
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: branches/RC/admin/editor/FCKeditor/filemanager/upload/php/upload.php
===================================================================
--- branches/RC/admin/editor/FCKeditor/filemanager/upload/php/upload.php (revision 10399)
+++ branches/RC/admin/editor/FCKeditor/filemanager/upload/php/upload.php (nonexistent)
@@ -1,161 +0,0 @@
-<?php
-
-/*
- * FCKeditor - The text editor for internet
- * Copyright (C) 2003 Frederico Caldeira Knabben
- *
- * Licensed under the terms of the GNU Lesser General Public License
- * (http://www.opensource.org/licenses/lgpl-license.php)
- *
- * For further information go to http://www.fredck.com/FCKeditor/
- * or contact fckeditor@fredck.com.
- *
- * upload.php: Basic file upload manager for the editor. You have
- * to have set a directory called "userimages" in the root folder
- * of your web site.
- *
- * Authors:
- * Frederic TYNDIUK (http://www.ftls.org/ - tyndiuk[at]ftls.org)
- */
-
-// Init var :
-
-// OLD STARTUP
-if( !(isset($pathtoroot) && $pathtoroot) )
-
-{
-
- $path=dirname(realpath(__FILE__));
-
- if(strlen($path))
-
- {
-
- /* determine the OS type for path parsing */
-
- $pos = strpos($path,":");
-
- if ($pos === false)
-
- {
-
- $gOS_TYPE="unix";
- $pathchar = "/";
- }
- else
- {
- $gOS_TYPE="win";
- $pathchar="\\";
- }
- $p = $path.$pathchar;
- /*Start looking for the root flag file */
- if( !isset($pathtoroot) ) $pathtoroot = '';
- while(!strlen($pathtoroot) && strlen($p))
- {
- $sub = substr($p,strlen($pathchar)*-1);
- if($sub==$pathchar)
- {
- $filename = $p."root.flg";
- }
- else
- $filename = $p.$pathchar."root.flg";
- if(file_exists($filename))
- {
- $pathtoroot = $p;
- }
- else
- {
- $parent = realpath($p.$pathchar."..".$pathchar);
- if($parent!=$p)
- {
- $p = $parent;
- }
- else
- $p = "";
- }
- }
- if( !(isset($pathtoroot) && $pathtoroot) )
- $pathtoroot = ".".$pathchar;
- }
- else
- {
- $pathtoroot = ".".$pathchar;
- }
-}
-
-$sub = substr($pathtoroot,strlen($pathchar)*-1);
-if($sub!=$pathchar)
-{
- $pathtoroot = $pathtoroot.$pathchar;
-}
-require_once($pathtoroot."kernel/startup.php");
-$rootURL="http://".ThisDomain().$objConfig->Get("Site_Path");
-$admin = $objConfig->Get("AdminDirectory");
-if(!strlen($admin))
- $admin = "admin";
-$adminURL = $rootURL.$admin;
-
- $UPLOAD_BASE_URL = $rootURL."kernel/images/";
- $UPLOAD_BASE_DIR = $pathtoroot."kernel/images/";
-
-// End int var
-
-?>
-
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
-<HTML>
- <HEAD>
- <TITLE>File Uploader</TITLE>
- <LINK rel="stylesheet" type="text/css" href="<?php echo $adminURL; ?>/editor/FCKeditor/css/fck_dialog.css">
- </HEAD>
- <BODY><form>
- <TABLE eight="100%" width="100%">
- <TR>
- <TD align=center valign=middle><B>
- Upload in progress...
-<font color='red'><BR><BR>
-<?php
-
-if (file_exists($UPLOAD_BASE_DIR.$HTTP_POST_FILES['FCKeditor_File']['name'])) {
- echo "Error : File ".$HTTP_POST_FILES['FCKeditor_File']['name']." exists, can't overwrite it...";
- echo '<BR><BR><INPUT type="button" value=" Cancel " onclick="window.close()">';
-} else {
- if (is_uploaded_file($HTTP_POST_FILES['FCKeditor_File']['tmp_name'])) {
- $savefile = $UPLOAD_BASE_DIR.$HTTP_POST_FILES['FCKeditor_File']['name'];
-
- if (move_uploaded_file($HTTP_POST_FILES['FCKeditor_File']['tmp_name'], $savefile)) {
- chmod($savefile, 0666);
- ?>
- <SCRIPT language=javascript>window.opener.setImage('<?php echo $UPLOAD_BASE_URL.$HTTP_POST_FILES['FCKeditor_File']['name']; ?>') ; window.close();</SCRIPT>";
- <?php
- }
- } else {
- echo "Error : ";
- switch($HTTP_POST_FILES['FCKeditor_File']['error']) {
- case 0: //no error; possible file attack!
- echo "There was a problem with your upload.";
- break;
- case 1: //uploaded file exceeds the upload_max_filesize directive in php.ini
- echo "The file you are trying to upload is too big.";
- break;
- case 2: //uploaded file exceeds the MAX_FILE_SIZE directive that was specified in the html form
- echo "The file you are trying to upload is too big.";
- break;
- case 3: //uploaded file was only partially uploaded
- echo "The file you are trying upload was only partially uploaded.";
- break;
- case 4: //no file was uploaded
- echo "You must select an image for upload.";
- break;
- default: //a default error, just in case! :)
- echo "There was a problem with your upload.";
- break;
- }
- }
- echo '<BR><BR><INPUT type="button" value=" Cancel " onclick="window.close()">';
-} ?>
- </font></B></TD>
- </TR>
- </TABLE>
- </form></BODY>
-</HTML>
Property changes on: branches/RC/admin/editor/FCKeditor/filemanager/upload/php/upload.php
___________________________________________________________________
Deleted: cvs2svn:cvs-rev
## -1 +0,0 ##
-1.5
\ No newline at end of property
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property

Event Timeline