Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6803/phpslash-dev/public_html/scripts/fckeditor
Modified Files:
fckconfig.js fckeditor.cfc fckeditor.cfm fckeditor.js
Log Message:
complete fckeditor addition
Index: fckconfig.js
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/fckconfig.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fckconfig.js 28 Oct 2004 20:17:39 -0000 1.1
--- fckconfig.js 30 Oct 2004 13:53:11 -0000 1.2
***************
*** 12,17 ****
* Editor configuration settings.
*
! * Version: 2.0 Beta 1
! * Modified: 2004-05-31 23:07:55
*
* File Authors:
--- 12,17 ----
* Editor configuration settings.
*
! * Version: 2.0 Beta 2
! * Modified: 2004-08-30 23:27:01
*
* File Authors:
***************
*** 27,31 ****
// Set the path for the skin files to use.
FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/default/' ;
- //FCKConfig.SkinPath = FCKConfig.BasePath + 'skins/office2003/' ;
// Language settings
--- 27,30 ----
***************
*** 37,40 ****
--- 36,45 ----
FCKConfig.EnableSourceXHTML = true ;
+ // Tells Gecko browsers to use SPAN instead of <B>, <I> and <U>.
+ FCKConfig.GeckoUseSPAN = true ;
+
+ // Force the editor to get the focus on startup (page load).
+ FCKConfig.StartupFocus = true ;
+
// Cut and Paste options
FCKConfig.ForcePasteAsPlainText = false ;
***************
*** 54,58 ****
FCKConfig.ToolbarSets["Default"] = [
['Source','-','Save','NewPage','Preview'],
! ['Cut','Copy','Paste'/*,'PasteText','PasteWord'*/,'-','Print'/*,'SpellCheck'*/],
['Undo','Redo',/*'-','Find','Replace',*/'-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
--- 59,63 ----
FCKConfig.ToolbarSets["Default"] = [
['Source','-','Save','NewPage','Preview'],
! ['Cut','Copy','Paste','PasteText','PasteWord','-','Print'/*,'SpellCheck'*/],
['Undo','Redo',/*'-','Find','Replace',*/'-','SelectAll','RemoveFormat'],
['Bold','Italic','Underline','StrikeThrough','-','Subscript','Superscript'],
***************
*** 60,68 ****
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink'/*,'Anchor'*/],
! [/*'Image',*/'Table','Rule','SpecialChar'/*,'UniversalKey'*/,'Smiley'],
/*['Form','Checkbox','Radio','Input','Textarea','Select','Button','ImageButton','Hidden']*/
/*['ShowTableBorders','ShowDetails','-','Zoom'],*/
[/*'FontStyleAdv','-','FontStyle','-',*/'FontFormat','-','FontName','-','FontSize'],
! /*['TextColor','BGColor'],*/
['About']
] ;
--- 65,73 ----
['JustifyLeft','JustifyCenter','JustifyRight','JustifyFull'],
['Link','Unlink'/*,'Anchor'*/],
! ['Image','Table','Rule','SpecialChar'/*,'UniversalKey'*/,'Smiley'],
/*['Form','Checkbox','Radio','Input','Textarea','Select','Button','ImageButton','Hidden']*/
/*['ShowTableBorders','ShowDetails','-','Zoom'],*/
[/*'FontStyleAdv','-','FontStyle','-',*/'FontFormat','-','FontName','-','FontSize'],
! ['TextColor','BGColor'],
['About']
] ;
***************
*** 71,74 ****
--- 76,81 ----
] ;
+ // Font Colors
+ FCKConfig.FontColors = '000000,993300,333300,003300,003366,000080,333399,333333,800000,FF6600,808000,808080,008080,0000FF,666699,808080,FF0000,FF9900,99CC00,339966,33CCCC,3366FF,800080,999999,FF00FF,FFCC00,FFFF00,00FF00,00FFFF,00CCFF,993366,C0C0C0,FF99CC,FFCC99,FFFF99,CCFFCC,CCFFFF,99CCFF,CC99FF,FFFFFF' ;
// Font Names
***************
*** 76,80 ****
// Link Browsing
! FCKConfig.LinkBrowser = false ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx" ;
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
--- 83,87 ----
// Link Browsing
! FCKConfig.LinkBrowser = true ;
FCKConfig.LinkBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Connector=connectors/aspx/connector.aspx" ;
FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
***************
*** 84,92 ****
FCKConfig.LinkUpload = false ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx" ;
! FCKConfig.LinkUploadWindowWidth = 300 ;
FCKConfig.LinkUploadWindowHeight = 150 ;
FCKConfig.LinkUploadAllowedExtensions = "*" ; // * or empty for all
FCKConfig.LinkUploadDeniedExtensions = ".exe .asp .php .aspx .js .cfm .dll" ; // empty for no one
// Smiley Dialog
FCKConfig.SmileyPath = FCKConfig.BasePath + "images/smiley/msn/" ;
--- 91,105 ----
FCKConfig.LinkUpload = false ;
FCKConfig.LinkUploadURL = FCKConfig.BasePath + "filemanager/upload/aspx/upload.aspx" ;
! FCKConfig.LinkUploadWindowWidth = 300 ;
FCKConfig.LinkUploadWindowHeight = 150 ;
FCKConfig.LinkUploadAllowedExtensions = "*" ; // * or empty for all
FCKConfig.LinkUploadDeniedExtensions = ".exe .asp .php .aspx .js .cfm .dll" ; // empty for no one
+ // Image Browsing
+ FCKConfig.ImageBrowser = true ;
+ FCKConfig.ImageBrowserURL = FCKConfig.BasePath + "filemanager/browser/default/browser.html?Type=Image&Connector=connectors/aspx/connector.aspx" ;
+ FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ;
+ FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ;
+
// Smiley Dialog
FCKConfig.SmileyPath = FCKConfig.BasePath + "images/smiley/msn/" ;
Index: fckeditor.cfc
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/fckeditor.cfc,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fckeditor.cfc 28 Oct 2004 20:17:39 -0000 1.1
--- fckeditor.cfc 30 Oct 2004 13:53:11 -0000 1.2
***************
*** 1,4 ****
<cfcomponent output="no" displayname="FCKEditor" hint="Create an instance of the FCKEditor.">
! <!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 Frederico Caldeira Knabben
--- 1,4 ----
<cfcomponent output="no" displayname="FCKEditor" hint="Create an instance of the FCKEditor.">
! <!---
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 Frederico Caldeira Knabben
***************
*** 34,43 ****
* limitation with the cfc invocation.
*
! * Version: 2.0 Beta 1
* Modified: 2004-05-27 12:39:32
*
* File Authors:
* Hendrik Kramer (hk...@lw...)
! -->
<cffunction
name="create"
--- 34,43 ----
* limitation with the cfc invocation.
*
! * Version: 2.0 Beta 2
* Modified: 2004-05-27 12:39:32
*
* File Authors:
* Hendrik Kramer (hk...@lw...)
! --->
<cffunction
name="create"
Index: fckeditor.cfm
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/fckeditor.cfm,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fckeditor.cfm 28 Oct 2004 20:17:39 -0000 1.1
--- fckeditor.cfm 30 Oct 2004 13:53:11 -0000 1.2
***************
*** 1,4 ****
<cfsetting enablecfoutputonly="Yes">
! <!--
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 Frederico Caldeira Knabben
--- 1,4 ----
<cfsetting enablecfoutputonly="Yes">
! <!---
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 Frederico Caldeira Knabben
***************
*** 26,35 ****
* >
*
! * Version: 2.0 Beta 1
* Modified: 2004-05-27 12:24:11
*
* File Authors:
* Hendrik Kramer (hk...@lw...)
! -->
<!--- ::
* Attribute validation
--- 26,35 ----
* >
*
! * Version: 2.0 Beta 2
* Modified: 2004-05-27 12:24:11
*
* File Authors:
* Hendrik Kramer (hk...@lw...)
! --->
<!--- ::
* Attribute validation
Index: fckeditor.js
===================================================================
RCS file: /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/fckeditor.js,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** fckeditor.js 28 Oct 2004 20:17:39 -0000 1.1
--- fckeditor.js 30 Oct 2004 13:53:11 -0000 1.2
***************
*** 16,20 ****
* operations, use the specific integration system.
*
! * Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:55
*
--- 16,20 ----
* operations, use the specific integration system.
*
! * Version: 2.0 Beta 2
* Modified: 2004-05-31 23:07:55
*
|