[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/_source/globals fck_co
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/_source/globals fck_constants.js, 1.1 fckeditorapi.js, 1.1 |
Date: |
Tue, 24 May 2005 16:32:00 +0200 |
Update of news_admin/js/fckeditor/editor/_source/globals
Added Files:
Branch: MAIN
fck_constants.js
fckeditorapi.js
Log Message:
I am working on a much better version of news_admin, this is just a taste of
what is coming.
Adding FCKeditor, which has the following issues:
* Images and files support FCKd
* Spellcheck FCKing up
Didn't include non php code or samples other unneeded crap
====================================================
Index: fck_constants.js
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 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 visit:
* http://www.fckeditor.net/
*
* File Name: fck_constants.js
* Defines some constants used by the editor. These constants are also
* globally available in the page where the editor is placed.
*
* Version: 2.0 RC3
* Modified: 2004-05-31 23:07:48
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
*/
// Editor Instance Status.
FCK_STATUS_NOTLOADED = window.parent.FCK_STATUS_NOTLOADED = 0 ;
FCK_STATUS_ACTIVE = window.parent.FCK_STATUS_ACTIVE
= 1 ;
FCK_STATUS_COMPLETE = window.parent.FCK_STATUS_COMPLETE
= 2 ;
// Tristate Operations.
FCK_TRISTATE_OFF = window.parent.FCK_TRISTATE_OFF
= 0 ;
FCK_TRISTATE_ON = window.parent.FCK_TRISTATE_ON
= 1 ;
FCK_TRISTATE_DISABLED = window.parent.FCK_TRISTATE_DISABLED = -1 ;
// For unknown values.
FCK_UNKNOWN = window.parent.FCK_UNKNOWN
= -1000 ;
// Toolbar Items Style.
FCK_TOOLBARITEM_ONLYICON = window.parent.FCK_TOOLBARITEM_ONLYTEXT
= 0 ;
FCK_TOOLBARITEM_ONLYTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT
= 1 ;
FCK_TOOLBARITEM_ICONTEXT = window.parent.FCK_TOOLBARITEM_ONLYTEXT
= 2 ;
// Edit Mode
FCK_EDITMODE_WYSIWYG = window.parent.FCK_EDITMODE_WYSIWYG = 0 ;
FCK_EDITMODE_SOURCE = window.parent.FCK_EDITMODE_SOURCE
= 1 ;
====================================================
Index: fckeditorapi.js
/*
* FCKeditor - The text editor for internet
* Copyright (C) 2003-2004 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 visit:
* http://www.fckeditor.net/
*
* File Name: fckeditorapi.js
* Create the FCKeditorAPI object that is available as a global object in
* the page where the editor is placed in.
*
* Version: 2.0 RC3
* Modified: 2004-05-31 23:07:48
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
*/
var FCKeditorAPI ;
if ( !window.parent.FCKeditorAPI )
{
// Make the FCKeditorAPI object available in the parent window.
FCKeditorAPI = window.parent.FCKeditorAPI = new Object() ;
FCKeditorAPI.__Instances = new Object() ;
// Set the current version.
FCKeditorAPI.Version = '2.0 RC3' ;
// Function used to get a instance of an existing editor present in the
// page.
FCKeditorAPI.GetInstance = function( instanceName )
{
return this.__Instances[ instanceName ] ;
}
}
else
FCKeditorAPI = window.parent.FCKeditorAPI ;
// Add the current instance to the FCKeditorAPI's instances collection.
FCKeditorAPI.__Instances[ FCK.Name ] = FCK ;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] news_admin/js/fckeditor/editor/_source/globals fck_constants.js, 1.1 fckeditorapi.js, 1.1,
skwashd <=
- Prev by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_image fck_image.js, 1.1
- Next by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/images/icons rdp.gif, 1.1 swf.gif, 1.1 swt.gif, 1.1 txt.gif, 1.1 ppt.gif, 1.1 pdf.gif, 1.1 jpg.gif, 1.1 js.gif, 1.1 mdb.gif, 1.1 mp3.gif, 1.1 vsd.gif, 1.1 xls.gif, 1.1 xml.gif, 1.1 zip.gif, 1.1 html.gif, 1.1 htm.gif, 1.1 ai.gif, 1.1 doc.gif, 1.1 exe.gif, 1.1 fla.gif, 1.1 gif.gif, 1.1 dll.gif, 1.1 default.icon.gif, 1.1 avi.gif, 1.1 bmp.gif, 1.1 cs.gif, 1.1
- Previous by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog/fck_image fck_image.js, 1.1
- Next by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/images/icons rdp.gif, 1.1 swf.gif, 1.1 swt.gif, 1.1 txt.gif, 1.1 ppt.gif, 1.1 pdf.gif, 1.1 jpg.gif, 1.1 js.gif, 1.1 mdb.gif, 1.1 mp3.gif, 1.1 vsd.gif, 1.1 xls.gif, 1.1 xml.gif, 1.1 zip.gif, 1.1 html.gif, 1.1 htm.gif, 1.1 ai.gif, 1.1 doc.gif, 1.1 exe.gif, 1.1 fla.gif, 1.1 gif.gif, 1.1 dll.gif, 1.1 default.icon.gif, 1.1 avi.gif, 1.1 bmp.gif, 1.1 cs.gif, 1.1
- Index(es):