Update of /cvsroot/phpslash/phpslash-dev/public_html/scripts/fckeditor/editor/dialog
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16237/phpslash-dev/public_html/scripts/fckeditor/editor/dialog
Added Files:
fck_about.html fck_image.html fck_link.html fck_smiley.html
fck_specialchar.html fck_table.html
Log Message:
added fckeditor to comment submittal.
--- NEW FILE: fck_about.html ---
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <!--
* 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_about.html
* About dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<html>
<head>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<script language="javascript">
<!--
var oEditor = window.parent.InnerDialogLoaded() ;
// Set the language direction.
window.document.dir = oEditor.FCKLang.Dir ;
// Set the Skin CSS.
document.write( '<link href="' + oEditor.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
function SendEMail()
{
var eMail = 'mailto:' ;
eMail += 'fredck' ;
eMail += '@' ;
eMail += 'fckeditor' ;
eMail += '.' ;
eMail += 'net' ;
window.location = eMail ;
}
window.onload = function()
{
// Translate the dialog box texts.
oEditor.FCKLanguageManager.TranslatePage(document) ;
}
//-->
</script>
</head>
<body scroll="no">
<table cellpadding="0" cellspacing="0" border="0" width="100%" height="100%">
<tr>
<td>
<img alt="" src="images/logo_fckeditor.gif" width="236" height="41" align="left">
<table width="80" border="0" cellspacing="0" cellpadding="5" bgcolor="#ffffff" align="right">
<tr>
<td align="center" style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid">
<span fckLang="DlgAboutVersion">version</span>
<br>
<b>2.0 Beta 1</b></td>
</tr>
</table>
</td>
</tr>
<tr height="100%">
<td align="center">
Copyright (C) 2003-2004 <a href="#" onclick="SendEMail();">Frederico Caldeira
Knabben</a>
<br>
<br>
<span fckLang="DlgAboutLicense">Licensed under the terms of the GNU Lesser General
Public License</span>
<br>
<a href="http://www.opensource.org/licenses/lgpl-license.php" target="_blank">http://www.opensource.org/licenses/lgpl-license.php</a>
<br>
<br>
<span fckLang="DlgAboutInfo">For further information go to</span> <a href="http://www.fckeditor.net/" target="_blank">
http://www.fckeditor.net/</a>.
</td>
</tr>
<tr>
<td align="center">
<img alt="" src="images/logo_fredck.gif" width="87" height="36">
</td>
</tr>
</table>
</body>
</html>
--- NEW FILE: fck_image.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: fck_image.html
* Image dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<html>
<head>
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script type="text/javascript">
var dialogArguments = window.parent.InnerDialogLoaded() ;
var FCK = dialogArguments.FCK ;
// Sets the Skin CSS
document.write( '<link href="' + dialogArguments.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
var FCKConfig = dialogArguments.FCKConfig ;
// Get browsing configuration
var bCanBrowse = FCKConfig.ImageBrowser ;
var sBrowseURL = FCKConfig.ImageBrowserURL ;
var iBrowseWindowWidth = FCKConfig.ImageBrowserWindowWidth ;
var iBrowseWindowHeight = FCKConfig.ImageBrowserWindowHeight ;
// Get upload configuration
var bCanUpload = FCKConfig.ImageUpload && dialogArguments.BrowserInfo.IsIE55OrMore ;
var sUploadURL = FCKConfig.ImageUploadURL ;
var iUploadWindowWidth = FCKConfig.ImageUploadWindowWidth ;
var iUploadWindowHeight = FCKConfig.ImageUploadWindowHeight ;
var sUploadAllowedExtensions = FCKConfig.ImageUploadAllowedExtensions ;
// Gets the document DOM
var oDOM = dialogArguments.FCK.EditorDocument ;
// Gets the image if there is one selected.
var image ;
var e = FCK.Selection.GetSelectedElement( 'A' ) ;
if ( e && e.tagName == 'IMG' )
image = e ;
// this var is used to update the existing image
var imageSource = image ;
// Gets a copy of the image (for image size purposes)
var imageOriginal ;
if (image != null)
{
imageOriginal = new Image() ;
imageOriginal.src = image.src ;
}
else
imageOriginal = null ;
// Get the IMG tag.
function getImageHtml()
{
return '<IMG'
+ attr("src", document.getElementById('txtURL').value)
+ attr("alt", document.getElementById('txtAlt').value)
+ attr("align", document.getElementById('cmbAlign')[document.getElementById('cmbAlign').selectedIndex].value)
+ ((txtWidth.value) ? attr("width" , document.getElementById('txtWidth').value) : "")
+ ((txtHeight.value) ? attr("height", document.getElementById('txtHeight').value) : "")
+ ((txtVSpace.value) ? attr("vspace", document.getElementById('txtVSpace').value) : "")
+ ((txtHSpace.value) ? attr("hspace", document.getElementById('txtHSpace').value) : "")
+ ((txtBorder.value) ? attr("border", document.getElementById('txtBorder').value) : attr("border",0))
+ '/>' ;
}
// Returns a formatted image attribute. Used by getImageHtml().
function attr(name, value)
{
if (!value || value == "") return "" ;
return ' ' + name + '="' + value + '"' ;
}
// Update any image (the selected or preview one)
function updateImage(imgTarget)
{
if ( document.getElementById('txtURL').value.length == 0 )
imgTarget.style.display = "none" ;
else
{
imgTarget.style.removeAttribute("display") ;
imgTarget.style.removeAttribute("height") ;
imgTarget.style.removeAttribute("width") ;
imgTarget.src = document.getElementById('txtURL').value ;
setAttribute(imgTarget, "alt" , document.getElementById('txtAlt').value) ;
setAttribute(imgTarget, "width" , document.getElementById('txtWidth').value) ;
setAttribute(imgTarget, "height", document.getElementById('txtHeight').value) ;
setAttribute(imgTarget, "vspace", document.getElementById('txtVSpace').value) ;
setAttribute(imgTarget, "hspace", document.getElementById('txtHSpace').value) ;
setAttribute(imgTarget, "border", document.getElementById('txtBorder').value) ;
setAttribute(imgTarget, "align" , document.getElementById('cmbAlign').options[ document.getElementById('cmbAlign').selectedIndex ].value) ;
}
}
function setAttribute(element, attribute, value)
{
if (value == null || value == "")
element.removeAttribute(attribute, 0) ; // 0 = case insensitive
else
element.setAttribute(attribute, value, 0) ; // 0 = overwrite
}
// Fired when any field change to update the preview image.
function updatePreview()
{
updateImage(imgPreview) ;
}
// Fired when the user press the OK button
function Ok()
{
if ( document.getElementById('txtURL').value.length == 0 )
{
cancel() ;
return ;
}
if ( imageSource == null )
window.returnValue = getImageHtml() ;
else
{
updateImage( imageSource ) ;
window.returnValue = null ;
}
window.close() ;
}
// Fired when the user load the window. It sets the fields with the
// actual values if an image is selected in the editor.
function setDefaults()
{
// First of all, translate the dialog box texts
dialogArguments.FCKLanguageManager.TranslatePage(document) ;
window.parent.AddTab( 'Info', 'Image Info' ) ;
window.parent.AddTab( 'Upload', 'Upload' ) ;
if (image == null) return ;
if (image.getAttribute("src",2) != null) document.getElementById('txtURL').value = image.getAttribute("src",2) ;
if (image.getAttribute("alt",2) != null) document.getElementById('txtAlt').value = image.getAttribute("alt",2) ;
if (image.getAttribute("vspace",2) != null) document.getElementById('txtVSpace').value = image.getAttribute("vspace",2) > 0 ? image.getAttribute("vspace",2) : "" ;
if (image.getAttribute("hspace",2) != null) document.getElementById('txtHSpace').value = image.getAttribute("hspace",2) > 0 ? image.getAttribute("hspace",2) : "" ;
if (image.getAttribute("border",2) != null) document.getElementById('txtBorder').value = image.getAttribute("border",2) ;
if ( image.style.getAttribute("pixelWidth") > 0 )
document.getElementById('txtWidth').value = image.style.getAttribute("pixelWidth") ;
else if (image.getAttribute("width",2) != null)
document.getElementById('txtWidth').value = image.getAttribute("width",2) ;
if ( image.style.getAttribute("pixelHeight") > 0 )
document.getElementById('txtHeight').value = image.style.getAttribute("pixelHeight") ;
else if (image.getAttribute("height",2) != null)
document.getElementById('txtHeight').value = image.getAttribute("height",2) ;
if (image.getAttribute("align") != null)
document.getElementById('cmbAlign').value = image.getAttribute("align") ;
updatePreview() ;
}
// Fired when the width or height input texts change
function sizeChanged(axe)
{
// Verifies if the aspect ration has to be mantained
if (imageOriginal && document.getElementById('chkLockRatio').checked)
{
if ((axe) == "Width")
{
if ( document.getElementById('txtWidth').value != "")
{
if (! isNaN(txtWidth.value))
document.getElementById('txtHeight').value = Math.round( imageOriginal.height * ( txtWidth.value / imageOriginal.width ) ) ;
}
else
document.getElementById('txtHeight').value = "" ;
}
else
if (txtHeight.value != "")
{
if (! isNaN(txtHeight.value))
document.getElementById('txtWidth').value = Math.round( imageOriginal.width * ( document.getElementById('txtHeight').value / imageOriginal.height ) ) ;
}
else
document.getElementById('txtWidth').value = "" ;
}
updatePreview() ;
}
// Fired when the Lock Ratio checkbox is clicked
function onLockRationClick()
{
sizeChanged("Width") ;
}
// Fired when the Reset Size button is clicked
function resetSize()
{
if (! imageOriginal) return ;
document.getElementById('txtWidth').value = imageOriginal.width ;
document.getElementById('txtHeight').value = imageOriginal.height ;
updatePreview() ;
}
// Fired when the user click in the "Sent it to the Server" button.
function uploadFile()
{
var sFile = frmUpload.FCKeditor_File.value ;
if (sFile == "")
{
alert( dialogArguments.FCKLang["DlgImgAlertSelect"] ) ;
return ;
}
var sExt = sFile.match( /\.[^\.]*$/ ) ;
sExt = sExt ? sExt[0].toLowerCase() : "." ;
if ( sUploadAllowedExtensions.indexOf( sExt ) < 0 )
{
alert( dialogArguments.FCKLang["DlgImgMsgWrongExt"] ) ;
return ;
}
var oWindow = openNewWindow("", "UploadWindow", iUploadWindowWidth, iUploadWindowHeight) ;
frmUpload.submit() ;
oWindow.setImage = setImage ;
}
function browserServer()
{
var oWindow = openNewWindow(sBrowseURL, "BrowseWindow", iBrowseWindowWidth, iBrowseWindowHeight) ;
oWindow.setImage = setImage ;
}
function openNewWindow(sURL, sName, iWidth, iHeight, bResizable, bScrollbars)
{
var iTop = (screen.height - iHeight) / 2 ;
var iLeft = (screen.width - iWidth) / 2 ;
var sOptions = "toolbar=no" ;
sOptions += ",width=" + iWidth ;
sOptions += ",height=" + iHeight ;
sOptions += ",resizable=" + (bResizable ? "yes" : "no") ;
sOptions += ",scrollbars=" + (bScrollbars ? "yes" : "no") ;
sOptions += ",left=" + iLeft ;
sOptions += ",top=" + iTop ;
var oWindow = window.open(sURL, sName, sOptions)
oWindow.focus();
return oWindow ;
}
function setImage(sImageURL)
{
if (image != null)
{
image = new Image() ;
image.src = sImageURL ;
}
imageOriginal = new Image() ;
imageOriginal.onload = resetSize ;
imageOriginal.src = sImageURL ;
document.getElementById('txtURL').value = sImageURL ;
updatePreview() ;
}
</script>
<style type="text/css">
.ImagePreviewArea
{
border-right: #000000 1px solid;
padding-right: 5px;
border-top: #000000 1px solid;
padding-left: 5px;
padding-bottom: 5px;
overflow: auto;
border-left: #000000 1px solid;
width: 100%;
padding-top: 5px;
border-bottom: #000000 1px solid;
height: 150px;
background-color: #ffffff;
}
</style>
</head>
<body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="setDefaults()" scroll="no">
<table cellspacing="1" cellpadding="1" border="0" width="100%" class="dlg" height="100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td valign="top" colspan="2">
<span fckLang="DlgImgURL">URL</span><br>
<input style="WIDTH: 100%" type="text" id="txtURL" onblur="updatePreview();">
</td>
</tr>
<tr>
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0" style="DISPLAY: none" id="tableUpload">
<tr>
<form id="frmUpload" enctype="multipart/form-data" method="post" target="UploadWindow">
<td><span fckLang="DlgImgUpload">Upload</span><br>
<input style="WIDTH: 100%" type="file" name="FCKeditor_File" id="FCKeditor_File">
</td>
</tr>
<tr>
<td align="right">
<input id="btnUpload" type="button" fckLang="DlgImgBtnUpload" value="Send it to the Server"
onclick="uploadFile();">
</td>
</form>
</tr>
</table>
</td>
<td valign="middle" width="100">
<input type="button" style="DISPLAY: none; WIDTH: 100%" fckLang="DlgImgBtnBrowse" value="Browse Server"
onclick="browserServer();" id="btnBrowse">
</td>
</tr>
</table>
<hr width="100%" color="#000000" size="2">
</td>
</tr>
<tr>
<td><span fckLang="DlgImgAlt">Alternative Text</span><BR>
<input style="WIDTH: 100%" type="text" id="txtAlt" onkeyup="updatePreview();">
</td>
</tr>
<tr height="100%">
<td>
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="100%">
<tr>
<td valign="top">
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span fckLang="DlgImgWidth">Width</span> </td>
<td>
<input type="text" size="3" id="txtWidth" onkeyup="sizeChanged('Width');"></td>
</tr>
<tr>
<td><span fckLang="DlgImgHeight">Height</span> </td>
<td>
<input type="text" size="3" id="txtHeight" onkeyup="sizeChanged('Height');"></td>
</tr>
</table>
<input type="checkbox" class="CheckBox" checked id="chkLockRatio" onclick="onLockRationClick();">
<span fckLang="DlgImgLockRatio">Lock Ratio</span>
<br>
<input type="button" fckLang="DlgBtnResetSize" value="Reset Size" onclick="resetSize();"><br>
<br>
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span fckLang="DlgImgBorder">Border</span> </td>
<td>
<input type="text" size="2" value="0" id="txtBorder" onkeyup="updatePreview();"></td>
</tr>
<tr>
<td><span fckLang="DlgImgHSpace">HSpace</span> </td>
<td>
<input type="text" size="2" id="txtHSpace" onkeyup="updatePreview();"></td>
</tr>
<tr>
<td><span fckLang="DlgImgVSpace">VSpace</span> </td>
<td>
<input type="text" size="2" id="txtVSpace" onkeyup="updatePreview();"></td>
</tr>
<tr>
<td><span fckLang="DlgImgAlign">Align</span> </td>
<td><select id="cmbAlign" onchange="updatePreview();">
<option value="" selected></option>
<option fckLang="DlgImgAlignLeft" value="left">Left</option>
<option fckLang="DlgImgAlignAbsBottom" value="absBottom">Abs Bottom</option>
<option fckLang="DlgImgAlignAbsMiddle" value="absMiddle">Abs Middle</option>
<option fckLang="DlgImgAlignBaseline" value="baseline">Baseline</option>
<option fckLang="DlgImgAlignBottom" value="bottom">Bottom</option>
<option fckLang="DlgImgAlignMiddle" value="middle">Middle</option>
<option fckLang="DlgImgAlignRight" value="right">Right</option>
<option fckLang="DlgImgAlignTextTop" value="textTop">Text Top</option>
<option fckLang="DlgImgAlignTop" value="top">Top</option>
</select></td>
</tr>
</table>
</td>
<td> </td>
<td width="100%">
<table cellpadding="0" cellspacing="0">
<tr>
<td><span fckLang="DlgImgPreview">Preview</span></td>
</tr>
<tr>
<td valign="top">
<div class="ImagePreviewArea">
<img id="imgPreview" style="DISPLAY: none">Magnus es, domine, et laudabilis
valde: magna virtus tua, et sapientiae tuae non est numerus. et laudare te vult
homo, aliqua portio creaturae tuae, et homo circumferens mortalitem suam,
circumferens testimonium peccati sui et testimonium, quia superbis resistis: et
tamen laudare te vult homo, aliqua portio creaturae tuae.tu excitas, ut laudare
te delectet, quia fecisti nos ad te et inquietum est cor nostrum, donec
requiescat in te. da mihi, domine, scire et intellegere, utrum sit prius
invocare te an laudare te, et scire te prius sit an invocare te. sed quis te
invocat nesciens te? aliud enim pro alio potest invocare nesciens. an potius
invocaris, ut sciaris? quomodo autem invocabunt, in quem non crediderunt? aut
quomodo credent sine praedicante? et laudabunt dominum qui requirunt eum.
quaerentes enim inveniunt eum et invenientes laudabunt eum. quaeram te, domine,
invocans te, et invocem te credens in te: praedicatus enim es nobis. invocat
te, domine, fides mea, quam dedisti mihi, quam inspirasti mihi per humanitatem
filii tui, per ministerium praedicatoris tui.
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<script type="text/javascript">
<!--
if (bCanUpload)
{
tableUpload.style.display = "block" ;
frmUpload.action = sUploadURL ;
}
if (bCanBrowse)
btnBrowse.style.display = "block" ;
//-->
</script>
</body>
</html>
--- NEW FILE: fck_link.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: fck_link.html
* Link dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* File Authors:
* Frederico Caldeira Knabben (fr...@fc...)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Link Properties</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script src="js/fck_dialog_common.js" type="text/javascript"></script>
<script src="js/fck_link.js" type="text/javascript"></script>
</head>
<body onload="OnLoad();" scroll="no">
<div id="divInfo" style="DISPLAY: none">Link Type<br />
<select id="cmbLinkType" onchange="SetLinkType(this.value);">
<option value="url" selected="selected">URL</option>
<option value="anchor">Anchor in this page</option>
<option value="email">E-Mail</option>
</select>
<br />
<br />
<div id="divLinkTypeUrl">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td nowrap="nowrap">Protocol<br />
<select id="cmbLinkProtocol">
<option value="http://" selected="selected">http://</option>
<option value="https://">https://</option>
<option value="ftp://">ftp://</option>
<option value="news://">news://</option>
<option value=""><other></option>
</select>
</td>
<td nowrap="nowrap"> </td>
<td nowrap="nowrap" width="100%">URL<br />
<input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
</td>
</tr>
</table>
<br />
<input type="button" value="Browse Server" onclick="BrowseServer();" />
</div>
<div id="divLinkTypeAnchor" style="DISPLAY: none" align="center">
<div id="divSelAnchor" style="DISPLAY: none">
<table cellspacing="0" cellpadding="0" border="0" width="70%">
<tr>
<td colspan="3">Select an Anchor</td>
</tr>
<tr>
<td width="50%">
By Anchor Name<br />
<select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%">
<option value="" selected="selected"></option>
</select>
</td>
<td> </td>
<td width="50%">
By Element Id<br />
<select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%">
<option value="" selected="selected"></option>
</select>
</td>
</tr>
</table>
</div>
<div id="divNoAnchor" style="DISPLAY: none">
<No anchors available in the document>
</div>
</div>
<div id="divLinkTypeEMail" style="DISPLAY: none">E-Mail Address<br />
<input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br />
Message Subject<br />
<input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br />
Message Body<br />
<textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea>
</div>
</div>
<div id="divUpload" style="DISPLAY: none">
<form method="post" target="UploadWindow" enctype="multipart/form-data" action="">
Upload<br />
<input style="WIDTH: 100%" type="file" size="40" /><br />
<br />
<input id="btnUpload" onclick="uploadFile();" type="button" value="Send it to the Server"
fckLang="DlgLnkBtnUpload" />
</form>
</div>
<div id="divTarget" style="DISPLAY: none">
<table cellspacing="0" cellpadding="0" width="100%" border="0">
<tr>
<td nowrap="nowrap">Target<br />
<select id="cmbTarget" onchange="SetTarget(this.value);">
<option value="" selected="selected"><not set></option>
<option value="frame"><frame></option>
<option value="popup"><popup window></option>
<option value="_blank">New Window (_blank)</option>
<option value="_top">Topmost Window (_top)</option>
<option value="_self">Same Window (_self)</option>
<option value="_parent">Parent Window (_parent)</option>
</select>
</td>
<td> </td>
<td id="tdTargetFrame" nowrap="nowrap" width="100%">Target Frame Name<br />
<input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();"
onchange="OnTargetNameChange();" />
</td>
<td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%">Popup
Window Name<br />
<input id="txtPopupName" style="WIDTH: 100%" type="text" />
</td>
</tr>
</table>
<br />
<table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center"
border="0">
<tr>
<td>Popup Window Features<br />
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td valign="top" nowrap="nowrap" width="50%">
<input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable">Resizable</label><br />
<input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar">Location
Bar</label><br />
<input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar">Menu
Bar</label><br />
<input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars">Scroll
Bars</label>
</td>
<td></td>
<td valign="top" nowrap="nowrap" width="50%">
<input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar">Status
Bar</label><br />
<input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar">Toolbar</label><br />
<input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen">Full
Screen (IE)</label><br />
<input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent">Dependent
(Netscape)</label>
</td>
</tr>
<tr>
<td valign="top" nowrap="nowrap" width="50%"> </td>
<td></td>
<td valign="top" nowrap="nowrap" width="50%"></td>
</tr>
<tr>
<td valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap">Width</td>
<td> <input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td>
</tr>
<tr>
<td nowrap="nowrap">Height</td>
<td> <input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td>
</tr>
</table>
</td>
<td> </td>
<td valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap="nowrap">Left Position</td>
<td> <input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td>
</tr>
<tr>
<td nowrap="nowrap">Top Position</td>
<td> <input id="txtPopupTop" type="text" maxlength="4" size="4" /></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="divAttribs" style="DISPLAY: none">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td valign="top" width="50%">
Id<br />
<input id="txtAttId" style="WIDTH: 100%" type="text" />
</td>
<td width="1"></td>
<td valign="top">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td width="60%">
Language Direction<br />
<select id="cmbAttLangDir" style="WIDTH: 100%">
<option value="" selected="selected"><not set></option>
<option value="ltr">Left to Right (LTR)</option>
<option value="rtl">Right to Left (RTL)</option>
</select>
</td>
<td width="1%"> </td>
<td nowrap="nowrap">Access Key<br />
<input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="50%">
Name<br />
<input id="txtAttName" style="WIDTH: 100%" type="text" />
</td>
<td width="1"></td>
<td valign="top">
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td width="60%">
Language Code<br />
<input id="txtAttLangCode" style="WIDTH: 100%" type="text" />
</td>
<td width="1%"> </td>
<td nowrap="nowrap">
Tab Index<br />
<input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="50%"> </td>
<td width="1"></td>
<td valign="top"></td>
</tr>
<tr>
<td valign="top" width="50%">
Advisory Title<br />
<input id="txtAttTitle" style="WIDTH: 100%" type="text" />
</td>
<td width="1"> </td>
<td valign="top">
Advisory Content Type<br />
<input id="txtAttContentType" style="WIDTH: 100%" type="text" />
</td>
</tr>
<tr>
<td valign="top">
Stylesheet Classes<br />
<input id="txtAttClasses" style="WIDTH: 100%" type="text" />
</td>
<td></td>
<td valign="top">
Linked Resource Charset<br />
<input id="txtAttCharSet" style="WIDTH: 100%" type="text" />
</td>
</tr>
</table>
<table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
<tr>
<td>
Style<br />
<input id="txtAttStyle" style="WIDTH: 100%" type="text" />
</td>
</tr>
</table>
</div>
</body>
</html>
--- NEW FILE: fck_smiley.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: fck_smiley.html
* Smileys (emoticons) dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* 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" />
<style type="text/css">
.HandIE { cursor: hand ; }
.HandMozilla { cursor: pointer ; }
</style>
<script type="text/javascript">
var dialogArguments = window.parent.InnerDialogLoaded() ;
// Sets the Skin CSS
document.write( '<link href="' + dialogArguments.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
function insertChar(td)
{
dialogArguments.FCK.InsertHtml( td.innerHTML || "" ) ;
window.parent.Cancel() ;
}
function over(td)
{
td.className = 'LightBackground HandIE HandMozilla' ;
}
function out(td)
{
td.className = 'DarkBackground HandIE HandMozilla' ;
}
function setDefaults()
{
// First of all, translate the dialog box texts
dialogArguments.FCKLanguageManager.TranslatePage(document) ;
}
</script>
</head>
<body onload="setDefaults()" scroll="no">
<table cellpadding="2" cellspacing="2" align="center" border="0" width="100%" height="100%">
<script type="text/javascript">
<!--
var FCKConfig = dialogArguments.FCKConfig ;
var sBasePath = FCKConfig.SmileyPath ;
var aImages = FCKConfig.SmileyImages ;
var cols = FCKConfig.SmileyColumns ;
var i = 0 ;
while (i < aImages.length)
{
document.write("<TR>") ;
for(var j = 0 ; j < cols ; j++)
{
if (aImages[i])
{
document.write("<TD width='1%' align='center' class='DarkBackground HandIE HandMozilla' onclick='insertChar(this)' onmouseover='over(this)' onmouseout='out(this)'>") ;
document.write("<img src='" + sBasePath + aImages[i] + "' border='0'>") ;
}
else
document.write("<TD width='1%' class='DarkBackground'> ") ;
document.write("</TD>") ;
i++ ;
}
document.write("</TR>") ;
}
//-->
</script>
</table>
</body>
</html>
--- NEW FILE: fck_specialchar.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: fck_specialchar.html
* Special Chars Selector dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* 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">
<style type="text/css">
.HandIE { cursor: hand ; }
.HandMozilla { cursor: pointer ; }
.Sample { font-size: 24px; }
</style>
<script type="text/javascript">
var dialogArguments = window.parent.InnerDialogLoaded() ;
// Sets the Skin CSS
document.write( '<link href="' + dialogArguments.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
var oSample ;
function insertChar(charValue)
{
dialogArguments.FCK.InsertHtml( charValue || "" ) ;
window.parent.Cancel() ;
}
function over(td)
{
oSample.innerHTML = td.innerHTML ;
td.className = 'LightBackground HandIE HandMozilla' ;
}
function out(td)
{
oSample.innerHTML = " " ;
td.className = 'DarkBackground HandIE HandMozilla' ;
}
function setDefaults()
{
// Gets the sample placeholder.
oSample = document.getElementById("SampleTD") ;
// First of all, translates the dialog box texts.
dialogArguments.FCKLanguageManager.TranslatePage(document) ;
}
</script>
</HEAD>
<BODY onload="setDefaults()" scroll="no">
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td width="100%">
<table cellpadding="1" cellspacing="1" align="center" border="0" width="100%" height="100%">
<script type="text/javascript">
var aChars = ["!",""","#","$","%","&","\\'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","¬","®","¯","°","±","²","³","´","µ","¶","·","¸","¹","º","»","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ü","ý","þ","ÿ"] ;
var cols = 20 ;
var i = 0 ;
while (i < aChars.length)
{
document.write("<TR>") ;
for(var j = 0 ; j < cols ; j++)
{
if (aChars[i])
{
document.write('<TD width="1%" class="DarkBackground HandIE HandMozilla" align="center" onclick="insertChar(\'' + aChars[i].replace(/&/g, "&") + '\')" onmouseover="over(this)" onmouseout="out(this)">') ;
document.write(aChars[i]) ;
}
else
document.write("<TD class='DarkBackground'> ") ;
document.write("</TD>") ;
i++ ;
}
document.write("</TR>") ;
}
</script>
</table>
</td>
<td nowrap> </td>
<td valign="top">
<table width="40" cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="SampleTD" width="40" height="40" align="center" class="DarkBackground Sample"> </td>
</tr>
</table>
</td>
</tr>
</table>
</BODY>
</HTML>
--- NEW FILE: fck_table.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: fck_table.html
* Table dialog window.
*
* Version: 2.0 Beta 1
* Modified: 2004-05-31 23:07:51
*
* 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">
<!-- Constants -->
<script type="text/javascript">
<!--
var dialogArguments = window.parent.InnerDialogLoaded() ;
// Sets the Skin CSS
document.write( '<link href="' + dialogArguments.FCKConfig.SkinPath + 'fck_dialog.css" type="text/css" rel="stylesheet">' ) ;
// Gets the document DOM
var oDOM = dialogArguments.FCK.EditorDocument ;
// Gets the table if there is one selected.
var table ;
var e = dialogArguments.FCKSelection.GetSelectedElement() ;
if ( ! e && document.location.search.substr(1) == 'Parent' )
e = dialogArguments.FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
if ( e && e.tagName == "TABLE" )
table = e ;
// Fired when the window loading process is finished. It sets the fields with the
// actual values if a table is selected in the editor.
function OnLoad()
{
// First of all, translate the dialog box texts
dialogArguments.FCKLanguageManager.TranslatePage(document) ;
if (table)
{
document.getElementById('txtRows').value = table.rows.length ;
document.getElementById('txtColumns').value = table.rows[0].cells.length ;
// Gets the value from the Width or the Style attribute
var iWidth = (table.style.width ? table.style.width : table.width ) ;
var iHeight = (table.style.height ? table.style.height : table.height ) ;
if (iWidth.indexOf('%') >= 0) // Percentual = %
{
iWidth = parseInt( iWidth.substr(0,iWidth.length - 1) ) ;
document.getElementById('selWidthType').value = "percent" ;
}
else if (iWidth.indexOf('px') >= 0) // Style Pixel = px
{ //
iWidth = iWidth.substr(0,iWidth.length - 2);
document.getElementById('selWidthType').value = "pixels" ;
}
if (iHeight && iHeight.indexOf('px') >= 0) // Style Pixel = px
iHeight = iHeight.substr(0,iHeight.length - 2);
document.getElementById('txtWidth').value = iWidth ;
document.getElementById('txtHeight').value = iHeight ;
document.getElementById('txtBorder').value = table.border ;
document.getElementById('selAlignment').value = table.align ;
document.getElementById('txtCellPadding').value = table.cellPadding ;
document.getElementById('txtCellSpacing').value = table.cellSpacing ;
// document.getElementById('cmbFontStyle').value = table.className ;
if (table.caption) document.getElementById('txtCaption').value = table.caption.innerText ;
document.getElementById('txtRows').disabled = true ;
document.getElementById('txtColumns').disabled = true ;
}
window.parent.SetOkButton( true ) ;
}
// Fired when the user press the OK button
function Ok()
{
var bExists = ( table != null ) ;
if ( ! bExists )
{
table = document.createElement( "TABLE" ) ;
}
// Removes the Width and Height styles
if ( bExists && table.style.width ) table.style.removeAttribute("width") ;
if ( bExists && table.style.height ) table.style.removeAttribute("height") ;
table.width = document.getElementById('txtWidth').value + ( document.getElementById('selWidthType').value == "percent" ? "%" : "") ;
table.height = document.getElementById('txtHeight').value ;
table.border = document.getElementById('txtBorder').value ;
table.align = document.getElementById('selAlignment').value ;
table.cellPadding = document.getElementById('txtCellPadding').value ;
table.cellSpacing = document.getElementById('txtCellSpacing').value ;
// table.className = cmbFontStyle.value ;
if ( document.getElementById('txtCaption').value != '')
{
if (! table.caption) table.createCaption() ;
table.caption.innerText = document.getElementById('txtCaption').value ;
}
// else if ( bExists && table.caption )
// table.deleteCaption() ; // TODO: It causes an IE internal error.
if (! bExists)
{
var iRows = document.getElementById('txtRows').value ;
var iCols = document.getElementById('txtColumns').value ;
for ( var r = 0 ; r < iRows ; r++ )
{
var oRow = table.insertRow(-1) ;
for ( var c = 0 ; c < iCols ; c++ )
{
var oCell = oRow.insertCell(-1) ;
oCell.innerHTML = " " ;
}
}
dialogArguments.FCK.InsertElement( table ) ;
}
return true ;
}
function IsDigit( e )
{
e = e || event ;
var iCode = ( e.keyCode || e.charCode ) ;
return
(
( iCode >= 48 && iCode <= 57 ) // Numbers
|| (iCode >= 37 && iCode <= 40) // Arrows
|| iCode == 8 // Backspace
|| iCode == 46 // Delete
) ;
}
//-->
</script>
</head>
<body bottommargin="5" leftmargin="5" topmargin="5" rightmargin="5" onload="OnLoad()">
<table id="otable" cellSpacing="0" cellPadding="0" width="100%" border="0" height="100%">
<tr>
<td>
<table cellSpacing="1" cellPadding="1" width="100%" border="0">
<tr>
<td valign="top">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td><span fckLang="DlgTableRows">Rows</span>:</td>
<td> <input id="txtRows" type="text" maxLength="3" size="2" value="3" name="txtRows" onkeypress="return IsDigit(event);"></td>
</tr>
<tr>
<td><span fckLang="DlgTableColumns">Columns</span>:</td>
<td> <input id="txtColumns" type="text" maxLength="2" size="2" value="2" name="txtColumns" onkeypress="return IsDigit(event);"></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td><span fckLang="DlgTableBorder">Border size</span>:</td>
<td> <INPUT id="txtBorder" type="text" maxLength="2" size="2" value="1" name="txtBorder" onkeypress="return IsDigit(event);"></td>
</tr>
<tr>
<td><span fckLang="DlgTableAlign">Alignment</span>:</td>
<td> <select id="selAlignment" name="selAlignment">
<option fckLang="DlgTableAlignNotSet" value="" selected><Not set></option>
<option fckLang="DlgTableAlignLeft" value="left">Left</option>
<option fckLang="DlgTableAlignCenter" value="center">Center</option>
<option fckLang="DlgTableAlignRight" value="right">Right</option>
</select></td>
</tr>
</table>
</td>
<td> </td>
<td align="right" valign="top">
<table cellSpacing="0" cellPadding="0" border="0">
<tr>
<td><span fckLang="DlgTableWidth">Width</span>:</td>
<td> <input id="txtWidth" type="text" maxLength="4" size="3" value="200" name="txtWidth" onkeypress="return IsDigit(event);"></td>
<td> <select id="selWidthType" name="selWidthType">
<option fckLang="DlgTableWidthPx" value="pixels" selected>pixels</option>
<option fckLang="DlgTableWidthPc" value="percent">percent</option>
</select></td>
</tr>
<tr>
<td><span fckLang="DlgTableHeight">Height</span>:</td>
<td> <INPUT id="txtHeight" type="text" maxLength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);"></td>
<td> <span fckLang="DlgTableWidthPx">pixels</span></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td nowrap><span fckLang="DlgTableCellSpace">Cell spacing</span>:</td>
<td> <input id="txtCellSpacing" type="text" maxLength="2" size="2" value="1" name="txtCellSpacing"
onkeypress="return IsDigit(event);"></td>
<td> </td>
</tr>
<tr>
<td nowrap><span fckLang="DlgTableCellPad">Cell padding</span>:</td>
<td> <input id="txtCellPadding" type="text" maxLength="2" size="2" value="1" name="txtCellPadding"
onkeypress="return IsDigit(event);"></td>
<td> </td>
</tr>
</table>
</td>
</tr>
</table>
<table cellSpacing="0" cellPadding="0" width="100%" border="0" ID="Table1">
<tr>
<td nowrap><span fcklang="DlgClassName">Class Name</span>:</td>
<td> </td>
<td>
<script type="text/javascript">
// var tbstyles = new TBCombo( "FontStyle" , "null" , "", dialogArguments.config.StyleNames, dialogArguments.config.StyleValues, 'CheckStyle("cmbFontStyle")');
// document.write(tbstyles.GetHTML());
</script></td>
</tr>
<tr>
<td><span fckLang="DlgTableCaption">Caption</span>:</td>
<td> </td>
<td width="100%">
<input id="txtCaption" type="text" style="WIDTH: 100%"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
|