[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_button.html
From: |
skwashd |
Subject: |
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_button.html, 1.1 fck_checkbox.html, 1.1 fck_colorselector.html, 1.1 fck_docprops.html, 1.1 fck_anchor.html, 1.1 fck_about.html, 1.1 fck_find.html, 1.1 fck_form.html, 1.1 fck_radiobutton.html, 1.1 fck_replace.html, 1.1 fck_select.html, 1.1 fck_smiley.html, 1.1 fck_paste.html, 1.1 fck_listprop.html, 1.1 fck_hiddenfield.html, 1.1 fck_image.html, 1.1 fck_link.html, 1.1 fck_specialchar.html, 1.1 fck_spellerpages.html, 1.1 fck_universalkey.html, 1.1 fck_textfield.html, 1.1 fck_table.html, 1.1 fck_tablecell.html, 1.1 fck_textarea.html, 1.1 |
Date: |
Tue, 24 May 2005 16:32:00 +0200 |
Update of news_admin/js/fckeditor/editor/dialog
Added Files:
Branch: MAIN
fck_button.html
fck_checkbox.html
fck_colorselector.html
fck_docprops.html
fck_anchor.html
fck_about.html
fck_find.html
fck_form.html
fck_radiobutton.html
fck_replace.html
fck_select.html
fck_smiley.html
fck_paste.html
fck_listprop.html
fck_hiddenfield.html
fck_image.html
fck_link.html
fck_specialchar.html
fck_spellerpages.html
fck_universalkey.html
fck_textfield.html
fck_table.html
fck_tablecell.html
fck_textarea.html
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_button.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_button.html
* Button dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-09 20:14:46
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Button Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName.toUpperCase() == "INPUT" && (
oActiveEl.type == "button" || oActiveEl.type == "submit" || oActiveEl.type ==
"reset" ) )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = oActiveEl.value ;
GetE('txtType').value = oActiveEl.type ;
GetE('txtType').disabled = true ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' )
;
oActiveEl.type = GetE('txtType').value ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0"
cellspacing="0" width="80%">
<tr>
<td colSpan="">
<span
fckLang="DlgCheckboxName">Name</span><br>
<input
type="text" size="20" id="txtName" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgButtonText">Text (Value)</span><br>
<input
type="text" id="txtValue" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgButtonType">Type</span><br>
<select
id="txtType">
<option
value="button" selected>Button</option>
<option
value="submit">Submit</option>
<option
value="reset">Reset</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_checkbox.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_checkbox.html
* Checkbox dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-16 20:12:02
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Checkbox Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type ==
'checkbox' )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = GetAttribute( oActiveEl,
'value' ) ;
GetE('txtSelected').checked = oActiveEl.checked ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' )
;
oActiveEl.type = 'checkbox' ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
if ( GetE('txtSelected').checked )
{
SetAttribute( oActiveEl, 'checked', 'checked' ) ;
oActiveEl.checked = GetE('txtSelected').checked ;
}
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0"
cellspacing="0" width="80%">
<tr>
<td>
<span
fckLang="DlgCheckboxName">Name</span><br>
<input
type="text" size="20" id="txtName" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgCheckboxValue">Value</span><br>
<input
type="text" size="20" id="txtValue" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td><input
type="checkbox" id="txtSelected"><label for="txtSelected"
fckLang="DlgCheckboxSelected">Checked</label></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_colorselector.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_colorselector.html
* Color Selection dialog window.
*
* Version: 2.0 RC3
* Modified: 2004-12-19 23:16:57
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!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">
#ColorTable { cursor: pointer ; cursor:
hand ; }
#hicolor { height: 74px ; width: 74px ;
border-width: 1px ; border-style: solid ; }
#hicolortext { width: 75px ; text-align: right ;
margin-bottom: 7px ; }
#selhicolor { height: 20px ; width: 74px ;
border-width: 1px ; border-style: solid ; }
#selcolor { width: 75px ; height: 20px ;
margin-top: 0px ; margin-bottom: 7px ; }
#btnClear { width: 75px ; height: 22px ;
margin-bottom: 6px ; }
.ColorCell { height: 15px ; width: 15px ; }
</style>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
function OnLoad()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
CreateColorTable() ;
window.parent.SetOkButton( true ) ;
window.parent.SetAutoSize( true ) ;
}
function CreateColorTable()
{
// Get the target table.
var oTable = document.getElementById('ColorTable') ;
// Create the base colors array.
var aColors = ['00','33','66','99','cc','ff'] ;
// This function combines two ranges of three values from the color
array into a row.
function AppendColorRow( rangeA, rangeB )
{
for ( var i = rangeA ; i < rangeA + 3 ; i++ )
{
var oRow = oTable.insertRow(-1) ;
for ( var j = rangeB ; j < rangeB + 3 ; j++ )
{
for ( var n = 0 ; n < 6 ; n++ )
{
AppendColorCell( oRow, '#' + aColors[j]
+ aColors[n] + aColors[i] ) ;
}
}
}
}
// This function create a single color cell in the color table.
function AppendColorCell( targetRow, color )
{
var oCell = targetRow.insertCell(-1) ;
oCell.className = 'ColorCell' ;
oCell.bgColor = color ;
oCell.onmouseover = function()
{
document.getElementById('hicolor').style.backgroundColor = this.bgColor ;
document.getElementById('hicolortext').innerHTML =
this.bgColor ;
}
oCell.onclick = function()
{
document.getElementById('selhicolor').style.backgroundColor = this.bgColor ;
document.getElementById('selcolor').value =
this.bgColor ;
}
}
AppendColorRow( 0, 0 ) ;
AppendColorRow( 3, 0 ) ;
AppendColorRow( 0, 3 ) ;
AppendColorRow( 3, 3 ) ;
// Create the last row.
var oRow = oTable.insertRow(-1) ;
// Create the gray scale colors cells.
for ( var n = 0 ; n < 6 ; n++ )
{
AppendColorCell( oRow, '#' + aColors[n] + aColors[n] +
aColors[n] ) ;
}
// Fill the row with black cells.
for ( var i = 0 ; i < 12 ; i++ )
{
AppendColorCell( oRow, '#000000' ) ;
}
}
function Clear()
{
document.getElementById('selhicolor').style.backgroundColor = '' ;
document.getElementById('selcolor').value = '' ;
}
function ClearActual()
{
document.getElementById('hicolor').style.backgroundColor = '' ;
document.getElementById('hicolortext').innerHTML = ' ' ;
}
function UpdateColor()
{
try {
document.getElementById('selhicolor').style.backgroundColor =
document.getElementById('selcolor').value ; }
catch (e) { Clear() ; }
}
function Ok()
{
if ( typeof(window.parent.dialogArguments.CustomValue) == 'function' )
window.parent.dialogArguments.CustomValue(
document.getElementById('selcolor').value ) ;
return true ;
}
</script>
</head>
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
<table cellpadding="0" cellspacing="0" border="0" width="100%"
height="100%">
<tr>
<td align="center" valign="middle">
<table border="0" cellspacing="5"
cellpadding="0" width="100%">
<tr>
<td valign="top"
align="center" nowrap width="100%">
<table
id="ColorTable" border="0" cellspacing="0" cellpadding="0" width="270"
onmouseout="ClearActual();">
</table>
</td>
<td valign="top"
align="left" nowrap>
<span
fckLang="DlgColorHighlight">Highlight</span>
<div
id="hicolor"></div>
<div
id="hicolortext"> </div>
<span
fckLang="DlgColorSelected">Selected</span>
<div
id="selhicolor"></div>
<input
id="selcolor" type="text" maxlength="20" onchange="UpdateColor();">
<br>
<input
id="btnClear" type="button" fckLang="DlgColorBtnClear" value="Clear"
onclick="Clear();" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_docprops.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_docprops.html
* Link dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-19 00:11:20
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Document Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script language="javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var FCK = oEditor.FCK ;
var FCKLang = oEditor.FCKLang ;
//#### Dialog Tabs
// Set the dialog tabs.
window.parent.AddTab( 'General' , FCKLang.DlgDocGeneralTab ) ;
window.parent.AddTab( 'Background' , FCKLang.DlgDocBackTab ) ;
window.parent.AddTab( 'Colors' , FCKLang.DlgDocColorsTab ) ;
window.parent.AddTab( 'Meta' , FCKLang.DlgDocMetaTab ) ;
// Function called when a dialog tag is selected.
function OnDialogTabChange( tabCode )
{
ShowE( 'divGeneral' , ( tabCode == 'General' ) ) ;
ShowE( 'divBackground' , ( tabCode == 'Background' ) ) ;
ShowE( 'divColors' , ( tabCode == 'Colors' ) ) ;
ShowE( 'divMeta' , ( tabCode == 'Meta' ) ) ;
ShowE( 'ePreview' , ( tabCode == 'Background' || tabCode
== 'Colors' ) ) ;
}
//#### Get Base elements from the document: BEGIN
// The HTML element of the document.
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
// The HEAD element of the document.
var oHead = oHTML.getElementsByTagName('head')[0] ;
var oBody = FCK.EditorDocument.body ;
// This object contains all META tags defined in the document.
var oMetaTags = new Object() ;
// Get all META tags defined in the document.
var aMetas = oHead.getElementsByTagName('meta') ;
// Loop throw all METAs and put it in the HashTable.
for ( var i = 0 ; i < aMetas.length ; i++ )
{
// Try to get the "name" attribute.
var sName = GetAttribute( aMetas[i], 'name', GetAttribute( aMetas[i],
'___fcktoreplace:name', '' ) ) ;
// If no "name", try with the "http-equiv" attribute.
if ( sName.length == 0 )
{
if ( document.all )
{
// Get the http-equiv value from the outerHTML.
var oHttpEquivMatch = aMetas[i].outerHTML.match(
oEditor.FCKRegexLib.MetaHttpEquiv ) ;
if ( oHttpEquivMatch )
sName = oHttpEquivMatch[1] ;
}
else
sName = GetAttribute( aMetas[i], 'http-equiv', '' ) ;
}
if ( sName.length > 0 )
oMetaTags[ sName.toLowerCase() ] = aMetas[i] ;
}
//#### END
// Set a META tag in the document.
function SetMetadata( name, content, isHttp )
{
if ( content.length == 0 )
{
RemoveMetadata( name ) ;
return ;
}
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( !oMeta )
{
oMeta = oHead.appendChild(
FCK.EditorDocument.createElement('META') ) ;
if ( isHttp )
SetAttribute( oMeta, 'http-equiv', name ) ;
else
{
// On IE, it is not possible to set the "name"
attribute of the META tag.
// So a temporary attribute is used and it is replaced
when getting the
// editor's HTML/XHTML value. This is sad, I know :(
if ( document.all )
SetAttribute( oMeta, '___fcktoreplace:name',
name ) ;
else
SetAttribute( oMeta, 'name', name ) ;
}
oMetaTags[ name.toLowerCase() ] = oMeta ;
}
oMeta.content = content ;
}
function RemoveMetadata( name )
{
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( oMeta && oMeta != null )
{
oMeta.parentNode.removeChild( oMeta ) ;
oMetaTags[ name.toLowerCase() ] = null ;
}
}
function GetMetadata( name )
{
var oMeta = oMetaTags[ name.toLowerCase() ] ;
if ( oMeta && oMeta != null )
return oMeta.content ;
else
return '' ;
}
window.onload = function ()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( document ) ;
FillFields() ;
UpdatePreview() ;
// Show the "Ok" button.
window.parent.SetOkButton( true ) ;
window.parent.SetAutoSize( true ) ;
}
function FillFields()
{
// ### General Info
GetE('txtPageTitle').value = FCK.EditorDocument.title ;
GetE('selDirection').value = GetAttribute( oHTML, 'dir', '' ) ;
GetE('txtLang').value = GetAttribute( oHTML, 'xml:lang',
GetAttribute( oHTML, 'lang', '' ) ) ; // "xml:lang" takes precedence to
"lang".
// Character Set Encoding.
// if ( document.all )
// var sCharSet = FCK.EditorDocument.charset ;
// else
var sCharSet = GetMetadata( 'Content-Type' ) ;
if ( sCharSet != null && sCharSet.length > 0 )
{
// if ( !document.all )
sCharSet = sCharSet.match( /[^=]*$/ ) ;
GetE('selCharSet').value = sCharSet ;
if ( GetE('selCharSet').selectedIndex == -1 )
{
GetE('selCharSet').value = '...' ;
GetE('txtCustomCharSet').value = sCharSet ;
CheckOther( GetE('selCharSet'), 'txtCustomCharSet' ) ;
}
}
// Document Type.
if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 )
{
GetE('selDocType').value = FCK.DocTypeDeclaration ;
if ( GetE('selDocType').selectedIndex == -1 )
{
GetE('selDocType').value = '...' ;
GetE('txtDocType').value = FCK.DocTypeDeclaration ;
CheckOther( GetE('selDocType'), 'txtDocType' ) ;
}
}
// Document Type.
GetE('chkIncXHTMLDecl').checked = ( FCK.XmlDeclaration &&
FCK.XmlDeclaration.length > 0 ) ;
// ### Background
GetE('txtBackColor').value = GetAttribute( oBody, 'bgColor'
, '' ) ;
GetE('txtBackImage').value = GetAttribute( oBody, 'background' , '' ) ;
GetE('chkBackNoScroll').checked = ( GetAttribute( oBody,
'bgProperties', '' ).toLowerCase() == 'fixed' ) ;
// ### Colors
GetE('txtColorText').value = GetAttribute( oBody, 'text'
, '' ) ;
GetE('txtColorLink').value = GetAttribute( oBody, 'link'
, '' ) ;
GetE('txtColorVisited').value = GetAttribute( oBody, 'vLink' , '' ) ;
GetE('txtColorActive').value = GetAttribute( oBody, 'aLink' , '' ) ;
// ### Margins
GetE('txtMarginTop').value = GetAttribute( oBody,
'topMargin' , '' ) ;
GetE('txtMarginLeft').value = GetAttribute( oBody,
'leftMargin' , '' ) ;
GetE('txtMarginRight').value = GetAttribute( oBody, 'rightMargin'
, '' ) ;
GetE('txtMarginBottom').value = GetAttribute( oBody, 'bottomMargin'
, '' ) ;
// ### Meta Data
GetE('txtMetaKeywords').value = GetMetadata( 'keywords' ) ;
GetE('txtMetaDescription').value = GetMetadata( 'description' ) ;
GetE('txtMetaAuthor').value = GetMetadata( 'author'
) ;
GetE('txtMetaCopyright').value = GetMetadata( 'copyright' ) ;
}
// Called when the "Ok" button is clicked.
function Ok()
{
// ### General Info
FCK.EditorDocument.title = GetE('txtPageTitle').value ;
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
SetAttribute( oHTML, 'dir' , GetE('selDirection').value ) ;
SetAttribute( oHTML, 'lang' , GetE('txtLang').value ) ;
SetAttribute( oHTML, 'xml:lang' , GetE('txtLang').value ) ;
// Character Set Enconding.
var sCharSet = GetE('selCharSet').value ;
if ( sCharSet == '...' )
sCharSet = GetE('txtCustomCharSet').value ;
if ( sCharSet.length > 0 )
sCharSet = 'text/html; charset=' + sCharSet ;
// if ( document.all )
// FCK.EditorDocument.charset = sCharSet ;
// else
SetMetadata( 'Content-Type', sCharSet, true ) ;
// Document Type
var sDocType = GetE('selDocType').value ;
if ( sDocType == '...' )
sDocType = GetE('txtDocType').value ;
FCK.DocTypeDeclaration = sDocType ;
// XHTML Declarations.
if ( GetE('chkIncXHTMLDecl').checked )
{
if ( sCharSet.length == 0 )
sCharSet = 'utf-8' ;
FCK.XmlDeclaration = '<?xml version="1.0" encoding="' +
sCharSet + '"?>' ;
SetAttribute( oHTML, 'xmlns', 'http://www.w3.org/1999/xhtml' ) ;
}
else
{
FCK.XmlDeclaration = null ;
oHTML.removeAttribute( 'xmlns', 0 ) ;
}
// ### Background
SetAttribute( oBody, 'bgcolor' , GetE('txtBackColor').value ) ;
SetAttribute( oBody, 'background' , GetE('txtBackImage').value ) ;
SetAttribute( oBody, 'bgproperties' ,
GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
// ### Colors
SetAttribute( oBody, 'text' , GetE('txtColorText').value ) ;
SetAttribute( oBody, 'link' , GetE('txtColorLink').value ) ;
SetAttribute( oBody, 'vlink', GetE('txtColorVisited').value ) ;
SetAttribute( oBody, 'alink', GetE('txtColorActive').value ) ;
// ### Margins
SetAttribute( oBody, 'topmargin' , GetE('txtMarginTop').value ) ;
SetAttribute( oBody, 'leftmargin' , GetE('txtMarginLeft').value )
;
SetAttribute( oBody, 'rightmargin' , GetE('txtMarginRight').value
) ;
SetAttribute( oBody, 'bottommargin' , GetE('txtMarginBottom').value
) ;
// ### Meta data
SetMetadata( 'keywords' , GetE('txtMetaKeywords').value ) ;
SetMetadata( 'description' , GetE('txtMetaDescription').value ) ;
SetMetadata( 'author' , GetE('txtMetaAuthor').value ) ;
SetMetadata( 'copyright' , GetE('txtMetaCopyright').value ) ;
return true ;
}
var bPreviewIsLoaded = false ;
var oPreviewWindow ;
var oPreviewBody ;
// Called by the Preview page when loaded.
function OnPreviewLoad( previewWindow, previewBody )
{
oPreviewWindow = previewWindow ;
oPreviewBody = previewBody ;
bPreviewIsLoaded = true ;
UpdatePreview() ;
}
function UpdatePreview()
{
if ( !bPreviewIsLoaded )
return ;
// ### Background
SetAttribute( oPreviewBody, 'bgcolor' ,
GetE('txtBackColor').value ) ;
SetAttribute( oPreviewBody, 'background' ,
GetE('txtBackImage').value ) ;
SetAttribute( oPreviewBody, 'bgproperties' ,
GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
// ### Colors
SetAttribute( oPreviewBody, 'text', GetE('txtColorText').value ) ;
oPreviewWindow.SetLinkColor( GetE('txtColorLink').value ) ;
oPreviewWindow.SetVisitedColor( GetE('txtColorVisited').value ) ;
oPreviewWindow.SetActiveColor( GetE('txtColorActive').value ) ;
}
function CheckOther( combo, txtField )
{
var bNotOther = ( combo.value != '...' ) ;
GetE(txtField).style.backgroundColor = ( bNotOther ? '#cccccc' : '' ) ;
GetE(txtField).disabled = bNotOther ;
}
function SetColor( inputId, color )
{
GetE( inputId ).value = color + '' ;
UpdatePreview() ;
}
function SelectBackColor( color ) { SetColor('txtBackColor',
color ) ; }
function SelectColorText( color ) { SetColor('txtColorText',
color ) ; }
function SelectColorLink( color ) { SetColor('txtColorLink',
color ) ; }
function SelectColorVisited( color ) { SetColor('txtColorVisited', color ) ;
}
function SelectColorActive( color ) { SetColor('txtColorActive',
color ) ; }
function SelectColor( wich )
{
switch ( wich )
{
case 'Back' : oEditor.FCKDialog.OpenDialog(
'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400,
330, SelectBackColor, window ) ; return ;
case 'ColorText' : oEditor.FCKDialog.OpenDialog(
'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400,
330, SelectColorText, window ) ; return ;
case 'ColorLink' : oEditor.FCKDialog.OpenDialog(
'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400,
330, SelectColorLink, window ) ; return ;
case 'ColorVisited' : oEditor.FCKDialog.OpenDialog(
'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400,
330, SelectColorVisited, window ) ; return ;
case 'ColorActive' : oEditor.FCKDialog.OpenDialog(
'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400,
330, SelectColorActive, window ) ; return ;
}
}
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<table height="100%" cellSpacing="0" cellPadding="0"
width="100%" border="0">
<tr>
<td vAlign="top" height="100%">
<div id="divGeneral">
<span
fckLang="DlgDocPageTitle">Page Title</span><br>
<input id="txtPageTitle"
style="WIDTH: 100%" type="text">
<br>
<table cellSpacing="0"
cellPadding="0" border="0">
<tr>
<td>
<span
fckLang="DlgDocLangDir">Language Direction</span><br>
<select
id="selDirection">
<option value="" selected></option>
<option value="ltr" fckLang="DlgDocLangDirLTR">Left to Right (LTR)</option>
<option value="rtl" fckLang="DlgDocLangDirRTL">Right to Left (RTL)</option>
</select>
</td>
<td> </td>
<td>
<span
fckLang="DlgDocLangCode">Language Code</span><br>
<input
id="txtLang" type="text">
</td>
</tr>
</table>
<br>
<table cellSpacing="0"
cellPadding="0" width="100%" border="0">
<tr>
<td
noWrap><span fckLang="DlgDocCharSet">Character Set Encoding</span><br>
<select
id="selCharSet" onchange="CheckOther( this, 'txtCustomCharSet' );">
<option value="" selected></option>
<option value="us-ascii">ASCII</option>
<option value="iso-8859-2">Central European</option>
<option value="big5">Chinese Traditional (Big5)</option>
<option value="iso-8859-5">Cyrillic</option>
<option value="iso-8859-7">Greek</option>
<option value="iso-2022-jp">Japanese</option>
<option value="iso-2022-kr">Korean</option>
<option value="iso-8859-9">Turkish</option>
<option value="utf-8">Unicode (UTF-8)</option>
<option value="iso-8859-1">Western European</option>
<option value="..." fckLang="DlgOpOther"><Other></option>
</select>
</td>
<td> </td>
<td
width="100%">
<span
fckLang="DlgDocCharSetOther">Other Character Set Encoding</span><br>
<input
id="txtCustomCharSet" style="WIDTH: 100%; BACKGROUND-COLOR: #cccccc" disabled
type="text">
</td>
</tr>
<tr>
<td
colspan="3"> </td>
</tr>
<tr>
<td nowrap>
<span
fckLang="DlgDocDocType">Document Type Heading</span><br>
<select
id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );">
<option value="" selected></option>
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN">'>HTML
4.01 Transitional</option>
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">'>HTML
4.01 Strict</option>
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">'>HTML
4.01 Frameset</option>
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>XHTML
1.0 Transitional</option>
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>XHTML
1.0 Strict</option>
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'>XHTML
1.0 Frameset</option>
<option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'>XHTML
1.1</option>
<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'>HTML
3.2</option>
<option value='<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'>HTML 2.0</option>
<option value="..." fckLang="DlgOpOther"><Other></option>
</select>
</td>
<td></td>
<td
width="100%">
<span
fckLang="DlgDocDocTypeOther">Other Document Type Heading</span><br>
<input
id="txtDocType" style="WIDTH: 100%; BACKGROUND-COLOR: #cccccc" disabled
type="text">
</td>
</tr>
</table>
<br>
<input id="chkIncXHTMLDecl"
type="checkbox"> <label for="chkIncXHTMLDecl" fckLang="DlgDocIncXHTML">Include
XHTML
Declarations</label>
</div>
<div id="divBackground" style="DISPLAY:
none">
<span
fckLang="DlgDocBgColor">Background Color</span><br>
<input id="txtBackColor"
type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"> <input
id="btnSelBackColor" onclick="SelectColor( 'Back' )" type="button"
value="Select..."
fckLang="DlgCellBtnSelect"><br>
<br>
<span
fckLang="DlgDocBgImage">Background Image URL</span><br>
<table cellSpacing="0"
cellPadding="0" width="100%" border="0">
<tr>
<td
width="100%"><input id="txtBackImage" style="WIDTH: 100%" type="text"
onchange="UpdatePreview();" onkeyup="UpdatePreview();"></td>
<td
nowrap> <input id="btnBrowse" onclick="BrowseServer();" type="button"
fckLang="DlgBtnBrowseServer" value="Browse Server"
fckLang="DlgBtnBrowseServer"></td>
</tr>
</table>
<input id="chkBackNoScroll"
type="checkbox" onclick="UpdatePreview();"> <label for="chkBackNoScroll"
fckLang="DlgDocBgNoScroll">Nonscrolling
Background</label>
</div>
<div id="divColors" style="DISPLAY:
none">
<table cellSpacing="0"
cellPadding="0" width="100%" border="0">
<tr>
<td>
<span
fckLang="DlgDocCText">Text</span><br>
<input
id="txtColorText" type="text" onchange="UpdatePreview();"
onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorText' )"
type="button" value="Select..." fckLang="DlgCellBtnSelect">
<br>
<span
fckLang="DlgDocCLink">Link</span><br>
<input
id="txtColorLink" type="text" onchange="UpdatePreview();"
onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorLink' )"
type="button" value="Select..." fckLang="DlgCellBtnSelect">
<br>
<span
fckLang="DlgDocCVisited">Visited Link</span><br>
<input
id="txtColorVisited" type="text" onchange="UpdatePreview();"
onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorVisited' )"
type="button" value="Select..." fckLang="DlgCellBtnSelect">
<br>
<span
fckLang="DlgDocCActive">Active Link</span><br>
<input
id="txtColorActive" type="text" onchange="UpdatePreview();"
onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorActive' )"
type="button" value="Select..." fckLang="DlgCellBtnSelect">
</td>
<td
valign="middle" align="center">
<table
cellspacing="2" cellpadding="0" border="0">
<tr>
<td><span fckLang="DlgDocMargins">Page Margins</span></td>
</tr>
<tr>
<td style="BORDER: #000000 1px solid; PADDING: 5px">
<table cellpadding="0" cellspacing="0" border="0" dir="ltr">
<tr>
<td align="center" colspan="3">
<span
fckLang="DlgDocMaTop">Top</span><br>
<input id="txtMarginTop" type="text"
size="3">
</td>
</tr>
<tr>
<td align="left">
<span
fckLang="DlgDocMaLeft">Left</span><br>
<input id="txtMarginLeft" type="text"
size="3">
</td>
<td> </td>
<td align="right">
<span
fckLang="DlgDocMaRight">Right</span><BR>
<input id="txtMarginRight" type="text"
size="3">
</td>
</tr>
<tr>
<td align="center" colspan="3">
<span
fckLang="DlgDocMaBottom">Bottom</span><br>
<input id="txtMarginBottom" type="text"
size="3">
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
<div id="divMeta" style="DISPLAY: none">
<span
fckLang="DlgDocMeIndex">Document Indexing Keywords (comma separated)</span><br>
<textarea id="txtMetaKeywords"
style="WIDTH: 100%" rows="2" cols="20"></textarea>
<br>
<span
fckLang="DlgDocMeDescr">Document Description</span><br>
<textarea
id="txtMetaDescription" style="WIDTH: 100%" rows="4" cols="20"></textarea>
<br>
<span
fckLang="DlgDocMeAuthor">Author</span><br>
<input id="txtMetaAuthor"
style="WIDTH: 100%" type="text"><br>
<br>
<span
fckLang="DlgDocMeCopy">Copyright</span><br>
<input id="txtMetaCopyright"
type="text" style="WIDTH: 100%">
</div>
</td>
</tr>
<tr id="ePreview" style="DISPLAY: none">
<td>
<span
fckLang="DlgDocPreview">Preview</span><br>
<iframe id="frmPreview"
src="fck_docprops/fck_document_preview.html" width="100%" height="100"></iframe>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_anchor.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_anchor.html
* Anchor dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-16 19:13:27
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Anchor Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'A' && oActiveEl.name.length > 0
&& oActiveEl.getAttribute('href').length == 0 )
GetE('txtName').value = oActiveEl.name ;
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( GetE('txtName').value.length == 0 )
{
alert( oEditor.FCKLang.DlgAnchorErrorName ) ;
return false ;
}
oEditor.FCK.InsertHtml( '<a name="' + GetE('txtName').value + '"></a>'
) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0"
cellspacing="0" width="80%">
<tr>
<td>
<span
fckLang="DlgAnchorName">Anchor Name</span><BR>
<input
id="txtName" style="WIDTH: 100%" type="text">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: 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 RC3
* Modified: 2005-03-02 10:56:09
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script language="javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var FCKLang = oEditor.FCKLang ;
window.parent.AddTab( 'About', FCKLang.DlgAboutAboutTab ) ;
window.parent.AddTab( 'BrowserInfo', FCKLang.DlgAboutBrowserInfoTab ) ;
// Function called when a dialog tag is selected.
function OnDialogTabChange( tabCode )
{
ShowE('divAbout', ( tabCode == 'About' ) ) ;
ShowE('divInfo' , ( tabCode == 'BrowserInfo' ) ) ;
}
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) ;
window.parent.SetAutoSize( true ) ;
}
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<div id="divAbout">
<table cellpadding="0" cellspacing="0" border="0"
width="100%" height="100%">
<tr>
<td>
<img alt=""
src="fck_about/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
RC3</b></td>
</tr>
</table>
</td>
</tr>
<tr height="100%">
<td align="center">
Copyright © 2003-2005 <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="fck_about/logo_fredck.gif" width="87" height="36">
</td>
</tr>
</table>
</div>
<div id="divInfo" style="DISPLAY: none">
<table align="center" width="80%" border="0">
<tr>
<td>
<script language="javascript">
<!--
document.write( '<b>User Agent</b><br>' + window.navigator.userAgent +
'<br><br>' ) ;
document.write( '<b>Browser</b><br>' + window.navigator.appName + ' ' +
window.navigator.appVersion + '<br><br>' ) ;
document.write( '<b>Platform</b><br>' + window.navigator.platform + '<br><br>'
) ;
var sUserLang = '?' ;
if ( window.navigator.language )
sUserLang = window.navigator.language.toLowerCase() ;
else if ( window.navigator.userLanguage )
sUserLang = window.navigator.userLanguage.toLowerCase() ;
document.write( '<b>User Language</b><br>' + sUserLang ) ;
//-->
</script>
</td>
</tr>
</table>
</div>
</body>
</html>
====================================================
Index: fck_find.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_find.html
* "Find" dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-09 13:52:09
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
function OnLoad()
{
// Whole word is available on IE only.
if ( oEditor.FCKBrowserInfo.IsIE )
document.getElementById('divWord').style.display = '' ;
// First of all, translate the dialog box texts.
oEditor.FCKLanguageManager.TranslatePage( document ) ;
window.parent.SetAutoSize( true ) ;
}
function btnStat(frm)
{
document.getElementById('btnFind').disabled =
( document.getElementById('txtFind').value.length == 0 ) ;
}
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll )
{
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
{
var oNode = parentNode.childNodes[i] ;
if ( oNode.nodeType == 3 )
{
var sReplaced = oNode.nodeValue.replace( regex,
replaceValue ) ;
if ( oNode.nodeValue != sReplaced )
{
oNode.nodeValue = sReplaced ;
if ( ! replaceAll )
return true ;
}
}
else
{
if ( ReplaceTextNodes( oNode, regex, replaceValue ) )
return true ;
}
}
return false ;
}
function GetRegexExpr()
{
if ( document.getElementById('chkWord').checked )
var sExpr = '\\b' + document.getElementById('txtFind').value +
'\\b' ;
else
var sExpr = document.getElementById('txtFind').value ;
return sExpr ;
}
function GetCase()
{
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}
var oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
function Ok()
{
if ( document.getElementById('txtFind').value.length == 0 )
return ;
if ( oEditor.FCKBrowserInfo.IsIE )
FindIE() ;
else
FindGecko() ;
}
function FindIE()
{
var iFlags = 0 ;
if ( chkCase.checked )
iFlags = iFlags | 4 ;
if ( chkWord.checked )
iFlags = iFlags | 2 ;
var bFound = oRange.findText( document.getElementById('txtFind').value,
1, iFlags ) ;
if ( bFound )
{
oRange.scrollIntoView() ;
oRange.select() ;
oRange.collapse(false) ;
oLastRangeFound = oRange ;
}
else
{
oRange = oEditor.FCK.EditorDocument.body.createTextRange() ;
alert( oEditor.FCKLang.DlgFindNotFoundMsg ) ;
}
}
function FindGecko()
{
var bCase = document.getElementById('chkCase').checked ;
var bWord = document.getElementById('chkWord').checked ;
// window.find( searchString, caseSensitive, backwards, wrapAround,
wholeWord, searchInFrames, showDialog ) ;
oEditor.FCK.EditorWindow.find(
document.getElementById('txtFind').value, bCase, false, false, bWord, false,
false ) ;
}
</script>
</head>
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
<tr>
<td nowrap>
<label for="txtFind"
fckLang="DlgReplaceFindLbl">Find what:</label>
</td>
<td width="100%">
<input id="txtFind"
onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
</td>
<td>
<input id="btnFind" style="WIDTH: 100%;
PADDING-RIGHT: 5px; PADDING-LEFT: 5px" disabled
onclick="Ok();" type="button"
value="Find" fckLang="DlgFindFindBtn">
</td>
</tr>
<tr>
<td valign="bottom" colSpan="3">
<input id="chkCase" tabIndex="3"
type="checkbox"><label for="chkCase" fckLang="DlgReplaceCaseChk">Match
case</label>
<br>
<div id="divWord" style="DISPLAY: none">
<input id="chkWord"
tabIndex="4" type="checkbox"><label for="chkWord"
fckLang="DlgReplaceWordChk">Match
whole word</label>
</div>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_form.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_form.html
* Checkbox dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-09 18:27:10
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Checkbox Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'FORM' ) ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtAction').value = oActiveEl.action ;
GetE('txtMethod').value = oActiveEl.method ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'FORM' ) ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
oActiveEl.innerHTML = ' ' ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'action' , GetE('txtAction').value ) ;
oActiveEl.method = GetE('txtMethod').value ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0"
width="80%" border="0" valign="top" align="center">
<tr>
<td>
<span
fckLang="DlgFormName">Name</span><br>
<input
style="WIDTH: 100%" type="text" id="txtName">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgFormAction">Action</span><br>
<input
style="WIDTH: 100%" type="text" id="txtAction">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgFormMethod">Method</span><br>
<select
id="txtMethod">
<option
value="get" selected>GET</option>
<option
value="post">POST</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_radiobutton.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_radiobutton.html
* Radio Button dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-16 20:12:28
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Radio Button Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName.toUpperCase() == 'INPUT' &&
oActiveEl.type == 'radio' )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = GetAttribute( oActiveEl,
'value' ) ;
GetE('txtSelected').checked = oActiveEl.checked ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' )
;
oActiveEl.type = 'radio' ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
if ( GetE('txtSelected').checked )
{
SetAttribute( oActiveEl, 'checked', 'checked' ) ;
oActiveEl.checked = GetE('txtSelected').checked ;
}
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0"
cellspacing="0" width="80%">
<tr>
<td>
<span
fckLang="DlgCheckboxName">Name</span><br>
<input
type="text" size="20" id="txtName" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgCheckboxValue">Value</span><br>
<input
type="text" size="20" id="txtValue" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td><input
type="checkbox" id="txtSelected"><label for="txtSelected"
fckLang="DlgCheckboxSelected">Checked</label></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_replace.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_replace.html
* "Replace" dialog box window.
*
* Version: 2.0 RC3
* Modified: 2004-11-30 10:26:37
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
* Abdul-Aziz A. Al-Oraij (aziz.oraij.com)
-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
function OnLoad()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( document ) ;
window.parent.SetAutoSize( true ) ;
}
function btnStat(frm)
{
document.getElementById('btnReplace').disabled =
document.getElementById('btnReplaceAll').disabled =
( document.getElementById('txtFind').value.length == 0
) ;
}
function ReplaceTextNodes( parentNode, regex, replaceValue, replaceAll,
hasFound )
{
for ( var i = 0 ; i < parentNode.childNodes.length ; i++ )
{
var oNode = parentNode.childNodes[i] ;
if ( oNode.nodeType == 3 )
{
var sReplaced = oNode.nodeValue.replace( regex,
replaceValue ) ;
if ( oNode.nodeValue != sReplaced )
{
oNode.nodeValue = sReplaced ;
if ( ! replaceAll )
return true ;
hasFound = true ;
}
}
hasFound = ReplaceTextNodes( oNode, regex, replaceValue,
replaceAll, hasFound ) ;
if ( ! replaceAll && hasFound )
return true ;
}
return hasFound ;
}
function GetRegexExpr()
{
if ( document.getElementById('chkWord').checked )
var sExpr = '\\b' + document.getElementById('txtFind').value +
'\\b' ;
else
var sExpr = document.getElementById('txtFind').value ;
return sExpr ;
}
function GetCase()
{
return ( document.getElementById('chkCase').checked ? '' : 'i' ) ;
}
function Replace()
{
var oRegex = new RegExp( GetRegexExpr(), GetCase() ) ;
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex,
document.getElementById('txtReplace').value, false, false ) ;
}
function ReplaceAll()
{
var oRegex = new RegExp( GetRegexExpr(), GetCase() + 'g' ) ;
ReplaceTextNodes( oEditor.FCK.EditorDocument.body, oRegex,
document.getElementById('txtReplace').value, true, false ) ;
window.parent.Cancel() ;
}
</script>
</head>
<body onload="OnLoad()" scroll="no" style="OVERFLOW: hidden">
<table cellSpacing="3" cellPadding="2" width="100%" border="0">
<tr>
<td noWrap><label for="txtFind"
fckLang="DlgReplaceFindLbl">Find what:</label>
</td>
<td width="100%"><input id="txtFind"
onkeyup="btnStat(this.form)" style="WIDTH: 100%" tabIndex="1" type="text">
</td>
<td><input id="btnReplace" style="WIDTH: 100%"
disabled onclick="Replace();" type="button"
value="Replace"
fckLang="DlgReplaceReplaceBtn">
</td>
</tr>
<tr>
<td vAlign="top" noWrap><label for="txtReplace"
fckLang="DlgReplaceReplaceLbl">Replace
with:</label>
</td>
<td vAlign="top"><input id="txtReplace"
style="WIDTH: 100%" tabIndex="2" type="text">
</td>
<td><input id="btnReplaceAll" disabled
onclick="ReplaceAll()" type="button" value="Replace All"
fckLang="DlgReplaceReplAllBtn">
</td>
</tr>
<tr>
<td vAlign="bottom" colSpan="3"> <input
id="chkCase" tabIndex="3" type="checkbox"><label for="chkCase"
fckLang="DlgReplaceCaseChk">Match
case</label>
<br>
<input id="chkWord" tabIndex="4"
type="checkbox"><label for="chkWord" fckLang="DlgReplaceWordChk">Match
whole word</label>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_select.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_select.html
* Select dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-09 13:44:26
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Select Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript"
src="fck_select/fck_select.js"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
var oListText ;
var oListValue ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
oListText = document.getElementById( 'cmbText' ) ;
oListValue = document.getElementById( 'cmbValue' ) ;
if ( oActiveEl && oActiveEl.tagName == 'SELECT' )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtSelValue').value = oActiveEl.value ;
GetE('txtLines').value = GetAttribute( oActiveEl,
'size' ) ;
GetE('chkMultiple').checked = oActiveEl.multiple ;
// Load the actual options
for ( var i = 0 ; i < oActiveEl.options.length ; i++ )
{
var sText = oActiveEl.options[i].innerHTML ;
var sValue = oActiveEl.options[i].value ;
AddComboOption( oListText, sText, sText ) ;
AddComboOption( oListValue, sValue, sValue ) ;
}
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
var sSize = GetE('txtLines').value ;
if ( sSize == null || isNaN( sSize ) || sSize <= 1 )
sSize = '' ;
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'SELECT'
) ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
SetAttribute( oActiveEl, 'name' , GetE('txtName').value ) ;
SetAttribute( oActiveEl, 'size' , sSize ) ;
oActiveEl.multiple = ( sSize.length > 0 && GetE('chkMultiple').checked
) ;
// Remove all options.
while ( oActiveEl.options.length > 0 )
oActiveEl.remove(0) ;
// Add all available options.
for ( var i = 0 ; i < oListText.options.length ; i++ )
{
var sText = oListText.options[i].value ;
var sValue = oListValue.options[i].value ;
if ( sValue.length == 0 ) sValue = sText ;
var oOption = AddComboOption( oActiveEl, sText, sValue, oDOM ) ;
if ( sValue == GetE('txtSelValue').value )
{
SetAttribute( oOption, 'selected', 'selected' ) ;
oOption.selected = true ;
}
}
return true ;
}
</script>
</head>
<body style='OVERFLOW: hidden' scroll='no'>
<table width="100%" height="100%">
<tr>
<td>
<table width="100%">
<tr>
<td nowrap><span
fckLang="DlgSelectName">Name</span> </td>
<td width="100%"
colSpan="2"><input id="txtName" style="WIDTH: 100%" type="text"></td>
</tr>
<tr>
<td nowrap><span
fckLang="DlgSelectValue">Value</span> </td>
<td width="100%"
colSpan="2"><input id="txtSelValue" style="WIDTH: 100%; BACKGROUND-COLOR:
buttonface" type="text" readonly></td>
</tr>
<tr>
<td nowrap><span
fckLang="DlgSelectSize">Size</span> </td>
<td nowrap><input
id="txtLines" type="text" size="2" value=""> <span
fckLang="DlgSelectLines">lines</span></td>
<td nowrap
align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label
for="chkMultiple" fckLang="DlgSelectChkMulti">Allow
multiple selections</label></td>
</tr>
</table>
<br>
<hr style="POSITION: absolute">
<span style="LEFT: 10px; POSITION:
relative; TOP: -7px" class="BackColor"> <span
fckLang="DlgSelectOpAvail">Available
Options</span> </span>
<table width="100%">
<tr>
<td width="50%"><span
fckLang="DlgSelectOpText">Text</span><br>
<input
id="txtText" style="WIDTH: 100%" type="text" name="txtText">
</td>
<td width="50%"><span
fckLang="DlgSelectOpValue">Value</span><br>
<input
id="txtValue" style="WIDTH: 100%" type="text" name="txtValue">
</td>
<td
vAlign="bottom"><input onclick="Add();" type="button" fckLang="DlgSelectBtnAdd"
value="Add"></td>
<td
vAlign="bottom"><input onclick="Modify();" type="button"
fckLang="DlgSelectBtnModify" value="Modify"></td>
</tr>
<tr>
<td rowSpan="2"><select
id="cmbText" style="WIDTH: 100%" onchange="GetE('cmbValue').selectedIndex =
this.selectedIndex;Select(this);"
size="5" name="cmbText"></select>
</td>
<td rowSpan="2"><select
id="cmbValue" style="WIDTH: 100%" onchange="GetE('cmbText').selectedIndex =
this.selectedIndex;Select(this);"
size="5" name="cmbValue"></select>
</td>
<td vAlign="top"
colSpan="2">
</td>
</tr>
<tr>
<td vAlign="bottom"
colSpan="2"><input style="WIDTH: 100%" onclick="Move(-1);" type="button"
fckLang="DlgSelectBtnUp" value="Up">
<br>
<input
style="WIDTH: 100%" onclick="Move(1);" type="button" fckLang="DlgSelectBtnDown"
value="Down">
</td>
</tr>
<TR>
<TD vAlign="bottom"
colSpan="4"><INPUT onclick="SetSelectedValue();" type="button"
fckLang="DlgSelectBtnSetValue" value="Set as selected value">
<input
onclick="Delete();" type="button" fckLang="DlgSelectBtnDelete"
value="Delete"></TD>
</TR>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: 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 RC3
* Modified: 2005-02-08 13:23:07
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!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 oEditor = window.parent.InnerDialogLoaded() ;
window.onload = function ()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
}
function InsertSmiley( url )
{
var oImg = oEditor.FCK.CreateElement( 'IMG' ) ;
oImg.src = url ;
window.parent.Cancel() ;
}
function over(td)
{
td.className = 'LightBackground HandIE HandMozilla' ;
}
function out(td)
{
td.className = 'DarkBackground HandIE HandMozilla' ;
}
</script>
</head>
<body scroll="no">
<table cellpadding="2" cellspacing="2" align="center"
border="0" width="100%" height="100%">
<script type="text/javascript">
<!--
var FCKConfig = oEditor.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])
{
var sUrl = sBasePath + aImages[i] ;
document.write("<TD width='1%' align='center'
class='DarkBackground HandIE HandMozilla' onclick='InsertSmiley(\"" +
sUrl.replace(/"/g, '\\"' ) + "\")' onmouseover='over(this)'
onmouseout='out(this)'>") ;
document.write("<img src='" + sUrl + "' border='0'>") ;
}
else
document.write("<TD width='1%'
class='DarkBackground'> ") ;
document.write("</TD>") ;
i++ ;
}
document.write("</TR>") ;
}
//-->
</script>
</table>
</body>
</html>
====================================================
Index: fck_paste.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_paste.html
* This dialog is shown when, for some reason (usually security settings),
* the user is not able to paste data from the clipboard to the editor
using
* the toolbar buttons or the context menu.
*
* Version: 2.0 RC3
* Modified: 2005-02-19 14:45:24
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<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() ;
window.onload = function ()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
window.parent.SetOkButton( true ) ;
if ( window.parent.dialogArguments.CustomValue == 'Word' )
{
var oFrame = document.getElementById('frmData')
oFrame.style.display = '' ;
oFrame.contentDocument.designMode = 'on' ;
}
else
document.getElementById('txtData').style.display = '' ;
}
function Ok()
{
if ( window.parent.dialogArguments.CustomValue == 'Word' )
{
var sHtml =
document.getElementById('frmData').contentDocument.body.innerHTML ;
oEditor.FCK.CleanAndPaste( sHtml ) ;
}
else
{
var sText = oEditor.FCKTools.HTMLEncode(
document.getElementById('txtData').value ) ;
sText = sText.replace( /\n/g, '<BR>' ) ;
oEditor.FCK.InsertHtml( sText ) ;
}
return true ;
}
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<table height="98%" cellspacing="0" cellpadding="0"
width="100%" border="0">
<tr>
<td>
<span fckLang="DlgPasteMsg">The editor
was not able to automaticaly execute pasting
because of the <STRONG>security
settings</STRONG> of your browser.
<BR>
Please paste inside the
following box using the keyboard (<STRONG>Ctrl+V</STRONG>)
and hit
<STRONG>OK</STRONG>.</span>
</td>
</tr>
<tr>
<td valign="top" height="100%"
style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid;
BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid">
<textarea id="txtData"
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; DISPLAY: none;
BORDER-LEFT: #000000 1px; WIDTH: 99%; BORDER-BOTTOM: #000000 1px; HEIGHT:
98%"></textarea>
<iframe id="frmData"
src="../fckblank.html" height="98%" width="99%" frameborder="no"
style="BORDER-RIGHT: #000000 1px; BORDER-TOP: #000000 1px; DISPLAY: none;
BORDER-LEFT: #000000 1px; BORDER-BOTTOM: #000000 1px; BACKGROUND-COLOR:
#ffffff"></iframe>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_listprop.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_listprop.html
* Bulleted List dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-16 20:29:05
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Bulleted List Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'UL' ) ;
var oActiveSel ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl )
oActiveSel = GetE('selBulleted') ;
else
{
oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'OL' ) ;
if ( oActiveEl )
oActiveSel = GetE('selNumbered') ;
}
oActiveSel.style.display = '' ;
if ( oActiveEl )
{
if ( oActiveEl.getAttribute('type') )
oActiveSel.value =
oActiveEl.getAttribute('type').toLowerCase() ;
}
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( oActiveEl )
SetAttribute( oActiveEl, 'type' , oActiveSel.value ) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table width="100%" height="100%">
<tr>
<td>
<table cellspacing="0" cellpadding="0"
border="0" align="center">
<tr>
<td>
<span
fckLang="DlgLstType">List Type</span><br>
<select
id="selBulleted" style="DISPLAY: none">
<option
value="" selected></option>
<option
value="circle" fckLang="DlgLstTypeCircle">Circle</option>
<option
value="disk" fckLang="DlgLstTypeDisk">Disk</option>
<option
value="square" fckLang="DlgLstTypeSquare">Square</option>
</select>
<select
id="selNumbered" style="DISPLAY: none">
<option
value="" selected></option>
<option
value="1" fckLang="DlgLstTypeNumbers">Numbers (1, 2, 3)</option>
<option
value="a" fckLang="DlgLstTypeLCase">Lowercase Letters (a, b, c)</option>
<option
value="A" fckLang="DlgLstTypeUCase">Uppercase Letters (A, B, C)</option>
<option
value="i" fckLang="DlgLstTypeSRoman">Small Roman Numerals (i, ii, iii)</option>
<option
value="I" fckLang="DlgLstTypeLRoman">Large Roman Numerals (I, II, III)</option>
</select>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_hiddenfield.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_hiddenfield.html
* Hidden Field dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-08 19:18:19
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Hidden Field Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'INPUT' && oActiveEl.type ==
'hidden' )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = oActiveEl.value ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' )
;
oActiveEl.type = 'hidden' ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'value', GetE('txtValue').value ) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" class="inhoud"
cellpadding="0" cellspacing="0" width="80%">
<tr>
<td>
<span
fckLang="DlgHiddenName">Name</span><br>
<input
type="text" size="20" id="txtName" style="WIDTH: 100%">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgHiddenValue">Value</span><br>
<input
type="text" size="30" id="txtValue" style="WIDTH: 100%">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: 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 Properties dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-18 23:54:52
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title>Image Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta name="robots" content="noindex, nofollow">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script src="fck_image/fck_image.js"
type="text/javascript"></script>
<link href="common/fck_dialog_common.css" rel="stylesheet"
type="text/css" />
</head>
<body scroll="no" style="OVERFLOW: hidden">
<div id="divInfo">
<table cellspacing="1" cellpadding="1" border="0"
width="100%" height="100%">
<tr>
<td>
<table cellspacing="0"
cellpadding="0" width="100%" border="0">
<tr>
<td
width="100%">
<span
fckLang="DlgImgURL">URL</span>
</td>
<td
id="tdBrowse" style="DISPLAY: none" nowrap rowspan="2">
<input
id="btnBrowse" onclick="BrowseServer();" type="button"
value="Browse Server" fckLang="DlgBtnBrowseServer" NAME="btnBrowse">
</td>
</tr>
<tr>
<td
valign="top">
<input
id="txtUrl" style="WIDTH: 100%" type="text" onblur="UpdatePreview();">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<span fckLang="DlgImgAlt">Short
Description</span><br>
<input id="txtAlt"
style="WIDTH: 100%" type="text"><br>
</td>
</tr>
<tr height="100%">
<td valign="top">
<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 nowrap><span fckLang="DlgImgWidth">Width</span> </td>
<td>
<input type="text" size="3" id="txtWidth"
onkeyup="OnSizeChanged('Width',this.value);"></td>
<td nowrap rowspan="2">
<div id="btnLockSizes" class="BtnLocked"
onmouseover="this.className = (bLockRatio ? 'BtnLocked' : 'BtnUnlocked' ) + '
BtnOver';" onmouseout="this.className = (bLockRatio ? 'BtnLocked' :
'BtnUnlocked' );"
title="Lock Sizes" onclick="SwitchLock(this);"></div>
<div id="btnResetSize" class="BtnReset"
onmouseover="this.className='BtnReset BtnOver';"
onmouseout="this.className='BtnReset';"
title="Reset Size" onclick="ResetSizes();"></div>
</td>
</tr>
<tr>
<td nowrap><span fckLang="DlgImgHeight">Height</span> </td>
<td>
<input type="text" size="3" id="txtHeight"
onkeyup="OnSizeChanged('Height',this.value);"></td>
</tr>
</table>
<br>
<table
cellspacing="0" cellpadding="0" border="0">
<tr>
<td nowrap><span fckLang="DlgImgBorder">Border</span> </td>
<td>
<input type="text" size="2" value="" id="txtBorder"
onkeyup="UpdatePreview();"></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgImgHSpace">HSpace</span> </td>
<td>
<input type="text" size="2" id="txtHSpace"
onkeyup="UpdatePreview();"></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgImgVSpace">VSpace</span> </td>
<td>
<input type="text" size="2" id="txtVSpace"
onkeyup="UpdatePreview();"></td>
</tr>
<tr>
<td nowrap><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%" valign="top">
<table
cellpadding="0" cellspacing="0" width="100%" style="TABLE-LAYOUT: fixed">
<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>
</div>
<div id="divAdvanced" style="DISPLAY: none">
<table cellspacing="0" cellpadding="0" width="100%"
align="center" border="0">
<tr>
<td valign="top" width="50%">
<span
fckLang="DlgGenId">Id</span><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%">
<span
fckLang="DlgGenLangDir">Language Direction</span><br>
<select
id="cmbAttLangDir" style="WIDTH: 100%">
<option value="" fckLang="DlgGenNotSet" selected><not set></option>
<option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option>
<option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option>
</select>
</td>
<td
width="1%"> </td>
<td nowrap>
<span
fckLang="DlgGenLangCode">Language Code</span><br>
<input
id="txtAttLangCode" style="WIDTH: 100%" type="text">
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td colspan="3">
<span
fckLang="DlgGenLongDescr">Long Description URL</span><br>
<input id="txtLongDesc"
style="WIDTH: 100%" type="text">
</td>
</tr>
<tr>
<td colspan="3"> </td>
</tr>
<tr>
<td valign="top">
<span
fckLang="DlgGenClass">Stylesheet Classes</span><br>
<input id="txtAttClasses"
style="WIDTH: 100%" type="text">
</td>
<td></td>
<td valign="top"> <span
fckLang="DlgGenTitle">Advisory Title</span><br>
<input id="txtAttTitle"
style="WIDTH: 100%" type="text">
</td>
</tr>
</table>
<span fckLang="DlgGenStyle">Style</span><br>
<input id="txtAttStyle" style="WIDTH: 100%" type="text">
</div>
</body>
</html>
====================================================
Index: 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 RC3
* Modified: 2005-02-18 23:55:22
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!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="common/fck_dialog_common.js"
type="text/javascript"></script>
<script src="fck_link/fck_link.js"
type="text/javascript"></script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<div id="divInfo" style="DISPLAY: none">
<span fckLang="DlgLnkType">Link Type</span><br />
<select id="cmbLinkType"
onchange="SetLinkType(this.value);">
<option value="url" fckLang="DlgLnkTypeURL"
selected="selected">URL</option>
<option value="anchor"
fckLang="DlgLnkTypeAnchor">Anchor in this page</option>
<option value="email"
fckLang="DlgLnkTypeEMail">E-Mail</option>
</select>
<br />
<br />
<div id="divLinkTypeUrl">
<table cellspacing="0" cellpadding="0"
width="100%" border="0">
<tr>
<td nowrap="nowrap">
<span
fckLang="DlgLnkProto">Protocol</span><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="" fckLang="DlgLnkProtoOther"><other></option>
</select>
</td>
<td nowrap="nowrap"> </td>
<td nowrap="nowrap"
width="100%">
<span
fckLang="DlgLnkURL">URL</span><br />
<input id="txtUrl"
style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();"
onchange="OnUrlChange();" />
</td>
</tr>
</table>
<br />
<div id="divBrowseServer">
<input type="button" value="Browse Server"
fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" />
</div>
</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">
<span
fckLang="DlgLnkAnchorSel">Select an Anchor</span>
</td>
</tr>
<tr>
<td width="50%">
<span
fckLang="DlgLnkAnchorByName">By Anchor Name</span><br />
<select
id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%">
<option
value="" selected="selected"></option>
</select>
</td>
<td> </td>
<td width="50%">
<span
fckLang="DlgLnkAnchorById">By Element Id</span><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">
<span fckLang="DlgLnkNoAnchors"><No
anchors available in the document></span>
</div>
</div>
<div id="divLinkTypeEMail" style="DISPLAY: none">
<span fckLang="DlgLnkEMail">E-Mail
Address</span><br />
<input id="txtEMailAddress" style="WIDTH: 100%"
type="text" /><br />
<span fckLang="DlgLnkEMailSubject">Message
Subject</span><br />
<input id="txtEMailSubject" style="WIDTH: 100%"
type="text" /><br />
<span fckLang="DlgLnkEMailBody">Message
Body</span><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="">
<span fckLang="DlgLnkUpload">Upload</span><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">
<span
fckLang="DlgLnkTarget">Target</span><br />
<select id="cmbTarget"
onchange="SetTarget(this.value);">
<option value=""
fckLang="DlgGenNotSet" selected="selected"><not set></option>
<option value="frame"
fckLang="DlgLnkTargetFrame"><frame></option>
<option value="popup"
fckLang="DlgLnkTargetPopup"><popup window></option>
<option value="_blank"
fckLang="DlgLnkTargetBlank">New Window (_blank)</option>
<option value="_top"
fckLang="DlgLnkTargetTop">Topmost Window (_top)</option>
<option value="_self"
fckLang="DlgLnkTargetSelf">Same Window (_self)</option>
<option value="_parent"
fckLang="DlgLnkTargetParent">Parent Window (_parent)</option>
</select>
</td>
<td> </td>
<td id="tdTargetFrame" nowrap="nowrap"
width="100%">
<span
fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br />
<input id="txtTargetFrame"
style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();"
onchange="OnTargetNameChange();" />
</td>
<td id="tdPopupName" style="DISPLAY:
none" nowrap="nowrap" width="100%">
<span
fckLang="DlgLnkPopWinName">Popup Window Name</span><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>
<span
fckLang="DlgLnkPopWinFeat">Popup Window Features</span><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" fckLang="DlgLnkPopResize">Resizable</label><br
/>
<input
id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox"
/><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location
Bar</label><br />
<input
id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label
for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu
Bar</label><br />
<input
id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox"
/><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">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" fckLang="DlgLnkPopStatus">Status
Bar</label><br />
<input
id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label
for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br />
<input
id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox"
/><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full
Screen (IE)</label><br />
<input
id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox"
/><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">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"><span fckLang="DlgLnkPopWidth">Width</span></td>
<td> <input id="txtPopupWidth" type="text" maxlength="4" size="4"
/></td>
</tr>
<tr>
<td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></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"><span fckLang="DlgLnkPopLeft">Left
Position</span></td>
<td> <input id="txtPopupLeft" type="text" maxlength="4" size="4"
/></td>
</tr>
<tr>
<td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top
Position</span></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%">
<span
fckLang="DlgGenId">Id</span><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%">
<span
fckLang="DlgGenLangDir">Language Direction</span><br />
<select
id="cmbAttLangDir" style="WIDTH: 100%">
<option value="" fckLang="DlgGenNotSet" selected><not set></option>
<option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option>
<option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option>
</select>
</td>
<td
width="1%"> </td>
<td
nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br />
<input
id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" />
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td valign="top" width="50%">
<span
fckLang="DlgGenName">Name</span><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%">
<span
fckLang="DlgGenLangCode">Language Code</span><br />
<input
id="txtAttLangCode" style="WIDTH: 100%" type="text" />
</td>
<td
width="1%"> </td>
<td
nowrap="nowrap">
<span
fckLang="DlgGenTabIndex">Tab Index</span><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%">
<span
fckLang="DlgGenTitle">Advisory Title</span><br />
<input id="txtAttTitle"
style="WIDTH: 100%" type="text" />
</td>
<td width="1"> </td>
<td valign="top">
<span
fckLang="DlgGenContType">Advisory Content Type</span><br />
<input id="txtAttContentType"
style="WIDTH: 100%" type="text" />
</td>
</tr>
<tr>
<td valign="top">
<span
fckLang="DlgGenClass">Stylesheet Classes</span><br />
<input id="txtAttClasses"
style="WIDTH: 100%" type="text" />
</td>
<td></td>
<td valign="top">
<span
fckLang="DlgGenLinkCharset">Linked Resource Charset</span><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>
<span
fckLang="DlgGenStyle">Style</span><br />
<input id="txtAttStyle"
style="WIDTH: 100%" type="text" />
</td>
</tr>
</table>
</div>
</body>
</html>
====================================================
Index: 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 RC3
* Modified: 2005-02-25 22:01:23
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<style type="text/css">
.HandIE { cursor: hand ; }
.HandMozilla { cursor: pointer ; }
.Sample { font-size: 24px; }
</style>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var oSample ;
function insertChar(charValue)
{
oEditor.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.
oEditor.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>
====================================================
Index: fck_spellerpages.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_spellerpages.html
* Spell Check dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-19 14:45:46
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Spell Check</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script
src="fck_spellerpages/spellerpages/spellChecker.js"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
var FCKLang = oEditor.FCKLang ;
window.onload = function()
{
document.getElementById('txtHtml').value = oEditor.FCK.GetHTML() ;
var oSpeller = new spellChecker( document.getElementById('txtHtml') ) ;
oSpeller.OnFinished = oSpeller_OnFinished ;
oSpeller.openChecker() ;
}
function OnSpellerControlsLoad( controlsWindow )
{
// Translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( controlsWindow.document ) ;
}
function oSpeller_OnFinished( numberOCorrections )
{
if ( numberOCorrections > 0 )
oEditor.FCK.SetHTML( document.getElementById('txtHtml').value )
;
window.parent.Cancel() ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no" style="padding:0px;">
<input type="hidden" id="txtHtml" value="">
<iframe id="frmSpell" src="../fckblank.html"
name="spellchecker" width="100%" height="100%" frameborder="no"></iframe>
</body>
</html>
====================================================
Index: fck_universalkey.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_universalkey.html
* Unicode Keyboard dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-10 18:13:36
*
* File Authors:
* Abdul-Aziz Al-Oraij (address@hidden)
* Michel Staelens
* Bernadette Cierzniak
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Universal Keyboard</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<link rel="stylesheet" type="text/css"
href="fck_universalkey/fck_universalkey.css" />
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
window.onload = function()
{
document.body.style.padding = '0px' ;
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
window.parent.SetOkButton( true ) ;
window.parent.SetAutoSize( true ) ;
}
function Ok()
{
var oArea = document.getElementById( 'uni_area' ) ;
if ( oArea.value.length > 0 )
oEditor.FCK.InsertHtml( oArea.value ) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<textarea id="uni_area" cols="40" rows="4"
style="width:100%;height:60px;"></textarea>
<script type="text/javascript"
src="fck_universalkey/data.js"></script>
<script type="text/javascript"
src="fck_universalkey/diacritic.js"></script>
<script type="text/javascript"
src="fck_universalkey/dialogue.js"></script>
<script type="text/javascript"
src="fck_universalkey/multihexa.js"></script>
</body>
</html>
====================================================
Index: fck_textfield.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_textfield.html
* Text field dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-16 20:13:50
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Text Field Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'INPUT' && ( oActiveEl.type ==
'text' || oActiveEl.type == 'password' ) )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtValue').value = oActiveEl.value ;
GetE('txtSize').value = GetAttribute( oActiveEl, 'size' ) ;
GetE('txtMax').value = GetAttribute( oActiveEl, 'maxLength'
) ;
GetE('txtType').value = oActiveEl.type ;
GetE('txtType').disabled = true ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( isNaN( GetE('txtMax').value ) || GetE('txtMax').value < 0 )
{
alert( "Maximum characters must be a positive number." ) ;
GetE('txtMax').focus() ;
return false ;
}
else if( isNaN( GetE('txtSize').value ) || GetE('txtSize').value < 0 )
{
alert( "Width must be a positive number." ) ;
GetE('txtSize').focus() ;
return false ;
}
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement( 'INPUT' )
;
oActiveEl.type = GetE('txtType').value ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'value' , GetE('txtValue').value ) ;
SetAttribute( oActiveEl, 'size' , GetE('txtSize').value ) ;
SetAttribute( oActiveEl, 'maxlength', GetE('txtMax').value ) ;
return true ;
}
</script>
</head>
<body style="OVERFLOW: hidden" scroll="no">
<table height="100%" width="100%">
<tr>
<td align="center">
<table cellSpacing="0" cellPadding="0"
border="0">
<tr>
<td>
<span
fckLang="DlgTextName">Name</span><br>
<input
id="txtName" type="text" size="20">
</td>
<td></td>
<td>
<span
fckLang="DlgTextValue">Value</span><br>
<input
id="txtValue" type="text" size="25">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgTextCharWidth">Character Width</span><br>
<input
id="txtSize" type="text" size="5">
</td>
<td></td>
<td>
<span
fckLang="DlgTextMaxChars">Maximum Characters</span><br>
<input
id="txtMax" type="text" size="5">
</td>
</tr>
<tr>
<td>
<span
fckLang="DlgTextType">Type</span><br>
<select
id="txtType">
<option
value="text" selected fckLang="DlgTextTypeText">Text</option>
<option
value="password" fckLang="DlgTextTypePass">Password</option>
</select>
</td>
<td> </td>
<td></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: 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 RC3
* Modified: 2005-02-19 00:38:53
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Table Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
// Gets the table if there is one selected.
var table ;
var e = oEditor.FCKSelection.GetSelectedElement() ;
if ( ! e && document.location.search.substr(1) == 'Parent' )
e = oEditor.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.
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.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 ) ;
window.parent.SetAutoSize( 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.width =
null ; //.removeAttribute("width") ;
if ( bExists && table.style.height ) table.style.height = null ;
//.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 = " " ;
}
}
oEditor.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"
scroll="no" style="OVERFLOW: hidden">
<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">
<!--
<tr>
<td nowrap>
<span
fcklang="DlgClassName">Class Name</span>:</td>
<td> </td>
<td>
<script type="text/javascript">
//
var tbstyles = new TBCombo( "FontStyle" , "null"
, "", oEditor.config.StyleNames, oEditor.config.StyleValues,
'CheckStyle("cmbFontStyle")');
//
document.write(tbstyles.GetHTML());
</script></td>
</tr>
-->
<tr>
<td nowrap><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>
====================================================
Index: fck_tablecell.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_tablecell.html
* Cell properties dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-09 13:48:22
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
<title>Table Cell Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8" />
<meta name="robots" content="noindex, nofollow" />
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
// Array of selected Cells
var aCells = oEditor.FCKTableHandler.GetSelectedCells() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage( document ) ;
SetStartupValue() ;
window.parent.SetOkButton( true ) ;
window.parent.SetAutoSize( true ) ;
}
function SetStartupValue()
{
if ( aCells.length > 0 )
{
var oCell = aCells[0] ;
var iWidth = GetAttribute( oCell, 'width' ) ;
if ( iWidth.indexOf && iWidth.indexOf( '%' ) >= 0 )
{
iWidth = iWidth.substr( 0, iWidth.length - 1 ) ;
GetE('selWidthType').value = 'percent' ;
}
if ( oCell.attributes['noWrap'] != null &&
oCell.attributes['noWrap'].specified )
GetE('selWordWrap').value = !oCell.noWrap ;
GetE('txtWidth').value = iWidth ;
GetE('txtHeight').value = GetAttribute( oCell,
'height' ) ;
GetE('selHAlign').value = GetAttribute( oCell,
'align' ) ;
GetE('selVAlign').value = GetAttribute( oCell,
'vAlign' ) ;
GetE('txtRowSpan').value = GetAttribute( oCell,
'rowSpan' ) ;
GetE('txtCollSpan').value = GetAttribute( oCell,
'colSpan' ) ;
GetE('txtBackColor').value = GetAttribute( oCell,
'bgColor' ) ;
GetE('txtBorderColor').value = GetAttribute( oCell,
'borderColor' ) ;
// GetE('cmbFontStyle').value = oCell.className ;
}
}
// Fired when the user press the OK button
function Ok()
{
for( i = 0 ; i < aCells.length ; i++ )
{
if ( GetE('txtWidth').value.length > 0 )
aCells[i].width = GetE('txtWidth').value + (
GetE('selWidthType').value == 'percent' ? '%' : '') ;
else
aCells[i].removeAttribute( 'width', 0 ) ;
if ( GetE('selWordWrap').value == 'false' )
aCells[i].noWrap = true ;
else
aCells[i].removeAttribute( 'noWrap' ) ;
SetAttribute( aCells[i], 'height' ,
GetE('txtHeight').value ) ;
SetAttribute( aCells[i], 'align' ,
GetE('selHAlign').value ) ;
SetAttribute( aCells[i], 'vAlign' ,
GetE('selVAlign').value ) ;
SetAttribute( aCells[i], 'rowSpan' ,
GetE('txtRowSpan').value ) ;
SetAttribute( aCells[i], 'colSpan' ,
GetE('txtCollSpan').value ) ;
SetAttribute( aCells[i], 'bgColor' ,
GetE('txtBackColor').value ) ;
SetAttribute( aCells[i], 'borderColor' ,
GetE('txtBorderColor').value ) ;
// SetAttribute( aCells[i], 'className' ,
GetE('cmbFontStyle').value ) ;
}
return true ;
}
function SelectBackColor( color )
{
if ( color && color.length > 0 )
GetE('txtBackColor').value = color ;
}
function SelectBorderColor( color )
{
if ( color && color.length > 0 )
GetE('txtBorderColor').value = color ;
}
function SelectColor( wich )
{
oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color',
oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, wich
== 'Back' ? SelectBackColor : SelectBorderColor, window ) ;
}
</script>
</head>
<body scroll="no" style="OVERFLOW: hidden">
<table cellSpacing="0" cellPadding="0" width="100%" border="0"
height="100%">
<tr>
<td>
<table cellSpacing="1" cellPadding="1"
width="100%" border="0">
<tr>
<td>
<table
cellSpacing="0" cellPadding="0" border="0">
<tr>
<td nowrap><span fckLang="DlgCellWidth">Width</span>:</td>
<td> <input onkeypress="return IsDigit();" id="txtWidth" type="text"
maxLength="4"
size="3" name="txtWidth"> <select id="selWidthType"
name="selWidthType">
<option fckLang="DlgCellWidthPx" value="pixels"
selected>pixels</option>
<option fckLang="DlgCellWidthPc"
value="percent">percent</option>
</select></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellHeight">Height</span>:</td>
<td> <INPUT id="txtHeight" type="text" maxLength="4" size="3"
name="txtHeight" onkeypress="return IsDigit();"> <span
fckLang="DlgCellWidthPx">pixels</span></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellWordWrap">Word Wrap</span>:</td>
<td> <select id="selWordWrap" name="selAlignment">
<option fckLang="DlgCellWordWrapNotSet" value=""
selected><Not set></option>
<option fckLang="DlgCellWordWrapYes" value="true">Yes</option>
<option fckLang="DlgCellWordWrapNo" value="false">No</option>
</select></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellHorAlign">Horizontal Alignment</span>:</td>
<td> <select id="selHAlign" name="selAlignment">
<option fckLang="DlgCellHorAlignNotSet" value=""
selected><Not set></option>
<option fckLang="DlgCellHorAlignLeft" value="left">Left</option>
<option fckLang="DlgCellHorAlignCenter"
value="center">Center</option>
<option fckLang="DlgCellHorAlignRight"
value="right">Right</option>
</select></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellVerAlign">Vertival Alignement</span>:</td>
<td> <select id="selVAlign" name="selAlignment">
<option fckLang="DlgCellVerAlignNotSet" value=""
selected><Not set></option>
<option fckLang="DlgCellVerAlignTop" value="top">Top</option>
<option fckLang="DlgCellVerAlignMiddle"
value="middle">Middle</option>
<option fckLang="DlgCellVerAlignBottom"
value="bottom">Bottom</option>
<option fckLang="DlgCellVerAlignBaseline"
value="baseline">Baseline</option>
</select></td>
</tr>
</table>
</td>
<td> </td>
<td align="right">
<table
cellSpacing="0" cellPadding="0" border="0">
<tr>
<td nowrap><span fckLang="DlgCellRowSpan">Rows Span</span>:</td>
<td> <input onkeypress="return IsDigit();" id="txtRowSpan" type="text"
maxLength="3"
size="2" name="txtRows"></td>
<td></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellCollSpan">Columns Span</span>:</td>
<td> <input onkeypress="return IsDigit();" id="txtCollSpan" type="text"
maxLength="2"
size="2" name="txtColumns"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellBackColor">Background Color</span>:</td>
<td> <input id="txtBackColor" type="text" size="8"
name="txtCellSpacing"></td>
<td> <input type="button" fckLang="DlgCellBtnSelect" value="Select..."
onclick="SelectColor( 'Back' )"></td>
</tr>
<tr>
<td nowrap><span fckLang="DlgCellBorderColor">Border Color</span>:</td>
<td> <input id="txtBorderColor" type="text" size="8"
name="txtCellPadding"></td>
<td> <input type="button" fckLang="DlgCellBtnSelect" value="Select..."
onclick="SelectColor( 'Border' )"></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
====================================================
Index: fck_textarea.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_textarea.html
* Text Area dialog window.
*
* Version: 2.0 RC3
* Modified: 2005-02-19 00:16:07
*
* File Authors:
* Frederico Caldeira Knabben (address@hidden)
-->
<html>
<head>
<title>Text Area Properties</title>
<meta http-equiv="Content-Type" content="text/html;
charset=utf-8">
<meta content="noindex, nofollow" name="robots">
<script src="common/fck_dialog_common.js"
type="text/javascript"></script>
<script type="text/javascript">
var oEditor = window.parent.InnerDialogLoaded() ;
// Gets the document DOM
var oDOM = oEditor.FCK.EditorDocument ;
var oActiveEl = oEditor.FCKSelection.GetSelectedElement() ;
window.onload = function()
{
// First of all, translate the dialog box texts
oEditor.FCKLanguageManager.TranslatePage(document) ;
if ( oActiveEl && oActiveEl.tagName == 'TEXTAREA' )
{
GetE('txtName').value = oActiveEl.name ;
GetE('txtCols').value = GetAttribute( oActiveEl,
'cols' ) ;
GetE('txtRows').value = GetAttribute( oActiveEl,
'rows' ) ;
}
else
oActiveEl = null ;
window.parent.SetOkButton( true ) ;
}
function Ok()
{
if ( !oActiveEl )
{
oActiveEl = oEditor.FCK.EditorDocument.createElement(
'TEXTAREA' ) ;
oActiveEl = oEditor.FCK.InsertElementAndGetIt( oActiveEl ) ;
}
oActiveEl.name = GetE('txtName').value ;
SetAttribute( oActiveEl, 'cols', GetE('txtCols').value ) ;
SetAttribute( oActiveEl, 'rows', GetE('txtRows').value ) ;
return true ;
}
</script>
</head>
<body style='OVERFLOW: hidden' scroll='no'>
<table height="100%" width="100%">
<tr>
<td align="center">
<table border="0" cellpadding="0"
cellspacing="0" width="80%">
<tr>
<td>
<span
fckLang="DlgTextareaName">Name</span><br>
<input
type="text" id="txtName" style="WIDTH: 100%">
<span
fckLang="DlgTextareaCols">Collumns</span><br>
<input
id="txtCols" type="text" size="5">
<br>
<span
fckLang="DlgTextareaRows">Rows</span><br>
<input
id="txtRows" type="text" size="5">
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] news_admin/js/fckeditor/editor/dialog fck_button.html, 1.1 fck_checkbox.html, 1.1 fck_colorselector.html, 1.1 fck_docprops.html, 1.1 fck_anchor.html, 1.1 fck_about.html, 1.1 fck_find.html, 1.1 fck_form.html, 1.1 fck_radiobutton.html, 1.1 fck_replace.html, 1.1 fck_select.html, 1.1 fck_smiley.html, 1.1 fck_paste.html, 1.1 fck_listprop.html, 1.1 fck_hiddenfield.html, 1.1 fck_image.html, 1.1 fck_link.html, 1.1 fck_specialchar.html, 1.1 fck_spellerpages.html, 1.1 fck_universalkey.html, 1.1 fck_textfield.html, 1.1 fck_table.html, 1.1 fck_tablecell.html, 1.1 fck_textarea.html, 1.1,
skwashd <=
- Prev by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/connectors test.html, 1.1
- Next by Date:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/skins/default/toolbar unorderedlist.gif, 1.1 unlink.gif, 1.1 universalkey.gif, 1.1 textcolor.gif, 1.1 textfield.gif, 1.1 underline.gif, 1.1 undo.gif, 1.1 textarea.gif, 1.1 tablesplitcell.gif, 1.1 source.gif, 1.1 specialchar.gif, 1.1 spellcheck.gif, 1.1 strikethrough.gif, 1.1 smiley.gif, 1.1 showtableborders.gif, 1.1 save.gif, 1.1 select.gif, 1.1 selectall.gif, 1.1 showdetails.gif, 1.1 subscript.gif, 1.1 superscript.gif, 1.1 tableinsertcell.gif, 1.1 tableinsertcolumn.gif, 1.1 tableinsertrow.gif, 1.1 tablemergecells.gif, 1.1 tabledeleterows.gif, 1.1 tabledeletecolumns.gif, 1.1 table.gif, 1.1 tablecell.gif, 1.1 tabledeletecells.gif, 1.1 replace.gif, 1.1 removeformat.gif, 1.1 justifycenter.gif, 1.1 justifyfull.gif, 1.1 justifyleft.gif, 1.1 justifyright.gif, 1.1 italic.gif, 1.1 insertunorderedlist.gif, 1.1 imagebutton.gif, 1.1 indent.gif, 1.1 inserthorizontalrule.gif, 1.1 insertorderedlist.gif, 1.1 link.gif, 1.1 newpage.gif, 1.1 preview.gif, 1.1 print.gif, 1.1 radio.gif, 1.1 redo.gif, 1.1 pasteword.gif, 1.1 pastetext.gif, 1.1 numberedlist.gif, 1.1 outdent.gif, 1.1 paste.gif, 1.1 image.gif, 1.1 hiddenfield.gif, 1.1 about.gif, 1.1 anchor.gif, 1.1 bgcolor.gif, 1.1 cut.gif, 1.1 docprops.gif, 1.1 find.gif, 1.1 form.gif, 1.1 copy.gif, 1.1 checkbox.gif, 1.1 bold.gif, 1.1 bulletedlist.gif, 1.1 button.gif, 1.1
- Previous by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/filemanager/browser/default/connectors test.html, 1.1
- Next by thread:
[Phpgroupware-cvs] news_admin/js/fckeditor/editor/skins/default/toolbar unorderedlist.gif, 1.1 unlink.gif, 1.1 universalkey.gif, 1.1 textcolor.gif, 1.1 textfield.gif, 1.1 underline.gif, 1.1 undo.gif, 1.1 textarea.gif, 1.1 tablesplitcell.gif, 1.1 source.gif, 1.1 specialchar.gif, 1.1 spellcheck.gif, 1.1 strikethrough.gif, 1.1 smiley.gif, 1.1 showtableborders.gif, 1.1 save.gif, 1.1 select.gif, 1.1 selectall.gif, 1.1 showdetails.gif, 1.1 subscript.gif, 1.1 superscript.gif, 1.1 tableinsertcell.gif, 1.1 tableinsertcolumn.gif, 1.1 tableinsertrow.gif, 1.1 tablemergecells.gif, 1.1 tabledeleterows.gif, 1.1 tabledeletecolumns.gif, 1.1 table.gif, 1.1 tablecell.gif, 1.1 tabledeletecells.gif, 1.1 replace.gif, 1.1 removeformat.gif, 1.1 justifycenter.gif, 1.1 justifyfull.gif, 1.1 justifyleft.gif, 1.1 justifyright.gif, 1.1 italic.gif, 1.1 insertunorderedlist.gif, 1.1 imagebutton.gif, 1.1 indent.gif, 1.1 inserthorizontalrule.gif, 1.1 insertorderedlist.gif, 1.1 link.gif, 1.1 newpage.gif, 1.1 preview.gif, 1.1 print.gif, 1.1 radio.gif, 1.1 redo.gif, 1.1 pasteword.gif, 1.1 pastetext.gif, 1.1 numberedlist.gif, 1.1 outdent.gif, 1.1 paste.gif, 1.1 image.gif, 1.1 hiddenfield.gif, 1.1 about.gif, 1.1 anchor.gif, 1.1 bgcolor.gif, 1.1 cut.gif, 1.1 docprops.gif, 1.1 find.gif, 1.1 form.gif, 1.1 copy.gif, 1.1 checkbox.gif, 1.1 bold.gif, 1.1 bulletedlist.gif, 1.1 button.gif, 1.1
- Index(es):