forked from telecran-telecrit/telecran-telecrit.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nonnull
committed
Jul 5, 2020
1 parent
c9c8f33
commit e72e685
Showing
413 changed files
with
66,528 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
RewriteEngine off | ||
Allow from All |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<!-- | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben | ||
* | ||
* == BEGIN LICENSE == | ||
* | ||
* Licensed under the terms of any of the following licenses at your | ||
* choice: | ||
* | ||
* - GNU General Public License Version 2 or later (the "GPL") | ||
* http://www.gnu.org/licenses/gpl.html | ||
* | ||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
* http://www.gnu.org/licenses/lgpl.html | ||
* | ||
* - Mozilla Public License Version 1.1 or later (the "MPL") | ||
* http://www.mozilla.org/MPL/MPL-1.1.html | ||
* | ||
* == END LICENSE == | ||
--> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>FCKeditor - Documentation</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style type="text/css"> | ||
body { font-family: arial, verdana, sans-serif } | ||
p { margin-left: 20px } | ||
</style> | ||
</head> | ||
<body> | ||
<h1> | ||
FCKeditor Documentation</h1> | ||
<p> | ||
You can find the official documentation for FCKeditor online, at <a href="http://wiki.fckeditor.net/"> | ||
http://wiki.fckeditor.net/</a>.</p> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<!-- | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben | ||
* | ||
* == BEGIN LICENSE == | ||
* | ||
* Licensed under the terms of any of the following licenses at your | ||
* choice: | ||
* | ||
* - GNU General Public License Version 2 or later (the "GPL") | ||
* http://www.gnu.org/licenses/gpl.html | ||
* | ||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
* http://www.gnu.org/licenses/lgpl.html | ||
* | ||
* - Mozilla Public License Version 1.1 or later (the "MPL") | ||
* http://www.mozilla.org/MPL/MPL-1.1.html | ||
* | ||
* == END LICENSE == | ||
--> | ||
<html xmlns="http://www.w3.org/1999/xhtml"> | ||
<head> | ||
<title>FCKeditor - Upgrade</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<style type="text/css"> | ||
body { font-family: arial, verdana, sans-serif } | ||
p { margin-left: 20px } | ||
</style> | ||
</head> | ||
<body> | ||
<h1> | ||
FCKeditor Upgrade</h1> | ||
<p> | ||
Please check the following URL for notes regarding upgrade: <a href="http://wiki.fckeditor.net/Developer%27s_Guide/Upgrade"> | ||
http://wiki.fckeditor.net/Developer%27s_Guide/Upgrade</a></p> | ||
</body> | ||
</html> |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"description": "FCK Editor", | ||
"license": "GPL 2.0", | ||
"name": "treadmillian/fckeditor", | ||
"type": "library", | ||
"require": { } | ||
} |
142 changes: 142 additions & 0 deletions
142
libs/ckeditor/2.4/editor/_source/classes/fckcontextmenu.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,142 @@ | ||
/* | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben | ||
* | ||
* == BEGIN LICENSE == | ||
* | ||
* Licensed under the terms of any of the following licenses at your | ||
* choice: | ||
* | ||
* - GNU General Public License Version 2 or later (the "GPL") | ||
* http://www.gnu.org/licenses/gpl.html | ||
* | ||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
* http://www.gnu.org/licenses/lgpl.html | ||
* | ||
* - Mozilla Public License Version 1.1 or later (the "MPL") | ||
* http://www.mozilla.org/MPL/MPL-1.1.html | ||
* | ||
* == END LICENSE == | ||
* | ||
* FCKContextMenu Class: renders an control a context menu. | ||
*/ | ||
|
||
var FCKContextMenu = function( parentWindow, langDir ) | ||
{ | ||
this.CtrlDisable = false ; | ||
|
||
var oPanel = this._Panel = new FCKPanel( parentWindow ) ; | ||
oPanel.AppendStyleSheet( FCKConfig.SkinPath + 'fck_editor.css' ) ; | ||
oPanel.IsContextMenu = true ; | ||
|
||
// The FCKTools.DisableSelection doesn't seems to work to avoid dragging of the icons in Mozilla | ||
// so we stop the start of the dragging | ||
if ( FCKBrowserInfo.IsGecko ) | ||
oPanel.Document.addEventListener( 'draggesture', function(e) {e.preventDefault(); return false;}, true ) ; | ||
|
||
var oMenuBlock = this._MenuBlock = new FCKMenuBlock() ; | ||
oMenuBlock.Panel = oPanel ; | ||
oMenuBlock.OnClick = FCKTools.CreateEventListener( FCKContextMenu_MenuBlock_OnClick, this ) ; | ||
|
||
this._Redraw = true ; | ||
} | ||
|
||
|
||
FCKContextMenu.prototype.SetMouseClickWindow = function( mouseClickWindow ) | ||
{ | ||
if ( !FCKBrowserInfo.IsIE ) | ||
{ | ||
this._Document = mouseClickWindow.document ; | ||
this._Document.addEventListener( 'contextmenu', FCKContextMenu_Document_OnContextMenu, false ) ; | ||
} | ||
} | ||
|
||
FCKContextMenu.prototype.AddItem = function( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled ) | ||
{ | ||
var oItem = this._MenuBlock.AddItem( name, label, iconPathOrStripInfoArrayOrIndex, isDisabled) ; | ||
this._Redraw = true ; | ||
return oItem ; | ||
} | ||
|
||
FCKContextMenu.prototype.AddSeparator = function() | ||
{ | ||
this._MenuBlock.AddSeparator() ; | ||
this._Redraw = true ; | ||
} | ||
|
||
FCKContextMenu.prototype.RemoveAllItems = function() | ||
{ | ||
this._MenuBlock.RemoveAllItems() ; | ||
this._Redraw = true ; | ||
} | ||
|
||
FCKContextMenu.prototype.AttachToElement = function( element ) | ||
{ | ||
if ( FCKBrowserInfo.IsIE ) | ||
FCKTools.AddEventListenerEx( element, 'contextmenu', FCKContextMenu_AttachedElement_OnContextMenu, this ) ; | ||
else | ||
element._FCKContextMenu = this ; | ||
|
||
// element.onmouseup = FCKContextMenu_AttachedElement_OnMouseUp ; | ||
} | ||
|
||
function FCKContextMenu_Document_OnContextMenu( e ) | ||
{ | ||
var el = e.target ; | ||
|
||
while ( el ) | ||
{ | ||
if ( el._FCKContextMenu ) | ||
{ | ||
if ( el._FCKContextMenu.CtrlDisable && ( e.ctrlKey || e.metaKey ) ) | ||
return true ; | ||
|
||
FCKTools.CancelEvent( e ) ; | ||
FCKContextMenu_AttachedElement_OnContextMenu( e, el._FCKContextMenu, el ) ; | ||
} | ||
el = el.parentNode ; | ||
} | ||
} | ||
|
||
function FCKContextMenu_AttachedElement_OnContextMenu( ev, fckContextMenu, el ) | ||
{ | ||
// var iButton = e ? e.which - 1 : event.button ; | ||
|
||
// if ( iButton != 2 ) | ||
// return ; | ||
|
||
if ( fckContextMenu.CtrlDisable && ( ev.ctrlKey || ev.metaKey ) ) | ||
return true ; | ||
|
||
var eTarget = el || this ; | ||
|
||
if ( fckContextMenu.OnBeforeOpen ) | ||
fckContextMenu.OnBeforeOpen.call( fckContextMenu, eTarget ) ; | ||
|
||
if ( fckContextMenu._MenuBlock.Count() == 0 ) | ||
return false ; | ||
|
||
if ( fckContextMenu._Redraw ) | ||
{ | ||
fckContextMenu._MenuBlock.Create( fckContextMenu._Panel.MainNode ) ; | ||
fckContextMenu._Redraw = false ; | ||
} | ||
|
||
// This will avoid that the content of the context menu can be dragged in IE | ||
// as the content of the panel is recreated we need to do it every time | ||
FCKTools.DisableSelection( fckContextMenu._Panel.Document.body ) ; | ||
|
||
fckContextMenu._Panel.Show( | ||
ev.pageX || ev.screenX, | ||
ev.pageY || ev.screenY, | ||
ev.currentTarget || null | ||
) ; | ||
|
||
return false ; | ||
} | ||
|
||
function FCKContextMenu_MenuBlock_OnClick( menuItem, contextMenu ) | ||
{ | ||
contextMenu._Panel.Hide() ; | ||
FCKTools.RunFunction( contextMenu.OnItemClick, contextMenu, menuItem ) ; | ||
} |
46 changes: 46 additions & 0 deletions
46
libs/ckeditor/2.4/editor/_source/classes/fckdocumentfragment_gecko.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
/* | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben | ||
* | ||
* == BEGIN LICENSE == | ||
* | ||
* Licensed under the terms of any of the following licenses at your | ||
* choice: | ||
* | ||
* - GNU General Public License Version 2 or later (the "GPL") | ||
* http://www.gnu.org/licenses/gpl.html | ||
* | ||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
* http://www.gnu.org/licenses/lgpl.html | ||
* | ||
* - Mozilla Public License Version 1.1 or later (the "MPL") | ||
* http://www.mozilla.org/MPL/MPL-1.1.html | ||
* | ||
* == END LICENSE == | ||
* | ||
* This is a generic Document Fragment object. It is not intended to provide | ||
* the W3C implementation, but is a way to fix the missing of a real Document | ||
* Fragment in IE (where document.createDocumentFragment() returns a normal | ||
* document instead), giving a standard interface for it. | ||
* (IE Implementation) | ||
*/ | ||
|
||
var FCKDocumentFragment = function( parentDocument, baseDocFrag ) | ||
{ | ||
this.RootNode = baseDocFrag || parentDocument.createDocumentFragment() ; | ||
} | ||
|
||
FCKDocumentFragment.prototype = | ||
{ | ||
|
||
// Append the contents of this Document Fragment to another element. | ||
AppendTo : function( targetNode ) | ||
{ | ||
targetNode.appendChild( this.RootNode ) ; | ||
}, | ||
|
||
InsertAfterNode : function( existingNode ) | ||
{ | ||
FCKDomTools.InsertAfterNode( existingNode, this.RootNode ) ; | ||
} | ||
} |
58 changes: 58 additions & 0 deletions
58
libs/ckeditor/2.4/editor/_source/classes/fckdocumentfragment_ie.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
/* | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2007 Frederico Caldeira Knabben | ||
* | ||
* == BEGIN LICENSE == | ||
* | ||
* Licensed under the terms of any of the following licenses at your | ||
* choice: | ||
* | ||
* - GNU General Public License Version 2 or later (the "GPL") | ||
* http://www.gnu.org/licenses/gpl.html | ||
* | ||
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL") | ||
* http://www.gnu.org/licenses/lgpl.html | ||
* | ||
* - Mozilla Public License Version 1.1 or later (the "MPL") | ||
* http://www.mozilla.org/MPL/MPL-1.1.html | ||
* | ||
* == END LICENSE == | ||
* | ||
* This is a generic Document Fragment object. It is not intended to provide | ||
* the W3C implementation, but is a way to fix the missing of a real Document | ||
* Fragment in IE (where document.createDocumentFragment() returns a normal | ||
* document instead), giving a standard interface for it. | ||
* (IE Implementation) | ||
*/ | ||
|
||
var FCKDocumentFragment = function( parentDocument ) | ||
{ | ||
this._Document = parentDocument ; | ||
this.RootNode = parentDocument.createElement( 'div' ) ; | ||
} | ||
|
||
// Append the contents of this Document Fragment to another node. | ||
FCKDocumentFragment.prototype = | ||
{ | ||
|
||
AppendTo : function( targetNode ) | ||
{ | ||
FCKDomTools.MoveChildren( this.RootNode, targetNode ) ; | ||
}, | ||
|
||
AppendHtml : function( html ) | ||
{ | ||
var eTmpDiv = this._Document.createElement( 'div' ) ; | ||
eTmpDiv.innerHTML = html ; | ||
FCKDomTools.MoveChildren( eTmpDiv, this.RootNode ) ; | ||
}, | ||
|
||
InsertAfterNode : function( existingNode ) | ||
{ | ||
var eRoot = this.RootNode ; | ||
var eLast ; | ||
|
||
while( ( eLast = eRoot.lastChild ) ) | ||
FCKDomTools.InsertAfterNode( existingNode, eRoot.removeChild( eLast ) ) ; | ||
} | ||
} ; |
Oops, something went wrong.