Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/editor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16237/phpslash-dev/public_html/scripts/fckeditor/editor
Added Files:
fckdebug.html fckdialog.html fckeditor.html
fckeditor.original.html fckeditorarea.html
Log Message:
added fckeditor to comment submittal.
--- NEW FILE: fckdebug.html ---
<!--
* 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: fckdebug.html
* This is the Debug window.
* It automatically popups if the Debug = true in the configuration file.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:52
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<title>FCKeditor Debug Window</title>
<script type="text/javascript">
var oWindow ;
var oDiv ;
if ( !window.FCKMessages )
window.FCKMessages = new Array() ;
function Initialize()
{
oWindow = window.frames[ 'eOutput' ]
oWindow.document.open() ;
oWindow.document.write( '<div id="divMsg"></div>' ) ;
oWindow.document.close() ;
oDiv = oWindow.document.getElementById('divMsg') ;
}
function Output( message, color )
{
if ( color )
message = '<font color="' + color + '">' + message + '</font>' ;
window.FCKMessages[ window.FCKMessages.length ] = message ;
StartTimer() ;
}
function StartTimer()
{
window.setTimeout( 'CheckMessages()', 100 ) ;
}
function CheckMessages()
{
if ( window.FCKMessages.length > 0 )
{
// Get the first item in the queue
var sMessage = window.FCKMessages[0] ;
// Removes the first item from the queue
var oTempArray = new Array() ;
for ( i = 1 ; i < window.FCKMessages.length ; i++ )
oTempArray[ i - 1 ] = window.FCKMessages[ i ] ;
window.FCKMessages = oTempArray ;
var d = new Date() ;
var sTime =
( d.getHours() + 100 + '' ).substr( 1,2 ) + ':' +
( d.getMinutes() + 100 + '' ).substr( 1,2 ) + ':' +
( d.getSeconds() + 100 + '' ).substr( 1,2 ) + ':' +
( d.getMilliseconds() + 1000 + '' ).substr( 1,3 ) ;
var oMsgDiv = oWindow.document.createElement( 'div' ) ;
oMsgDiv.innerHTML = sTime + ': <b>' + sMessage + '</b>' ;
oDiv.appendChild( oMsgDiv ) ;
oMsgDiv.scrollIntoView() ;
}
}
function Clear()
{
oDiv.innerHTML = '' ;
}
</script>
</head>
<body onload="Initialize();" bottomMargin="10" leftMargin="10" topMargin="10" rightMargin="10">
<TABLE height="100%" cellSpacing="5" cellPadding="0" width="100%" border="0">
<TR>
<TD>
<TABLE cellSpacing="0" cellPadding="0" width="100%" border="0">
<TR>
<TD><FONT size="+2"><STRONG>FCKeditor Debug Window</STRONG></FONT></TD>
<TD align="right"><INPUT type="button" value="Clear" onclick="Clear();"></TD>
</TR>
</TABLE>
</TD>
</TR>
<TR>
<TD height="100%" style="BORDER-RIGHT: #696969 1px solid; BORDER-TOP: #696969 1px solid; BORDER-LEFT: #696969 1px solid; BORDER-BOTTOM: #696969 1px solid">
<iframe id="eOutput" name="eOutput" width="100%" height="100%" scrolling="auto" src="about:blank" frameborder="no"></iframe>
</TD>
</TR>
</TABLE>
</body>
</html>
--- NEW FILE: fckdialog.html ---
<!--
* 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: fckdialog.html
* This page is used by all dialog box as the container.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:52
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script type="text/javascript">
<!--
// Sets the Skin CSS
document.write( '<link href="' + dialogArguments.Editor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
// Sets the language direction.
window.document.dir = dialogArguments.Editor.FCKLang.Dir ;
var sTitle = dialogArguments.Title ;
document.write( '<title>' + sTitle + '</title>' ) ;
function LoadInnerDialog()
{
// First of all, translate the dialog box contents.
dialogArguments.Editor.FCKLanguageManager.TranslatePage( document ) ;
window.frames["frmMain"].document.location.href = dialogArguments.Page ;
}
function InnerDialogLoaded()
{
SetOnKeyDown( window.frames["frmMain"].document ) ;
DisableContextMenu( window.frames["frmMain"].document ) ;
return dialogArguments.Editor ;
}
function SetOkButton( showIt )
{
document.getElementById('btnOk').style.visibility = ( showIt ? '' : 'hidden' ) ;
}
function Ok()
{
if ( window.frames["frmMain"].Ok() )
Cancel() ;
}
function Cancel()
{
window.close() ;
}
// Object that holds all available tabs.
var oTabs = new Object() ;
function AddTab( tabCode, tabText, startHidden )
{
if ( typeof( oTabs[ tabCode ] ) != 'undefined' )
return ;
var eTabsRow = document.getElementById( 'Tabs' ) ;
var oCell = eTabsRow.insertCell( eTabsRow.cells.length - 1 ) ;
oCell.noWrap = true ;
var oDiv = document.createElement( 'DIV' ) ;
oDiv.className = 'PopupTab' ;
oDiv.innerHTML = tabText ;
oDiv.TabCode = tabCode ;
oDiv.onclick = function()
{
SetSelectedTab( this.TabCode ) ;
}
if ( startHidden )
oDiv.style.display = 'none' ;
var eTabsRow = document.getElementById( 'TabsRow' ) ;
oCell.appendChild( oDiv ) ;
if ( eTabsRow.style.display == 'none' )
{
var eTitleArea = document.getElementById( 'TitleArea' ) ;
eTitleArea.className = 'PopupTitle' ;
oDiv.className = 'PopupTabSelected' ;
eTabsRow.style.display = '' ;
if ( ! dialogArguments.Editor.FCKBrowserInfo.IsIE )
window.onresize() ;
}
oTabs[ tabCode ] = oDiv ;
oTabs[ tabCode ].Index = oTabs.length - 1 ;
}
function SetSelectedTab( tabCode )
{
for ( var sCode in oTabs )
{
if ( sCode == tabCode )
oTabs[sCode].className = 'PopupTabSelected' ;
else
oTabs[sCode].className = 'PopupTab' ;
}
if ( typeof( window.frames["frmMain"].OnDialogTabChange ) == 'function' )
window.frames["frmMain"].OnDialogTabChange( tabCode ) ;
}
function SetTabVisibility( tabCode, isVisible )
{
var oTab = oTabs[ tabCode ] ;
oTab.style.display = isVisible ? '' : 'none' ;
if ( ! isVisible && oTab.className == 'PopupTabSelected' )
{
for ( var sCode in oTabs )
{
if ( oTabs[sCode].style.display != 'none' )
{
SetSelectedTab( sCode ) ;
break ;
}
}
}
}
function SetOnKeyDown( targetDocument )
{
targetDocument.onkeydown = function ( e )
{
var e = e || event || this.parentWindow.event ;
switch ( e.keyCode )
{
case 13 : // ENTER
var oTarget = e.srcElement || e.target ;
if ( oTarget.tagName == 'TEXTAREA' ) return ;
Ok() ;
return false ;
case 27 : // ESC
Cancel() ;
return false ;
break ;
}
}
}
SetOnKeyDown( document ) ;
function DisableContextMenu( targetDocument )
{
if ( dialogArguments.Editor.FCKBrowserInfo.IsIE ) return ;
// Disable Right-Click
var oOnContextMenu = function( e )
{
var sTagName = e.target.tagName ;
if ( ! ( ( sTagName == "INPUT" && e.target.type == "text" ) || sTagName == "TEXTAREA" ) )
e.preventDefault() ;
}
targetDocument.addEventListener( 'contextmenu', oOnContextMenu, true ) ;
}
DisableContextMenu( document ) ;
if ( ! dialogArguments.Editor.FCKBrowserInfo.IsIE )
{
window.onresize = function()
{
var oFrame = document.getElementById("frmMain") ;
oFrame.height = 0 ;
var oCell = document.getElementById("FrameCell") ;
var iHeight = oCell.offsetHeight ;
oFrame.height = iHeight - 2 ;
}
}
//-->
</script>
</head>
<body onload="LoadInnerDialog();" class="PopupBody">
<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td id="TitleArea" class="PopupTitle PopupTitleBorder">
<script type="text/javascript">
<!--
document.write( sTitle ) ;
//-->
</script>
</td>
</tr>
<tr id="TabsRow" style="DISPLAY: none">
<td class="PopupTabArea">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr id="Tabs" onselectstart="return false;">
<td class="PopupTabEmptyArea"> </td>
<td class="PopupTabEmptyArea" width="100%"> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td id="FrameCell" height="100%">
<iframe id="frmMain" name="frmMain" frameborder="0" height="100%" width="100%" scrolling="auto">
</iframe>
</td>
</tr>
<tr>
<td class="PopupButtons">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="100%"> </td>
<td nowrap="nowrap">
<input id="btnOk" style="VISIBILITY: hidden; WIDTH: 100px" type="button" value="Ok" class="Button"
onclick="Ok();" fckLang="DlgBtnOK" /> <input type="button" value="Cancel" class="Button" onclick="Cancel();" fckLang="DlgBtnCancel" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
--- NEW FILE: fckeditor.html ---
<!--
* 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: fckeditor.html
* Main page that holds the editor.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:32:15
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor</title>
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="Cache-Control" content="public">
<script type="text/javascript" src="js/fck_startup.js"></script>
</head>
<body onfocus="FCK.Focus();">
<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td unselectable="on">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr id="Collapsed" style="DISPLAY: none">
<td class="TB_Expand" title="Expand Toolbar" unselectable="on" colspan="3" onclick="FCKToolbarSet.Expand();return false;"><img class="TB_ExpandImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td>
</tr>
<tr id="Expanded" style="DISPLAY: none">
<td id="CollapseHandle" style="DISPLAY: none" class="TB_Collapse" title="Collapse Toolbar"
unselectable="on" valign="bottom" onclick="FCKToolbarSet.Collapse();return false;"><img class="TB_CollapseImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td>
<td id="eToolbar" class="TB_ToolbarSet" unselectable="on"></td>
<td width="1" style="BACKGROUND-COLOR: #696969"></td>
</tr>
</table>
</td>
</tr>
<tr id="eWysiwyg">
<td id="eWysiwygCell" height="100%">
<iframe id="eEditorArea" name="eEditorArea" height="100%" width="100%" src="fckeditorarea.html"
frameborder="no"></iframe>
</td>
</tr>
<tr id="eSource" style="DISPLAY: none">
<td class="Source" height="100%" valign="top">
<textarea id="eSourceField" style="WIDTH: 100%; HEIGHT: 100%"></textarea>
</td>
</tr>
</table>
</body>
</html>
--- NEW FILE: fckeditor.original.html ---
<!--
* 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: fckeditor.original.html
* Main page that holds the editor.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:32:15
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>FCKeditor</title>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5"> <!-- @Packager.RemoveLine -->
<meta name="robots" content="noindex, nofollow" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- @Packager.RemoveLine
<meta http-equiv="Cache-Control" content="public">
@Packager.RemoveLine -->
<!-- @Packager.Remove.Start -->
<script type="text/javascript" src="_source/internals/fckbrowserinfo.js"></script>
<script type="text/javascript" src="_source/internals/fckscriptloader.js"></script>
<script type="text/javascript" src="_source/internals/fckconfig.js"></script>
<script type="text/javascript" src="_source/internals/fck_onload.js"></script>
<script type="text/javascript" src="_source/internals/fckurlparams.js"></script>
<script type="text/javascript" src="_source/globals/fck_constants.js"></script>
<script type="text/javascript" src="_source/internals/fck.js"></script>
<script type="text/javascript" src="_source/globals/fckeditorapi.js"></script>
<!-- @Packager.Remove.End -->
<!-- @Packager.RemoveLine
<script type="text/javascript" src="js/fck_startup.js"></script>
@Packager.RemoveLine -->
</head>
<body onfocus="FCK.Focus();">
<table height="100%" width="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td unselectable="on">
<table width="100%" cellpadding="0" cellspacing="0" border="0">
<tr id="Collapsed" style="DISPLAY: none">
<td class="TB_Expand" title="Expand Toolbar" unselectable="on" colspan="3" onclick="FCKToolbarSet.Expand();return false;"><img class="TB_ExpandImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td>
</tr>
<tr id="Expanded" style="DISPLAY: none">
<td id="CollapseHandle" style="DISPLAY: none" class="TB_Collapse" title="Collapse Toolbar"
unselectable="on" valign="bottom" onclick="FCKToolbarSet.Collapse();return false;"><img class="TB_CollapseImg" src="images/spacer.gif" width="8" height="4" unselectable="on"></td>
<td id="eToolbar" class="TB_ToolbarSet" unselectable="on"></td>
<td width="1" style="BACKGROUND-COLOR: #696969"></td>
</tr>
</table>
</td>
</tr>
<tr id="eWysiwyg">
<td id="eWysiwygCell" height="100%">
<iframe id="eEditorArea" name="eEditorArea" height="100%" width="100%" src="fckeditorarea.html"
frameborder="no"></iframe>
</td>
</tr>
<tr id="eSource" style="DISPLAY: none">
<td class="Source" height="100%" valign="top">
<textarea id="eSourceField" style="WIDTH: 100%; HEIGHT: 100%"></textarea>
</td>
</tr>
</table>
</body>
</html>
--- NEW FILE: fckeditorarea.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>FCKeditor - Editor Area</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/fck_editorarea.css" type="text/css" rel="stylesheet" />
</head>
<body></body>
</html>
|