Project

General

Profile

« Previous | Next » 

Revision 918

Added by Matthias almost 16 years ago

update FCKEditor to version 2.6.4

View differences:

trunk/wb/modules/fckeditor/info.php
26 26
  Authors: P. Widlund, S. Braunewell, M. Gallas (ruebenwurzel), Wouldlouper, C. Sommer (doc)
27 27
	Started to track applied changes in info.php from 27.03.2007 onwards (cs)
28 28
 -----------------------------------------------------------------------------------------------------------
29
	v2.88 (ruebenwurzel.. Matthias Gallas; Feb 1, 2009)
30
		+	update to FCKEditor release v2.64
31
	
29 32
	v2.87 (ruebenwurzel.. Matthias Gallas; Aug 19, 2008)
30 33
		+	update to FCKEditor release v2.63
31 34
	
......
114 117
$module_directory		= 'fckeditor';
115 118
$module_name				= 'FCKeditor';
116 119
$module_function		= 'WYSIWYG';
117
$module_version			= '2.87';
118
$module_platform		= '2.6.x';
120
$module_version			= '2.88';
121
$module_platform		= '2.7';
119 122
$module_author 			= 'Christian Sommer, P. Widlund, S. Braunewell, M. Gallas, Wouldlouper';
120 123
$module_license 		= 'GNU General Public License';
121
$module_description 	= 'This module allows you to edit the contents of a page using <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.3</a>.';
124
$module_description 	= 'This module allows you to edit the contents of a page using <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.4</a>.';
122 125

  
123 126
?>
trunk/wb/modules/fckeditor/languages/FR.php
27 27
*/
28 28

  
29 29
// Deutsche Modulbeschreibung
30
$module_description = 'Ce module permet de modifier le contenu de la page avec <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6</a>.';
30
$module_description = 'Ce module permet de modifier le contenu de la page avec <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.4</a>.';
31 31

  
32 32
?>
trunk/wb/modules/fckeditor/languages/DE.php
27 27
*/
28 28

  
29 29
// Deutsche Modulbeschreibung
30
$module_description 	= 'Dieses Modul erlaubt das bearbeiten von Seiteninhalten mit dem <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.2</a>.';
30
$module_description 	= 'Dieses Modul erlaubt das bearbeiten von Seiteninhalten mit dem <a href="http://www.fckeditor.net/" target="_blank">FCKeditor v2.6.4</a>.';
31 31

  
32 32
?>
trunk/wb/modules/fckeditor/fckeditor/fckeditor.php
1 1
<?php
2 2
/*
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/fckpackager.xml
1 1
<?xml version="1.0" encoding="utf-8" ?>
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
27 27
<Package>
28 28
	<Header><![CDATA[/*
29 29
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
30
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
30
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
31 31
 *
32 32
 * == BEGIN LICENSE ==
33 33
 *
trunk/wb/modules/fckeditor/fckeditor/license.txt
1 1
FCKeditor - The text editor for Internet - http://www.fckeditor.net
2
Copyright (C) 2003-2008 Frederico Caldeira Knabben
2
Copyright (C) 2003-2009 Frederico Caldeira Knabben
3 3

  
4 4
Licensed under the terms of any of the following licenses at your
5 5
choice:
trunk/wb/modules/fckeditor/fckeditor/fcktemplates.xml
1 1
<?xml version="1.0" encoding="utf-8" ?>
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/fckconfig.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
76 76
FCKConfig.FormatOutput		= true ;
77 77
FCKConfig.FormatIndentator	= '    ' ;
78 78

  
79
FCKConfig.EMailProtection = 'encode' ; // none | encode | function
79
FCKConfig.EMailProtection = 'none' ; // none | encode | function
80 80
FCKConfig.EMailProtectionFunction = 'mt(NAME,DOMAIN,SUBJECT,BODY)' ;
81 81

  
82 82
FCKConfig.StartupFocus	= false ;
......
160 160
FCKConfig.StylesXmlPath		= FCKConfig.EditorPath + 'fckstyles.xml' ;
161 161
FCKConfig.TemplatesXmlPath	= FCKConfig.EditorPath + 'fcktemplates.xml' ;
162 162

  
163
FCKConfig.SpellChecker			= 'ieSpell' ;	// 'ieSpell' | 'SpellerPages'
163
FCKConfig.SpellChecker			= 'WSC' ;	// 'WSC' | 'SpellerPages' | 'ieSpell'
164 164
FCKConfig.IeSpellDownloadUrl	= 'http://www.iespell.com/download.php' ;
165 165
FCKConfig.SpellerPagesServerScript = 'server-scripts/spellchecker.php' ;	// Available extension: .php .cfm .pl
166 166
FCKConfig.FirefoxSpellChecker	= false ;
......
200 200
// Attributes that will be removed
201 201
FCKConfig.RemoveAttributes = 'class,style,lang,width,height,align,hspace,valign' ;
202 202

  
203
FCKConfig.CustomStyles =
204
{
205
	'Red Title'	: { Element : 'h3', Styles : { 'color' : 'Red' } }
206
};
207

  
208 203
// Do not add, rename or remove styles here. Only apply definition changes.
209 204
FCKConfig.CoreStyles =
210 205
{
trunk/wb/modules/fckeditor/fckeditor/fckeditor.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
59 59
 */
60 60
FCKeditor.MinWidth = 750 ;
61 61

  
62
FCKeditor.prototype.Version			= '2.6.3' ;
63
FCKeditor.prototype.VersionBuild	= '19836' ;
62
FCKeditor.prototype.Version			= '2.6.4' ;
63
FCKeditor.prototype.VersionBuild	= '21629' ;
64 64

  
65 65
FCKeditor.prototype.Create = function()
66 66
{
......
106 106

  
107 107
FCKeditor.prototype.ReplaceTextarea = function()
108 108
{
109
	if ( document.getElementById( this.InstanceName + '___Frame' ) )
110
		return ;
109 111
	if ( !this.CheckBrowser || this._IsCompatibleBrowser() )
110 112
	{
111 113
		// We must check the elements firstly using the Id and then the name.
......
175 177
	if (this.ToolbarSet)
176 178
		sLink += '&amp;Toolbar=' + this.ToolbarSet ;
177 179

  
178
	html = '<iframe id="' + this.InstanceName +
180
	var html = '<iframe id="' + this.InstanceName +
179 181
		'___Frame" src="' + sLink +
180 182
		'" width="' + this.Width +
181 183
		'" height="' + this.Height ;
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash_preview.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_flash/fck_flash.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_form.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_about.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
78 78
								border-left: #000000 1px solid; border-bottom: #000000 1px solid">
79 79
								<span fcklang="DlgAboutVersion">version</span>
80 80
								<br />
81
								<b>2.6.3</b><br />
82
								Build 19836</td>
81
								<b>2.6.4</b><br />
82
								Build 21629</td>
83 83
						</tr>
84 84
					</table>
85 85
				</td>
......
105 105
					<span fcklang="DlgAboutInfo">For further information go to</span> <a href="http://www.fckeditor.net/?About"
106 106
						target="_blank">http://www.fckeditor.net/</a>.
107 107
					<br />
108
					Copyright &copy; 2003-2008 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a>
108
					Copyright &copy; 2003-2009 <a href="#" onclick="SendEMail();">Frederico Caldeira Knabben</a>
109 109
				</td>
110 110
				<td align="center">
111 111
					<a href="http://www.fckeditor.net/sponsors/apply" target="_blank">Become a Sponsor</a>
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_anchor.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_template.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_replace.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
142 142
		}
143 143

  
144 144
		this._textNode = curNode ;
145
		this._offset = curNode.length - 1 ;
145
		this._offset = curNode && curNode.length - 1 ;
146 146
		return crossed ;
147 147
	},
148 148

  
......
420 420
 */
421 421
function CheckIsWordSeparator( c )
422 422
{
423
	if ( !c )
424
		return true;
423 425
	var code = c.charCodeAt( 0 );
424 426
	if ( code >= 9 && code <= 0xd )
425 427
		return true;
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_button.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_paste.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
87 87
	else
88 88
	{
89 89
		document.getElementById('txtData').style.display = '' ;
90
		SelectField( 'txtData' ) ;
90 91
	}
91 92

  
92 93
	if ( sPastingType != 'Word' )
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_specialchar.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_select.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
132 132
						<tr>
133 133
							<td nowrap><span fckLang="DlgSelectSize">Size</span>&nbsp;</td>
134 134
							<td nowrap><input id="txtLines" type="text" size="2" value="">&nbsp;<span fckLang="DlgSelectLines">lines</span></td>
135
							<td nowrap align="right"><input id="chkMultiple" name="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow
135
							<td nowrap align="right"><input id="chkMultiple" type="checkbox"><label for="chkMultiple" fckLang="DlgSelectChkMulti">Allow
136 136
									multiple selections</label></td>
137 137
						</tr>
138 138
					</table>
......
143 143
					<table width="100%">
144 144
						<tr>
145 145
							<td width="50%"><span fckLang="DlgSelectOpText">Text</span><br>
146
								<input id="txtText" style="WIDTH: 100%" type="text" name="txtText">
146
								<input id="txtText" style="WIDTH: 100%" type="text">
147 147
							</td>
148 148
							<td width="50%"><span fckLang="DlgSelectOpValue">Value</span><br>
149
								<input id="txtValue" style="WIDTH: 100%" type="text" name="txtValue">
149
								<input id="txtValue" style="WIDTH: 100%" type="text">
150 150
							</td>
151 151
							<td vAlign="bottom"><input onclick="Add();" type="button" fckLang="DlgSelectBtnAdd" value="Add"></td>
152 152
							<td vAlign="bottom"><input onclick="Modify();" type="button" fckLang="DlgSelectBtnModify" value="Modify"></td>
153 153
						</tr>
154 154
						<tr>
155 155
							<td rowSpan="2"><select id="cmbText" style="WIDTH: 100%" onchange="GetE('cmbValue').selectedIndex = this.selectedIndex;Select(this);"
156
									size="5" name="cmbText"></select>
156
									size="5"></select>
157 157
							</td>
158 158
							<td rowSpan="2"><select id="cmbValue" style="WIDTH: 100%" onchange="GetE('cmbText').selectedIndex = this.selectedIndex;Select(this);"
159
									size="5" name="cmbValue"></select>
159
									size="5"></select>
160 160
							</td>
161 161
							<td vAlign="top" colSpan="2">
162 162
							</td>
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_colorselector.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image/fck_image_preview.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_image.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_table.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
31 31

  
32 32
var dialog	= window.parent ;
33 33
var oEditor = dialog.InnerDialogLoaded() ;
34
var dialogArguments = dialog.Args() ;
35 34

  
36
// Gets the document DOM
37
var oDOM = oEditor.FCK.EditorDocument ;
35
var FCKDomTools = oEditor.FCKDomTools ;
38 36

  
39 37
// Gets the table if there is one selected.
40 38
var table ;
41 39
var e = dialog.Selection.GetSelectedElement() ;
40
var hasColumnHeaders ;
42 41

  
43 42
if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) )
44 43
	e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
......
88 87
		var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
89 88
		if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ;
90 89

  
90
		hasColumnHeaders = true ;
91
		// Check if all the first cells in every row are TH
92
		for (var row=0; row<table.rows.length; row++)
93
		{
94
			// If just one cell isn't a TH then it isn't a header column
95
			if ( table.rows[row].cells[0].nodeName != 'TH' )
96
			{
97
				hasColumnHeaders = false ;
98

  
99
				break;
100
			}
101
		}
102

  
103
		// Check if the table contains <thead>
104
		if ((table.tHead !== null) )
105
		{
106
			if (hasColumnHeaders)
107
				GetE('selHeaders').value = 'both' ;
108
			else
109
				GetE('selHeaders').value = 'row' ;
110
		}
111
		else
112
		{
113
			if (hasColumnHeaders)
114
				GetE('selHeaders').value = 'col' ;
115
			else
116
				GetE('selHeaders').value = '' ;
117
		}
118

  
119

  
91 120
		document.getElementById('txtRows').disabled    = true ;
92 121
		document.getElementById('txtColumns').disabled = true ;
93 122
		SelectField( 'txtWidth' ) ;
......
104 133
{
105 134
	var bExists = ( table != null ) ;
106 135

  
136
	var oDoc = oEditor.FCK.EditorDocument ;
137
	oEditor.FCKUndo.SaveUndoStep() ;
138

  
107 139
	if ( ! bExists )
108
		table = oEditor.FCK.EditorDocument.createElement( "TABLE" ) ;
140
		table = oDoc.createElement( "TABLE" ) ;
109 141

  
110 142
	// Removes the Width and Height styles
111 143
	if ( bExists && table.style.width )		table.style.width = null ; //.removeAttribute("width") ;
......
129 161
	{
130 162
		if ( !eCaption )
131 163
		{
132
			eCaption = oEditor.FCK.EditorDocument.createElement( 'CAPTION' ) ;
164
			eCaption = oDoc.createElement( 'CAPTION' ) ;
133 165
			table.insertBefore( eCaption, table.firstChild ) ;
134 166
		}
135 167

  
......
145 177
			eCaption.parentNode.removeChild( eCaption ) ;
146 178
	}
147 179

  
180
	var headers = GetE('selHeaders').value ;
181
	if ( bExists )
182
	{
183
		// Should we make a <thead>?
184
		if ( table.tHead==null && (headers=='row' || headers=='both') )
185
		{
186
			var oThead = table.createTHead() ;
187
			var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
188
			var theRow= FCKDomTools.GetFirstChild( tbody, 'TR' ) ;
189

  
190
			//now change TD to TH:
191
			for (var i = 0; i<theRow.childNodes.length ; i++)
192
			{
193
				var th = RenameNode(theRow.childNodes[i], 'TH') ;
194
				if (th != null)
195
					th.scope='col' ;
196
			}
197
			oThead.appendChild( theRow ) ;
198
		}
199

  
200
		if ( table.tHead!==null && !(headers=='row' || headers=='both') )
201
		{
202
			// Move the row out of the THead and put it in the TBody:
203
			var tHead = table.tHead ;
204
			var tbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
205

  
206
			var previousFirstRow = tbody.firstChild ;
207
			while ( tHead.firstChild )
208
			{
209
				var theRow = tHead.firstChild ;
210
				for (var i = 0; i < theRow.childNodes.length ; i++ )
211
				{
212
					var newCell = RenameNode( theRow.childNodes[i], 'TD' ) ;
213
					if ( newCell != null )
214
						newCell.removeAttribute( 'scope' ) ;
215
				}
216
				tbody.insertBefore( theRow, previousFirstRow ) ;
217
			}
218
			table.removeChild( tHead ) ;
219
		}
220

  
221
		// Should we make all first cells in a row TH?
222
		if ( (!hasColumnHeaders)  && (headers=='col' || headers=='both') )
223
		{
224
			for( var row=0 ; row < table.rows.length ; row++ )
225
			{
226
				var newCell = RenameNode(table.rows[row].cells[0], 'TH') ;
227
				if ( newCell != null )
228
					newCell.scope = 'row' ;
229
			}
230
		}
231

  
232
		// Should we make all first TH-cells in a row make TD? If 'yes' we do it the other way round :-)
233
		if ( (hasColumnHeaders)  && !(headers=='col' || headers=='both') )
234
		{
235
			for( var row=0 ; row < table.rows.length ; row++ )
236
			{
237
				var oRow = table.rows[row] ;
238
				if ( oRow.parentNode.nodeName == 'TBODY' )
239
				{
240
					var newCell = RenameNode(oRow.cells[0], 'TD') ;
241
					if (newCell != null)
242
						newCell.removeAttribute( 'scope' ) ;
243
				}
244
			}
245
		}
246
	}
247

  
148 248
	if (! bExists)
149 249
	{
150
		var iRows = document.getElementById('txtRows').value ;
151
		var iCols = document.getElementById('txtColumns').value ;
250
		var iRows = GetE('txtRows').value ;
251
		var iCols = GetE('txtColumns').value ;
152 252

  
153
		for ( var r = 0 ; r < iRows ; r++ )
253
		var startRow = 0 ;
254
		// Should we make a <thead> ?
255
		if (headers=='row' || headers=='both')
154 256
		{
257
			startRow++ ;
258
			var oThead = table.createTHead() ;
155 259
			var oRow = table.insertRow(-1) ;
260
			oThead.appendChild(oRow);
261

  
156 262
			for ( var c = 0 ; c < iCols ; c++ )
157 263
			{
158
				var oCell = oRow.insertCell(-1) ;
264
				var oThcell = oDoc.createElement( 'TH' ) ;
265
				oThcell.scope = 'col' ;
266
				oRow.appendChild( oThcell ) ;
159 267
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
268
					oEditor.FCKTools.AppendBogusBr( oThcell ) ;
269
			}
270
		}
271

  
272
		// Opera automatically creates a tbody when a thead has been added
273
		var oTbody = FCKDomTools.GetFirstChild( table, 'TBODY' ) ;
274
		if ( !oTbody )
275
		{
276
			// make TBODY if it doesn't exist
277
			oTbody = oDoc.createElement( 'TBODY' ) ;
278
			table.appendChild( oTbody ) ;
279
		}
280
		for ( var r = startRow ; r < iRows; r++ )
281
		{
282
			var oRow = oDoc.createElement( 'TR' ) ;
283
			oTbody.appendChild(oRow) ;
284

  
285
			var startCol = 0 ;
286
			// Is the first column a header?
287
			if (headers=='col' || headers=='both')
288
			{
289
				var oThcell = oDoc.createElement( 'TH' ) ;
290
				oThcell.scope = 'row' ;
291
				oRow.appendChild( oThcell ) ;
292
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
293
					oEditor.FCKTools.AppendBogusBr( oThcell ) ;
294

  
295
				startCol++ ;
296
			}
297
			for ( var c = startCol ; c < iCols ; c++ )
298
			{
299
				// IE will leave the TH at the end of the row if we use now oRow.insertCell(-1)
300
				var oCell = oDoc.createElement( 'TD' ) ;
301
				oRow.appendChild( oCell ) ;
302
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
160 303
					oEditor.FCKTools.AppendBogusBr( oCell ) ;
161 304
			}
162 305
		}
163 306

  
164
		oEditor.FCKUndo.SaveUndoStep() ;
165

  
166 307
		oEditor.FCK.InsertElement( table ) ;
167 308
	}
168 309

  
......
178 319
				<table cellspacing="1" cellpadding="1" width="100%" border="0">
179 320
					<tr>
180 321
						<td valign="top">
181
							<table cellspacing="0" cellpadding="0" border="0">
322
							<table cellspacing="1" cellpadding="0" border="0">
182 323
								<tr>
183 324
									<td>
184 325
										<span fcklang="DlgTableRows">Rows</span>:</td>
185 326
									<td>
186
										&nbsp;<input id="txtRows" type="text" maxlength="3" size="2" value="3" name="txtRows"
327
										&nbsp;<input id="txtRows" type="text" maxlength="3" size="2" value="3"
187 328
											onkeypress="return IsDigit(event);" /></td>
188 329
								</tr>
189 330
								<tr>
190 331
									<td>
191 332
										<span fcklang="DlgTableColumns">Columns</span>:</td>
192 333
									<td>
193
										&nbsp;<input id="txtColumns" type="text" maxlength="2" size="2" value="2" name="txtColumns"
334
										&nbsp;<input id="txtColumns" type="text" maxlength="2" size="2" value="2"
194 335
											onkeypress="return IsDigit(event);" /></td>
195 336
								</tr>
196 337
								<tr>
338
									<td><span fcklang="DlgTableHeaders">Headers</span>:</td>
197 339
									<td>
198
										&nbsp;</td>
199
									<td>
200
										&nbsp;</td>
340
										&nbsp;<select id="selHeaders">
341
											<option fcklang="DlgTableHeadersNone" value="">None</option>
342
											<option fcklang="DlgTableHeadersRow" value="row">First row</option>
343
											<option fcklang="DlgTableHeadersColumn" value="col">First column</option>
344
											<option fcklang="DlgTableHeadersBoth" value="both">Both</option>
345
										</select>
346
									</td>
201 347
								</tr>
202 348
								<tr>
203 349
									<td>
204 350
										<span fcklang="DlgTableBorder">Border size</span>:</td>
205 351
									<td>
206
										&nbsp;<input id="txtBorder" type="text" maxlength="2" size="2" value="1" name="txtBorder"
352
										&nbsp;<input id="txtBorder" type="text" maxlength="2" size="2" value="1"
207 353
											onkeypress="return IsDigit(event);" /></td>
208 354
								</tr>
209 355
								<tr>
210 356
									<td>
211 357
										<span fcklang="DlgTableAlign">Alignment</span>:</td>
212 358
									<td>
213
										&nbsp;<select id="selAlignment" name="selAlignment">
359
										&nbsp;<select id="selAlignment">
214 360
											<option fcklang="DlgTableAlignNotSet" value="" selected="selected">&lt;Not set&gt;</option>
215 361
											<option fcklang="DlgTableAlignLeft" value="left">Left</option>
216 362
											<option fcklang="DlgTableAlignCenter" value="center">Center</option>
......
227 373
									<td>
228 374
										<span fcklang="DlgTableWidth">Width</span>:</td>
229 375
									<td>
230
										&nbsp;<input id="txtWidth" type="text" maxlength="4" size="3" value="200" name="txtWidth"
376
										&nbsp;<input id="txtWidth" type="text" maxlength="4" size="3" value="200"
231 377
											onkeypress="return IsDigit(event);" /></td>
232 378
									<td>
233
										&nbsp;<select id="selWidthType" name="selWidthType">
379
										&nbsp;<select id="selWidthType">
234 380
											<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option>
235 381
											<option fcklang="DlgTableWidthPc" value="percent">percent</option>
236 382
										</select></td>
......
239 385
									<td>
240 386
										<span fcklang="DlgTableHeight">Height</span>:</td>
241 387
									<td>
242
										&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" /></td>
388
										&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" /></td>
243 389
									<td>
244 390
										&nbsp;<span fcklang="DlgTableWidthPx">pixels</span></td>
245 391
								</tr>
246 392
								<tr>
247
									<td>
248
										&nbsp;</td>
249
									<td>
250
										&nbsp;</td>
251
									<td>
252
										&nbsp;</td>
393
									<td colspan="3">&nbsp;</td>
253 394
								</tr>
254 395
								<tr>
255 396
									<td nowrap="nowrap">
256 397
										<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td>
257 398
									<td>
258
										&nbsp;<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1" name="txtCellSpacing"
399
										&nbsp;<input id="txtCellSpacing" type="text" maxlength="2" size="2" value="1"
259 400
											onkeypress="return IsDigit(event);" /></td>
260 401
									<td>
261 402
										&nbsp;</td>
......
264 405
									<td nowrap="nowrap">
265 406
										<span fcklang="DlgTableCellPad">Cell padding</span>:</td>
266 407
									<td>
267
										&nbsp;<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1" name="txtCellPadding"
408
										&nbsp;<input id="txtCellPadding" type="text" maxlength="2" size="2" value="1"
268 409
											onkeypress="return IsDigit(event);" /></td>
269 410
									<td>
270 411
										&nbsp;</td>
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_tablecell.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
32 32
var dialog	= window.parent ;
33 33
var oEditor = dialog.InnerDialogLoaded() ;
34 34

  
35
// Gets the document DOM
36
var oDOM = oEditor.FCK.EditorDocument ;
35
var FCKDomTools = oEditor.FCKDomTools ;
37 36

  
38 37
// Array of selected Cells
39 38
var aCells = oEditor.FCKTableHandler.GetSelectedCells() ;
......
74 73
		GetE('txtCollSpan').value		= GetAttribute( oCell, 'colSpan' ) ;
75 74
		GetE('txtBackColor').value		= GetAttribute( oCell, 'bgColor' ) ;
76 75
		GetE('txtBorderColor').value	= GetAttribute( oCell, 'borderColor' ) ;
77
//		GetE('cmbFontStyle').value		= oCell.className ;
76
		GetE('selCellType').value     = oCell.nodeName.toLowerCase() ;
78 77
	}
79 78
}
80 79

  
81 80
// Fired when the user press the OK button
82 81
function Ok()
83 82
{
83
	oEditor.FCKUndo.SaveUndoStep() ;
84

  
84 85
	for( i = 0 ; i < aCells.length ; i++ )
85 86
	{
86 87
		if ( GetE('txtWidth').value.length > 0 )
......
100 101
		SetAttribute( aCells[i], 'colSpan'		, GetE('txtCollSpan').value ) ;
101 102
		SetAttribute( aCells[i], 'bgColor'		, GetE('txtBackColor').value ) ;
102 103
		SetAttribute( aCells[i], 'borderColor'	, GetE('txtBorderColor').value ) ;
103
//		SetAttribute( aCells[i], 'className'	, GetE('cmbFontStyle').value ) ;
104

  
105
		var cellType = GetE('selCellType').value ;
106
		if ( aCells[i].nodeName.toLowerCase() != cellType )
107
			aCells[i] = RenameNode( aCells[i], cellType ) ;
104 108
	}
105 109

  
110
	// The cells need to be reselected, otherwise the caret will appear inside the table borders (Gecko)
111
	// or sent back to the beginning of the document (Opera and Safari).
112
	// Strangely, IE works ok so no change is needed for IE.
113
	if ( !oEditor.FCKBrowserInfo.IsIE )
114
	{
115
		var selection = oEditor.FCK.EditorWindow.getSelection() ;
116
		selection.removeAllRanges() ;
117
		for ( var i = 0 ; i < aCells.length ; i++ )
118
		{
119
			var range = oEditor.FCK.EditorDocument.createRange() ;
120
			range.selectNode( aCells[i] ) ;
121
			selection.addRange( range ) ;
122
		}
123
	}
124

  
106 125
	return true ;
107 126
}
108 127

  
......
138 157
										<span fcklang="DlgCellWidth">Width</span>:</td>
139 158
									<td>
140 159
										&nbsp;<input onkeypress="return IsDigit(event);" id="txtWidth" type="text" maxlength="4"
141
											size="3" name="txtWidth" />&nbsp;<select id="selWidthType" name="selWidthType">
160
											size="3" />&nbsp;<select id="selWidthType">
142 161
												<option fcklang="DlgCellWidthPx" value="pixels" selected="selected">pixels</option>
143 162
												<option fcklang="DlgCellWidthPc" value="percent">percent</option>
144 163
											</select></td>
......
147 166
									<td nowrap="nowrap">
148 167
										<span fcklang="DlgCellHeight">Height</span>:</td>
149 168
									<td>
150
										&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" name="txtHeight" onkeypress="return IsDigit(event);" />&nbsp;<span
169
										&nbsp;<input id="txtHeight" type="text" maxlength="4" size="3" onkeypress="return IsDigit(event);" />&nbsp;<span
151 170
											fcklang="DlgCellWidthPx">pixels</span></td>
152 171
								</tr>
153 172
								<tr>
......
160 179
									<td nowrap="nowrap">
161 180
										<span fcklang="DlgCellWordWrap">Word Wrap</span>:</td>
162 181
									<td>
163
										&nbsp;<select id="selWordWrap" name="selAlignment">
182
										&nbsp;<select id="selWordWrap">
164 183
											<option fcklang="DlgCellWordWrapYes" value="true" selected="selected">Yes</option>
165 184
											<option fcklang="DlgCellWordWrapNo" value="false">No</option>
166 185
										</select></td>
......
175 194
									<td nowrap="nowrap">
176 195
										<span fcklang="DlgCellHorAlign">Horizontal Alignment</span>:</td>
177 196
									<td>
178
										&nbsp;<select id="selHAlign" name="selAlignment">
197
										&nbsp;<select id="selHAlign">
179 198
											<option fcklang="DlgCellHorAlignNotSet" value="" selected>&lt;Not set&gt;</option>
180 199
											<option fcklang="DlgCellHorAlignLeft" value="left">Left</option>
181 200
											<option fcklang="DlgCellHorAlignCenter" value="center">Center</option>
......
186 205
									<td nowrap="nowrap">
187 206
										<span fcklang="DlgCellVerAlign">Vertical Alignment</span>:</td>
188 207
									<td>
189
										&nbsp;<select id="selVAlign" name="selAlignment">
208
										&nbsp;<select id="selVAlign">
190 209
											<option fcklang="DlgCellVerAlignNotSet" value="" selected>&lt;Not set&gt;</option>
191 210
											<option fcklang="DlgCellVerAlignTop" value="top">Top</option>
192 211
											<option fcklang="DlgCellVerAlignMiddle" value="middle">Middle</option>
......
202 221
							<table cellspacing="0" cellpadding="0" border="0">
203 222
								<tr>
204 223
									<td nowrap="nowrap">
224
									 <span fcklang="DlgCellType">Cell Type</span>:</td>
225
									<td colspan="2">
226
										&nbsp; <select id="selCellType">
227
											<option fcklang="DlgCellTypeData" value="td" />Data
228
											<option fcklang="DlgCellTypeHeader" value="th" />Header
229
										</select>
230
								</tr>
231
								<tr>
232
									<td>
233
										&nbsp;</td>
234
									<td>
235
										&nbsp;</td>
236
									<td>
237
										&nbsp;</td>
238
								</tr>
239
								<tr>
240
									<td nowrap="nowrap">
205 241
										<span fcklang="DlgCellRowSpan">Rows Span</span>:</td>
206 242
									<td>
207 243
										&nbsp;
208 244
										<input onkeypress="return IsDigit(event);" id="txtRowSpan" type="text" maxlength="3" size="2"
209
											name="txtRows"></td>
245
											></td>
210 246
									<td>
211 247
									</td>
212 248
								</tr>
......
216 252
									<td>
217 253
										&nbsp;
218 254
										<input onkeypress="return IsDigit(event);" id="txtCollSpan" type="text" maxlength="2"
219
											size="2" name="txtColumns"></td>
255
											size="2"></td>
220 256
									<td>
221 257
									</td>
222 258
								</tr>
......
232 268
									<td nowrap="nowrap">
233 269
										<span fcklang="DlgCellBackColor">Background Color</span>:</td>
234 270
									<td>
235
										&nbsp;<input id="txtBackColor" type="text" size="8" name="txtCellSpacing"></td>
271
										&nbsp;<input id="txtBackColor" type="text" size="8" /></td>
236 272
									<td>
237 273
										&nbsp;
238 274
										<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Back' )"></td>
......
241 277
									<td nowrap="nowrap">
242 278
										<span fcklang="DlgCellBorderColor">Border Color</span>:</td>
243 279
									<td>
244
										&nbsp;<input id="txtBorderColor" type="text" size="8" name="txtCellPadding" /></td>
280
										&nbsp;<input id="txtBorderColor" type="text" size="8" /></td>
245 281
									<td>
246 282
										&nbsp;
247 283
										<input type="button" fcklang="DlgCellBtnSelect" value="Select..." onclick="SelectColor( 'Border' )" /></td>
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_textfield.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_docprops.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
......
456 456
						<tr>
457 457
							<td nowrap="nowrap">
458 458
								<span fcklang="DlgDocDocType">Document Type Heading</span><br />
459
								<select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );">
459
								<select id="selDocType" onchange="CheckOther( this, 'txtDocType' );">
460 460
									<option value="" selected="selected"></option>
461 461
									<option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'>HTML
462 462
										4.01 Transitional</option>
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_link/fck_link.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
194 194
		}
195 195

  
196 196
		// Try to match the email against the encode protection.
197
		var aMatch = aLinkInfo[2].match( /^location\.href='mailto:'\+(String\.fromCharCode\([\d,]+\))\+'(.*)'$/ ) ;
197
		var aMatch = aLinkInfo[2].match( /^(?:void\()?location\.href='mailto:'\+(String\.fromCharCode\([\d,]+\))\+'(.*)'\)?$/ ) ;
198 198
		if ( aMatch )
199 199
		{
200 200
			// The link is encoded
......
253 253
			for ( var i = 0 ; i < address.length ; i++ )
254 254
				aAddressCode.push( address.charCodeAt( i ) ) ;
255 255

  
256
			return 'javascript:location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\'' ;
256
			return 'javascript:void(location.href=\'mailto:\'+String.fromCharCode(' + aAddressCode.join( ',' ) + ')+\'?' + aParams.join( '&' ) + '\')' ;
257 257
	}
258 258

  
259 259
	// EMailProtection 'none'
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_radiobutton.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_flash.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_hiddenfield.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_source.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.css
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/common/fck_dialog_common.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
307 307
		}
308 308
	}
309 309
	// The style:
310
	oDest.style.cssText = oSource.style.cssText ;
310
	if ( oSource.style.cssText !== '' )
311
		oDest.style.cssText = oSource.style.cssText ;
311 312
}
313

  
314
/**
315
* Replaces a tag with another one, keeping its contents:
316
* for example TD --> TH, and TH --> TD.
317
* input: the original node, and the new tag name
318
* http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-renameNode
319
*/
320
function RenameNode( oNode , newTag )
321
{
322
	// TODO: if the browser natively supports document.renameNode call it.
323
	// does any browser currently support it in order to test?
324

  
325
	// Only rename element nodes.
326
	if ( oNode.nodeType != 1 )
327
		return null ;
328

  
329
	// If it's already correct exit here.
330
	if ( oNode.nodeName == newTag )
331
		return oNode ;
332

  
333
	var oDoc = oNode.ownerDocument ;
334
	// Create the new node
335
	var newNode = oDoc.createElement( newTag ) ;
336

  
337
	// Copy all attributes
338
	CopyAttributes( oNode, newNode, {} ) ;
339

  
340
	// Move children to the new node
341
	FCKDomTools.MoveChildren( oNode, newNode ) ;
342

  
343
	// Finally replace the node and return the new one
344
	oNode.parentNode.replaceChild( newNode, oNode ) ;
345

  
346
	return newNode ;
347
}
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_smiley.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_listprop.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_select/fck_select.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_textarea.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_spellerpages.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_checkbox.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/dialog/fck_docprops/fck_document_preview.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/fckeditor.original.html
1 1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 2
<!--
3 3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
5 5
 *
6 6
 * == BEGIN LICENSE ==
7 7
 *
trunk/wb/modules/fckeditor/fckeditor/editor/lang/fo.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "Meskubreddi",
309 309
DlgTableCaption		: "Tabellfrágreiðing",
310 310
DlgTableSummary		: "Samandráttur",
311
DlgTableHeaders		: "Headers",	//MISSING
312
DlgTableHeadersNone		: "None",	//MISSING
313
DlgTableHeadersColumn	: "First column",	//MISSING
314
DlgTableHeadersRow		: "First Row",	//MISSING
315
DlgTableHeadersBoth		: "Both",	//MISSING
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "Mesku eginleikar",
......
330 335
DlgCellVerAlignMiddle	: "Miðjan",
331 336
DlgCellVerAlignBottom	: "Niðast",
332 337
DlgCellVerAlignBaseline	: "Basislinja",
338
DlgCellType		: "Cell Type",	//MISSING
339
DlgCellTypeData		: "Data",	//MISSING
340
DlgCellTypeHeader	: "Header",	//MISSING
333 341
DlgCellRowSpan		: "Røðir, meskin fevnir um",
334 342
DlgCellCollSpan		: "Kolonnur, meskin fevnir um",
335 343
DlgCellBackColor	: "Bakgrundslitur",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/bs.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "Uvod æelija",
309 309
DlgTableCaption		: "Naslov",
310 310
DlgTableSummary		: "Summary",	//MISSING
311
DlgTableHeaders		: "Headers",	//MISSING
312
DlgTableHeadersNone		: "None",	//MISSING
313
DlgTableHeadersColumn	: "First column",	//MISSING
314
DlgTableHeadersRow		: "First Row",	//MISSING
315
DlgTableHeadersBoth		: "Both",	//MISSING
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "Svojstva æelije",
......
330 335
DlgCellVerAlignMiddle	: "Sredina",
331 336
DlgCellVerAlignBottom	: "Dno",
332 337
DlgCellVerAlignBaseline	: "Bazno",
338
DlgCellType		: "Cell Type",	//MISSING
339
DlgCellTypeData		: "Data",	//MISSING
340
DlgCellTypeHeader	: "Header",	//MISSING
333 341
DlgCellRowSpan		: "Spajanje æelija",
334 342
DlgCellCollSpan		: "Spajanje kolona",
335 343
DlgCellBackColor	: "Boja pozadine",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/cs.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "Odsazení obsahu",
309 309
DlgTableCaption		: "Popis",
310 310
DlgTableSummary		: "Souhrn",
311
DlgTableHeaders		: "Headers",	//MISSING
312
DlgTableHeadersNone		: "None",	//MISSING
313
DlgTableHeadersColumn	: "First column",	//MISSING
314
DlgTableHeadersRow		: "First Row",	//MISSING
315
DlgTableHeadersBoth		: "Both",	//MISSING
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "Vlastnosti buňky",
......
330 335
DlgCellVerAlignMiddle	: "Doprostřed",
331 336
DlgCellVerAlignBottom	: "Dolů",
332 337
DlgCellVerAlignBaseline	: "Na účaří",
338
DlgCellType		: "Cell Type",	//MISSING
339
DlgCellTypeData		: "Data",	//MISSING
340
DlgCellTypeHeader	: "Header",	//MISSING
333 341
DlgCellRowSpan		: "Sloučené řádky",
334 342
DlgCellCollSpan		: "Sloučené sloupce",
335 343
DlgCellBackColor	: "Barva pozadí",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/en-au.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "Cell padding",
309 309
DlgTableCaption		: "Caption",
310 310
DlgTableSummary		: "Summary",
311
DlgTableHeaders		: "Headers",	//MISSING
312
DlgTableHeadersNone		: "None",	//MISSING
313
DlgTableHeadersColumn	: "First column",	//MISSING
314
DlgTableHeadersRow		: "First Row",	//MISSING
315
DlgTableHeadersBoth		: "Both",	//MISSING
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "Cell Properties",
......
330 335
DlgCellVerAlignMiddle	: "Middle",
331 336
DlgCellVerAlignBottom	: "Bottom",
332 337
DlgCellVerAlignBaseline	: "Baseline",
338
DlgCellType		: "Cell Type",
339
DlgCellTypeData		: "Data",
340
DlgCellTypeHeader	: "Header",
333 341
DlgCellRowSpan		: "Rows Span",
334 342
DlgCellCollSpan		: "Columns Span",
335 343
DlgCellBackColor	: "Background Colour",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/es.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "Esp. interior",
309 309
DlgTableCaption		: "Título",
310 310
DlgTableSummary		: "Síntesis",
311
DlgTableHeaders		: "Encabezados",
312
DlgTableHeadersNone		: "Ninguno",
313
DlgTableHeadersColumn	: "Primera columna",
314
DlgTableHeadersRow		: "Primera fila",
315
DlgTableHeadersBoth		: "Ambas",
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "Propiedades de Celda",
......
330 335
DlgCellVerAlignMiddle	: "Medio",
331 336
DlgCellVerAlignBottom	: "ie",
332 337
DlgCellVerAlignBaseline	: "Línea de Base",
338
DlgCellType		: "Tipo de celda",
339
DlgCellTypeData		: "Datos",
340
DlgCellTypeHeader	: "Encabezado",
333 341
DlgCellRowSpan		: "Abarcar Filas",
334 342
DlgCellCollSpan		: "Abarcar Columnas",
335 343
DlgCellBackColor	: "Color de Fondo",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/km.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
308 308
DlgTableCellPad		: "គែមសែល",
309 309
DlgTableCaption		: "ចំណងជើង",
310 310
DlgTableSummary		: "សេចក្តីសង្ខេប",
311
DlgTableHeaders		: "Headers",	//MISSING
312
DlgTableHeadersNone		: "None",	//MISSING
313
DlgTableHeadersColumn	: "First column",	//MISSING
314
DlgTableHeadersRow		: "First Row",	//MISSING
315
DlgTableHeadersBoth		: "Both",	//MISSING
311 316

  
312 317
// Table Cell Dialog
313 318
DlgCellTitle		: "ការកំណត់ សែល",
......
330 335
DlgCellVerAlignMiddle	: "កណ្តាល",
331 336
DlgCellVerAlignBottom	: "ខាងក្រោម",
332 337
DlgCellVerAlignBaseline	: "បន្ទាត់ជាមូលដ្ឋាន",
338
DlgCellType		: "Cell Type",	//MISSING
339
DlgCellTypeData		: "Data",	//MISSING
340
DlgCellTypeHeader	: "Header",	//MISSING
333 341
DlgCellRowSpan		: "បញ្ជូលជួរផ្តេក",
334 342
DlgCellCollSpan		: "បញ្ជូលជួរឈរ",
335 343
DlgCellBackColor	: "ពណ៌ផ្នែកខាងក្រោម",
trunk/wb/modules/fckeditor/fckeditor/editor/lang/eu.js
1 1
/*
2 2
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
3
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
3
 * Copyright (C) 2003-2009 Frederico Caldeira Knabben
4 4
 *
5 5
 * == BEGIN LICENSE ==
6 6
 *
......
41 41
PasteWord			: "Itsatsi Word-etik",
42 42
Print				: "Inprimatu",
43 43
SelectAll			: "Hautatu dena",
44
RemoveFormat		: "Kendu Formatoa",
44
RemoveFormat		: "Kendu Formatua",
45 45
InsertLinkLbl		: "Esteka",
46 46
InsertLink			: "Txertatu/Editatu Esteka",
47 47
RemoveLink			: "Kendu Esteka",
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff