-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
3,741 changed files
with
493,478 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
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,26 @@ | ||
<?php | ||
|
||
if ( !defined( 'BASEPATH' ) ) | ||
exit( 'No direct script access allowed' ); | ||
|
||
?> | ||
|
||
<script type="text/javascript" src="<?= $editor_config['url'] ?>fckeditor/fckeditor.js"></script> | ||
<script type="text/javascript"> | ||
window.onload = function() | ||
{ | ||
var oFCKeditor = new FCKeditor( 'fcktextarea' ); | ||
oFCKeditor.Config['CustomConfigurationsPath'] = "<?= $editor_config['url'] ?>fckeditor/maxsite_config.js"; | ||
oFCKeditor.BasePath = "<?= $editor_config['url'] ?>fckeditor/"; | ||
oFCKeditor.Height = <?= $editor_config['height'] ?>; | ||
oFCKeditor.ReplaceTextarea(); | ||
} | ||
</script> | ||
|
||
<form method="post" <?= $editor_config['action'] ?> > | ||
<?= $editor_config['do'] ?> | ||
<textarea id="fcktextarea" name="f_content" style="width: 100%"> | ||
<?= $editor_config['content'] ?> | ||
</textarea> | ||
<?= $editor_config['posle'] ?> | ||
</form> |
15 changes: 15 additions & 0 deletions
15
editors/FCKeditor/fckeditor/editor/css/behaviors/disablehandles.htc
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,15 @@ | ||
<public:component lightweight="true"> | ||
|
||
<script language="javascript"> | ||
|
||
function CancelEvent() | ||
{ | ||
return false ; | ||
} | ||
|
||
this.onresizestart = CancelEvent ; | ||
this.onbeforeeditfocus = CancelEvent ; | ||
|
||
</script> | ||
|
||
</public:component> |
36 changes: 36 additions & 0 deletions
36
editors/FCKeditor/fckeditor/editor/css/behaviors/showtableborders.htc
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,36 @@ | ||
<public:component lightweight="true"> | ||
|
||
<public:attach event="oncontentready" onevent="ShowBorders()" /> | ||
<public:attach event="onpropertychange" onevent="OnPropertyChange()" /> | ||
|
||
<script language="javascript"> | ||
|
||
var oClassRegex = /\s*FCK__ShowTableBorders/ ; | ||
|
||
function ShowBorders() | ||
{ | ||
if ( this.border == 0 ) | ||
{ | ||
if ( !oClassRegex.test( this.className ) ) | ||
this.className += ' FCK__ShowTableBorders' ; | ||
} | ||
else | ||
{ | ||
if ( oClassRegex.test( this.className ) ) | ||
{ | ||
this.className = this.className.replace( oClassRegex, '' ) ; | ||
if ( this.className.length == 0 ) | ||
this.removeAttribute( 'className', 0 ) ; | ||
} | ||
} | ||
} | ||
|
||
function OnPropertyChange() | ||
{ | ||
if ( event.propertyName == 'border' || event.propertyName == 'className' ) | ||
ShowBorders.call(this) ; | ||
} | ||
|
||
</script> | ||
|
||
</public:component> |
110 changes: 110 additions & 0 deletions
110
editors/FCKeditor/fckeditor/editor/css/fck_editorarea.css
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,110 @@ | ||
/* | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2009 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 the default CSS file used by the editor area. It defines the | ||
* initial font of the editor and background color. | ||
* | ||
* A user can configure the editor to use another CSS file. Just change | ||
* the value of the FCKConfig.EditorAreaCSS key in the configuration | ||
* file. | ||
*/ | ||
|
||
/** | ||
* The "body" styles should match your editor web site, mainly regarding | ||
* background color and font family and size. | ||
*/ | ||
|
||
body | ||
{ | ||
background-color: #ffffff; | ||
padding: 5px 5px 5px 5px; | ||
margin: 0px; | ||
} | ||
|
||
body, td | ||
{ | ||
font-family: Arial, Verdana, sans-serif; | ||
font-size: 12px; | ||
} | ||
|
||
a[href] | ||
{ | ||
color: -moz-hyperlinktext !important; /* For Firefox... mark as important, otherwise it becomes black */ | ||
text-decoration: -moz-anchor-decoration; /* For Firefox 3, otherwise no underline will be used */ | ||
} | ||
|
||
/** | ||
* Just uncomment the following block if you want to avoid spaces between | ||
* paragraphs. Remember to apply the same style in your output front end page. | ||
*/ | ||
|
||
/* | ||
p, ul, li | ||
{ | ||
margin-top: 0px; | ||
margin-bottom: 0px; | ||
} | ||
*/ | ||
|
||
/** | ||
* Uncomment the following block, or only selected lines if appropriate, | ||
* if you have some style items that would break the styles combo box. | ||
* You can also write other CSS overrides inside the style block below | ||
* as needed and they will be applied to inside the style combo only. | ||
*/ | ||
|
||
/* | ||
.SC_Item *, .SC_ItemSelected * | ||
{ | ||
margin: 0px !important; | ||
padding: 0px !important; | ||
text-indent: 0px !important; | ||
clip: auto !important; | ||
position: static !important; | ||
} | ||
*/ | ||
|
||
/** | ||
* The following are some sample styles used in the "Styles" toolbar command. | ||
* You should instead remove them, and include the styles used by the site | ||
* you are using the editor in. | ||
*/ | ||
|
||
.Bold | ||
{ | ||
font-weight: bold; | ||
} | ||
|
||
.Title | ||
{ | ||
font-weight: bold; | ||
font-size: 18px; | ||
color: #cc3300; | ||
} | ||
|
||
.Code | ||
{ | ||
border: #8b4513 1px solid; | ||
padding-right: 5px; | ||
padding-left: 5px; | ||
color: #000066; | ||
font-family: 'Courier New' , Monospace; | ||
background-color: #ff9933; | ||
} |
199 changes: 199 additions & 0 deletions
199
editors/FCKeditor/fckeditor/editor/css/fck_internal.css
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,199 @@ | ||
/* | ||
* FCKeditor - The text editor for Internet - http://www.fckeditor.net | ||
* Copyright (C) 2003-2009 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 CSS Style Sheet defines rules used by the editor for its internal use. | ||
*/ | ||
|
||
/* ######### | ||
* WARNING | ||
* ######### | ||
* When changing this file, the minified version of it must be updated in the | ||
* fckeditor.html file (see FCK_InternalCSS). | ||
*/ | ||
|
||
/* Fix to allow putting the caret at the end of the content in Firefox if | ||
clicking below the content. */ | ||
html | ||
{ | ||
min-height: 100%; | ||
} | ||
|
||
table.FCK__ShowTableBorders, table.FCK__ShowTableBorders td, table.FCK__ShowTableBorders th | ||
{ | ||
border: #d3d3d3 1px solid; | ||
} | ||
|
||
form | ||
{ | ||
border: 1px dotted #FF0000; | ||
padding: 2px; | ||
} | ||
|
||
.FCK__Flash | ||
{ | ||
border: #a9a9a9 1px solid; | ||
background-position: center center; | ||
background-image: url(images/fck_flashlogo.gif); | ||
background-repeat: no-repeat; | ||
width: 80px; | ||
height: 80px; | ||
} | ||
|
||
.FCK__UnknownObject | ||
{ | ||
border: #a9a9a9 1px solid; | ||
background-position: center center; | ||
background-image: url(images/fck_plugin.gif); | ||
background-repeat: no-repeat; | ||
width: 80px; | ||
height: 80px; | ||
} | ||
|
||
/* Empty anchors images */ | ||
.FCK__Anchor | ||
{ | ||
border: 1px dotted #00F; | ||
background-position: center center; | ||
background-image: url(images/fck_anchor.gif); | ||
background-repeat: no-repeat; | ||
width: 16px; | ||
height: 15px; | ||
vertical-align: middle; | ||
} | ||
|
||
/* Anchors with content */ | ||
.FCK__AnchorC | ||
{ | ||
border: 1px dotted #00F; | ||
background-position: 1px center; | ||
background-image: url(images/fck_anchor.gif); | ||
background-repeat: no-repeat; | ||
padding-left: 18px; | ||
} | ||
|
||
/* Any anchor for non-IE, if we combine it with the previous rule IE ignores all. */ | ||
a[name] | ||
{ | ||
border: 1px dotted #00F; | ||
background-position: 0 center; | ||
background-image: url(images/fck_anchor.gif); | ||
background-repeat: no-repeat; | ||
padding-left: 18px; | ||
} | ||
|
||
.FCK__PageBreak | ||
{ | ||
background-position: center center; | ||
background-image: url(images/fck_pagebreak.gif); | ||
background-repeat: no-repeat; | ||
clear: both; | ||
display: block; | ||
float: none; | ||
width: 100%; | ||
border-top: #999999 1px dotted; | ||
border-bottom: #999999 1px dotted; | ||
border-right: 0px; | ||
border-left: 0px; | ||
height: 5px; | ||
} | ||
|
||
/* Hidden fields */ | ||
.FCK__InputHidden | ||
{ | ||
width: 19px; | ||
height: 18px; | ||
background-image: url(images/fck_hiddenfield.gif); | ||
background-repeat: no-repeat; | ||
vertical-align: text-bottom; | ||
background-position: center center; | ||
} | ||
|
||
.FCK__ShowBlocks p, | ||
.FCK__ShowBlocks div, | ||
.FCK__ShowBlocks pre, | ||
.FCK__ShowBlocks address, | ||
.FCK__ShowBlocks blockquote, | ||
.FCK__ShowBlocks h1, | ||
.FCK__ShowBlocks h2, | ||
.FCK__ShowBlocks h3, | ||
.FCK__ShowBlocks h4, | ||
.FCK__ShowBlocks h5, | ||
.FCK__ShowBlocks h6 | ||
{ | ||
background-repeat: no-repeat; | ||
border: 1px dotted gray; | ||
padding-top: 8px; | ||
padding-left: 8px; | ||
} | ||
|
||
.FCK__ShowBlocks p | ||
{ | ||
background-image: url(images/block_p.png); | ||
} | ||
|
||
.FCK__ShowBlocks div | ||
{ | ||
background-image: url(images/block_div.png); | ||
} | ||
|
||
.FCK__ShowBlocks pre | ||
{ | ||
background-image: url(images/block_pre.png); | ||
} | ||
|
||
.FCK__ShowBlocks address | ||
{ | ||
background-image: url(images/block_address.png); | ||
} | ||
|
||
.FCK__ShowBlocks blockquote | ||
{ | ||
background-image: url(images/block_blockquote.png); | ||
} | ||
|
||
.FCK__ShowBlocks h1 | ||
{ | ||
background-image: url(images/block_h1.png); | ||
} | ||
|
||
.FCK__ShowBlocks h2 | ||
{ | ||
background-image: url(images/block_h2.png); | ||
} | ||
|
||
.FCK__ShowBlocks h3 | ||
{ | ||
background-image: url(images/block_h3.png); | ||
} | ||
|
||
.FCK__ShowBlocks h4 | ||
{ | ||
background-image: url(images/block_h4.png); | ||
} | ||
|
||
.FCK__ShowBlocks h5 | ||
{ | ||
background-image: url(images/block_h5.png); | ||
} | ||
|
||
.FCK__ShowBlocks h6 | ||
{ | ||
background-image: url(images/block_h6.png); | ||
} |
Oops, something went wrong.