Subversion Repositories Applications.papyrus

Rev

Rev 1925 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1925 Rev 2048
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
2
<!--
2
<!--
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
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
 * == BEGIN LICENSE ==
6
 * == BEGIN LICENSE ==
7
 *
7
 *
8
 * Licensed under the terms of any of the following licenses at your
8
 * Licensed under the terms of any of the following licenses at your
9
 * choice:
9
 * choice:
10
 *
10
 *
11
 *  - GNU General Public License Version 2 or later (the "GPL")
11
 *  - GNU General Public License Version 2 or later (the "GPL")
12
 *    http://www.gnu.org/licenses/gpl.html
12
 *    http://www.gnu.org/licenses/gpl.html
13
 *
13
 *
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
 *    http://www.gnu.org/licenses/lgpl.html
15
 *    http://www.gnu.org/licenses/lgpl.html
16
 *
16
 *
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
19
 *
19
 *
20
 * == END LICENSE ==
20
 * == END LICENSE ==
21
 *
21
 *
22
 * Table dialog window.
22
 * Table dialog window.
23
-->
23
-->
24
<html xmlns="http://www.w3.org/1999/xhtml">
24
<html xmlns="http://www.w3.org/1999/xhtml">
25
<head>
25
<head>
26
	<title>Table Properties</title>
26
	<title>Table Properties</title>
27
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
27
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28
	<meta name="robots" content="noindex, nofollow" />
28
	<meta name="robots" content="noindex, nofollow" />
29
	<script src="common/fck_dialog_common.js" type="text/javascript"></script>
29
	<script src="common/fck_dialog_common.js" type="text/javascript"></script>
30
	<script type="text/javascript">
30
	<script type="text/javascript">
31
 
31
 
32
var dialog	= window.parent ;
32
var dialog	= window.parent ;
33
var oEditor = dialog.InnerDialogLoaded() ;
33
var oEditor = dialog.InnerDialogLoaded() ;
34
var dialogArguments = dialog.Args() ;
-
 
35
 
-
 
36
// Gets the document DOM
34
 
37
var oDOM = oEditor.FCK.EditorDocument ;
35
var FCKDomTools = oEditor.FCKDomTools ;
38
 
36
 
39
// Gets the table if there is one selected.
37
// Gets the table if there is one selected.
40
var table ;
38
var table ;
41
var e = dialog.Selection.GetSelectedElement() ;
39
var e = dialog.Selection.GetSelectedElement() ;
-
 
40
var hasColumnHeaders ;
42
 
41
 
43
if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) )
42
if ( ( !e && document.location.search.substr(1) == 'Parent' ) || ( e && e.tagName != 'TABLE' ) )
44
	e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
43
	e = oEditor.FCKSelection.MoveToAncestorNode( 'TABLE' ) ;
45
 
44
 
46
if ( e && e.tagName == "TABLE" )
45
if ( e && e.tagName == "TABLE" )
47
	table = e ;
46
	table = e ;
48
 
47
 
49
// Fired when the window loading process is finished. It sets the fields with the
48
// Fired when the window loading process is finished. It sets the fields with the
50
// actual values if a table is selected in the editor.
49
// actual values if a table is selected in the editor.
51
window.onload = function()
50
window.onload = function()
52
{
51
{
53
	// First of all, translate the dialog box texts
52
	// First of all, translate the dialog box texts
54
	oEditor.FCKLanguageManager.TranslatePage(document) ;
53
	oEditor.FCKLanguageManager.TranslatePage(document) ;
55
 
54
 
56
	if (table)
55
	if (table)
57
	{
56
	{
58
		document.getElementById('txtRows').value    = table.rows.length ;
57
		document.getElementById('txtRows').value    = table.rows.length ;
59
		document.getElementById('txtColumns').value = table.rows[0].cells.length ;
58
		document.getElementById('txtColumns').value = table.rows[0].cells.length ;
60
 
59
 
61
		// Gets the value from the Width or the Style attribute
60
		// Gets the value from the Width or the Style attribute
62
		var iWidth  = (table.style.width  ? table.style.width  : table.width ) ;
61
		var iWidth  = (table.style.width  ? table.style.width  : table.width ) ;
63
		var iHeight = (table.style.height ? table.style.height : table.height ) ;
62
		var iHeight = (table.style.height ? table.style.height : table.height ) ;
64
 
63
 
65
		if (iWidth.indexOf('%') >= 0)			// Percentual = %
64
		if (iWidth.indexOf('%') >= 0)			// Percentual = %
66
		{
65
		{
67
			iWidth = parseInt( iWidth.substr(0,iWidth.length - 1), 10 ) ;
66
			iWidth = parseInt( iWidth.substr(0,iWidth.length - 1), 10 ) ;
68
			document.getElementById('selWidthType').value = "percent" ;
67
			document.getElementById('selWidthType').value = "percent" ;
69
		}
68
		}
70
		else if (iWidth.indexOf('px') >= 0)		// Style Pixel = px
69
		else if (iWidth.indexOf('px') >= 0)		// Style Pixel = px
71
		{																										  //
70
		{																										  //
72
			iWidth = iWidth.substr(0,iWidth.length - 2);
71
			iWidth = iWidth.substr(0,iWidth.length - 2);
73
			document.getElementById('selWidthType').value = "pixels" ;
72
			document.getElementById('selWidthType').value = "pixels" ;
74
		}
73
		}
75
 
74
 
76
		if (iHeight && iHeight.indexOf('px') >= 0)		// Style Pixel = px
75
		if (iHeight && iHeight.indexOf('px') >= 0)		// Style Pixel = px
77
			iHeight = iHeight.substr(0,iHeight.length - 2);
76
			iHeight = iHeight.substr(0,iHeight.length - 2);
78
 
77
 
79
		document.getElementById('txtWidth').value		= iWidth || '' ;
78
		document.getElementById('txtWidth').value		= iWidth || '' ;
80
		document.getElementById('txtHeight').value		= iHeight || '' ;
79
		document.getElementById('txtHeight').value		= iHeight || '' ;
81
		document.getElementById('txtBorder').value		= GetAttribute( table, 'border', '' ) ;
80
		document.getElementById('txtBorder').value		= GetAttribute( table, 'border', '' ) ;
82
		document.getElementById('selAlignment').value	= GetAttribute( table, 'align', '' ) ;
81
		document.getElementById('selAlignment').value	= GetAttribute( table, 'align', '' ) ;
83
		document.getElementById('txtCellPadding').value	= GetAttribute( table, 'cellPadding', '' ) ;
82
		document.getElementById('txtCellPadding').value	= GetAttribute( table, 'cellPadding', '' ) ;
84
		document.getElementById('txtCellSpacing').value	= GetAttribute( table, 'cellSpacing', '' ) ;
83
		document.getElementById('txtCellSpacing').value	= GetAttribute( table, 'cellSpacing', '' ) ;
85
		document.getElementById('txtSummary').value     = GetAttribute( table, 'summary', '' ) ;
84
		document.getElementById('txtSummary').value     = GetAttribute( table, 'summary', '' ) ;
86
//		document.getElementById('cmbFontStyle').value	= table.className ;
85
//		document.getElementById('cmbFontStyle').value	= table.className ;
87
 
86
 
88
		var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
87
		var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
89
		if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ;
88
		if ( eCaption ) document.getElementById('txtCaption').value = eCaption.innerHTML ;
-
 
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
 
90
 
119
 
91
		document.getElementById('txtRows').disabled    = true ;
120
		document.getElementById('txtRows').disabled    = true ;
92
		document.getElementById('txtColumns').disabled = true ;
121
		document.getElementById('txtColumns').disabled = true ;
93
		SelectField( 'txtWidth' ) ;
122
		SelectField( 'txtWidth' ) ;
94
	}
123
	}
95
	else
124
	else
96
		SelectField( 'txtRows' ) ;
125
		SelectField( 'txtRows' ) ;
97
 
126
 
98
	dialog.SetOkButton( true ) ;
127
	dialog.SetOkButton( true ) ;
99
	dialog.SetAutoSize( true ) ;
128
	dialog.SetAutoSize( true ) ;
100
}
129
}
101
 
130
 
102
// Fired when the user press the OK button
131
// Fired when the user press the OK button
103
function Ok()
132
function Ok()
104
{
133
{
105
	var bExists = ( table != null ) ;
134
	var bExists = ( table != null ) ;
-
 
135
 
-
 
136
	var oDoc = oEditor.FCK.EditorDocument ;
-
 
137
	oEditor.FCKUndo.SaveUndoStep() ;
106
 
138
 
107
	if ( ! bExists )
139
	if ( ! bExists )
108
		table = oEditor.FCK.EditorDocument.createElement( "TABLE" ) ;
140
		table = oDoc.createElement( "TABLE" ) ;
109
 
141
 
110
	// Removes the Width and Height styles
142
	// Removes the Width and Height styles
111
	if ( bExists && table.style.width )		table.style.width = null ; //.removeAttribute("width") ;
143
	if ( bExists && table.style.width )		table.style.width = null ; //.removeAttribute("width") ;
112
	if ( bExists && table.style.height )	table.style.height = null ; //.removeAttribute("height") ;
144
	if ( bExists && table.style.height )	table.style.height = null ; //.removeAttribute("height") ;
113
 
145
 
114
	var sWidth = GetE('txtWidth').value ;
146
	var sWidth = GetE('txtWidth').value ;
115
	if ( sWidth.length > 0 && GetE('selWidthType').value == 'percent' )
147
	if ( sWidth.length > 0 && GetE('selWidthType').value == 'percent' )
116
		sWidth += '%' ;
148
		sWidth += '%' ;
117
 
149
 
118
	SetAttribute( table, 'width'		, sWidth ) ;
150
	SetAttribute( table, 'width'		, sWidth ) ;
119
	SetAttribute( table, 'height'		, GetE('txtHeight').value ) ;
151
	SetAttribute( table, 'height'		, GetE('txtHeight').value ) ;
120
	SetAttribute( table, 'border'		, GetE('txtBorder').value ) ;
152
	SetAttribute( table, 'border'		, GetE('txtBorder').value ) ;
121
	SetAttribute( table, 'align'		, GetE('selAlignment').value ) ;
153
	SetAttribute( table, 'align'		, GetE('selAlignment').value ) ;
122
	SetAttribute( table, 'cellPadding'	, GetE('txtCellPadding').value ) ;
154
	SetAttribute( table, 'cellPadding'	, GetE('txtCellPadding').value ) ;
123
	SetAttribute( table, 'cellSpacing'	, GetE('txtCellSpacing').value ) ;
155
	SetAttribute( table, 'cellSpacing'	, GetE('txtCellSpacing').value ) ;
124
	SetAttribute( table, 'summary'		, GetE('txtSummary').value ) ;
156
	SetAttribute( table, 'summary'		, GetE('txtSummary').value ) ;
125
 
157
 
126
	var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
158
	var eCaption = oEditor.FCKDomTools.GetFirstChild( table, 'CAPTION' ) ;
127
 
159
 
128
	if ( document.getElementById('txtCaption').value != '')
160
	if ( document.getElementById('txtCaption').value != '')
129
	{
161
	{
130
		if ( !eCaption )
162
		if ( !eCaption )
131
		{
163
		{
132
			eCaption = oEditor.FCK.EditorDocument.createElement( 'CAPTION' ) ;
164
			eCaption = oDoc.createElement( 'CAPTION' ) ;
133
			table.insertBefore( eCaption, table.firstChild ) ;
165
			table.insertBefore( eCaption, table.firstChild ) ;
134
		}
166
		}
135
 
167
 
136
		eCaption.innerHTML = document.getElementById('txtCaption').value ;
168
		eCaption.innerHTML = document.getElementById('txtCaption').value ;
137
	}
169
	}
138
	else if ( bExists && eCaption )
170
	else if ( bExists && eCaption )
139
	{
171
	{
140
		// TODO: It causes an IE internal error if using removeChild or
172
		// TODO: It causes an IE internal error if using removeChild or
141
		// table.deleteCaption() (see #505).
173
		// table.deleteCaption() (see #505).
142
		if ( oEditor.FCKBrowserInfo.IsIE )
174
		if ( oEditor.FCKBrowserInfo.IsIE )
143
			eCaption.innerHTML = '' ;
175
			eCaption.innerHTML = '' ;
144
		else
176
		else
145
			eCaption.parentNode.removeChild( eCaption ) ;
177
			eCaption.parentNode.removeChild( eCaption ) ;
146
	}
178
	}
-
 
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
	}
147
 
247
 
148
	if (! bExists)
248
	if (! bExists)
149
	{
249
	{
150
		var iRows = document.getElementById('txtRows').value ;
250
		var iRows = GetE('txtRows').value ;
-
 
251
		var iCols = GetE('txtColumns').value ;
-
 
252
 
151
		var iCols = document.getElementById('txtColumns').value ;
253
		var startRow = 0 ;
152
 
254
		// Should we make a <thead> ?
-
 
255
		if (headers=='row' || headers=='both')
-
 
256
		{
153
		for ( var r = 0 ; r < iRows ; r++ )
257
			startRow++ ;
-
 
258
			var oThead = table.createTHead() ;
-
 
259
			var oRow = table.insertRow(-1) ;
154
		{
260
			oThead.appendChild(oRow);
155
			var oRow = table.insertRow(-1) ;
261
 
156
			for ( var c = 0 ; c < iCols ; c++ )
262
			for ( var c = 0 ; c < iCols ; c++ )
-
 
263
			{
-
 
264
				var oThcell = oDoc.createElement( 'TH' ) ;
157
			{
265
				oThcell.scope = 'col' ;
158
				var oCell = oRow.insertCell(-1) ;
266
				oRow.appendChild( oThcell ) ;
159
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
267
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
160
					oEditor.FCKTools.AppendBogusBr( oCell ) ;
268
					oEditor.FCKTools.AppendBogusBr( oThcell ) ;
161
			}
269
			}
162
		}
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 ) ;
163
 
302
				if ( oEditor.FCKBrowserInfo.IsGeckoLike )
-
 
303
					oEditor.FCKTools.AppendBogusBr( oCell ) ;
-
 
304
			}
164
		oEditor.FCKUndo.SaveUndoStep() ;
305
		}
165
 
306
 
166
		oEditor.FCK.InsertElement( table ) ;
307
		oEditor.FCK.InsertElement( table ) ;
167
	}
308
	}
168
 
309
 
169
	return true ;
310
	return true ;
170
}
311
}
171
 
312
 
172
	</script>
313
	</script>
173
</head>
314
</head>
174
<body style="overflow: hidden">
315
<body style="overflow: hidden">
175
	<table id="otable" cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%">
316
	<table id="otable" cellspacing="0" cellpadding="0" width="100%" border="0" style="height: 100%">
176
		<tr>
317
		<tr>
177
			<td>
318
			<td>
178
				<table cellspacing="1" cellpadding="1" width="100%" border="0">
319
				<table cellspacing="1" cellpadding="1" width="100%" border="0">
179
					<tr>
320
					<tr>
180
						<td valign="top">
321
						<td valign="top">
181
							<table cellspacing="0" cellpadding="0" border="0">
322
							<table cellspacing="1" cellpadding="0" border="0">
182
								<tr>
323
								<tr>
183
									<td>
324
									<td>
184
										<span fcklang="DlgTableRows">Rows</span>:</td>
325
										<span fcklang="DlgTableRows">Rows</span>:</td>
185
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
328
											onkeypress="return IsDigit(event);" /></td>
188
								</tr>
329
								</tr>
189
								<tr>
330
								<tr>
190
									<td>
331
									<td>
191
										<span fcklang="DlgTableColumns">Columns</span>:</td>
332
										<span fcklang="DlgTableColumns">Columns</span>:</td>
192
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
335
											onkeypress="return IsDigit(event);" /></td>
195
								</tr>
336
								</tr>
196
								<tr>
337
								<tr>
-
 
338
									<td><span fcklang="DlgTableHeaders">Headers</span>:</td>
197
									<td>
339
									<td>
198
										&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>
199
									<td>
345
										</select>
200
										&nbsp;</td>
346
									</td>
201
								</tr>
347
								</tr>
202
								<tr>
348
								<tr>
203
									<td>
349
									<td>
204
										<span fcklang="DlgTableBorder">Border size</span>:</td>
350
										<span fcklang="DlgTableBorder">Border size</span>:</td>
205
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
353
											onkeypress="return IsDigit(event);" /></td>
208
								</tr>
354
								</tr>
209
								<tr>
355
								<tr>
210
									<td>
356
									<td>
211
										<span fcklang="DlgTableAlign">Alignment</span>:</td>
357
										<span fcklang="DlgTableAlign">Alignment</span>:</td>
212
									<td>
358
									<td>
213
										&nbsp;<select id="selAlignment" name="selAlignment">
359
										&nbsp;<select id="selAlignment">
214
											<option fcklang="DlgTableAlignNotSet" value="" selected="selected">&lt;Not set&gt;</option>
360
											<option fcklang="DlgTableAlignNotSet" value="" selected="selected">&lt;Not set&gt;</option>
215
											<option fcklang="DlgTableAlignLeft" value="left">Left</option>
361
											<option fcklang="DlgTableAlignLeft" value="left">Left</option>
216
											<option fcklang="DlgTableAlignCenter" value="center">Center</option>
362
											<option fcklang="DlgTableAlignCenter" value="center">Center</option>
217
											<option fcklang="DlgTableAlignRight" value="right">Right</option>
363
											<option fcklang="DlgTableAlignRight" value="right">Right</option>
218
										</select></td>
364
										</select></td>
219
								</tr>
365
								</tr>
220
							</table>
366
							</table>
221
						</td>
367
						</td>
222
						<td>
368
						<td>
223
							&nbsp;&nbsp;&nbsp;</td>
369
							&nbsp;&nbsp;&nbsp;</td>
224
						<td align="right" valign="top">
370
						<td align="right" valign="top">
225
							<table cellspacing="0" cellpadding="0" border="0">
371
							<table cellspacing="0" cellpadding="0" border="0">
226
								<tr>
372
								<tr>
227
									<td>
373
									<td>
228
										<span fcklang="DlgTableWidth">Width</span>:</td>
374
										<span fcklang="DlgTableWidth">Width</span>:</td>
229
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
377
											onkeypress="return IsDigit(event);" /></td>
232
									<td>
378
									<td>
233
										&nbsp;<select id="selWidthType" name="selWidthType">
379
										&nbsp;<select id="selWidthType">
234
											<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option>
380
											<option fcklang="DlgTableWidthPx" value="pixels" selected="selected">pixels</option>
235
											<option fcklang="DlgTableWidthPc" value="percent">percent</option>
381
											<option fcklang="DlgTableWidthPc" value="percent">percent</option>
236
										</select></td>
382
										</select></td>
237
								</tr>
383
								</tr>
238
								<tr>
384
								<tr>
239
									<td>
385
									<td>
240
										<span fcklang="DlgTableHeight">Height</span>:</td>
386
										<span fcklang="DlgTableHeight">Height</span>:</td>
241
									<td>
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
									<td>
389
									<td>
244
										&nbsp;<span fcklang="DlgTableWidthPx">pixels</span></td>
390
										&nbsp;<span fcklang="DlgTableWidthPx">pixels</span></td>
245
								</tr>
391
								</tr>
246
								<tr>
392
								<tr>
247
									<td>
-
 
248
										&nbsp;</td>
-
 
249
									<td>
-
 
250
										&nbsp;</td>
393
									<td colspan="3">&nbsp;</td>
251
									<td>
-
 
252
										&nbsp;</td>
-
 
253
								</tr>
394
								</tr>
254
								<tr>
395
								<tr>
255
									<td nowrap="nowrap">
396
									<td nowrap="nowrap">
256
										<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td>
397
										<span fcklang="DlgTableCellSpace">Cell spacing</span>:</td>
257
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
400
											onkeypress="return IsDigit(event);" /></td>
260
									<td>
401
									<td>
261
										&nbsp;</td>
402
										&nbsp;</td>
262
								</tr>
403
								</tr>
263
								<tr>
404
								<tr>
264
									<td nowrap="nowrap">
405
									<td nowrap="nowrap">
265
										<span fcklang="DlgTableCellPad">Cell padding</span>:</td>
406
										<span fcklang="DlgTableCellPad">Cell padding</span>:</td>
266
									<td>
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
											onkeypress="return IsDigit(event);" /></td>
409
											onkeypress="return IsDigit(event);" /></td>
269
									<td>
410
									<td>
270
										&nbsp;</td>
411
										&nbsp;</td>
271
								</tr>
412
								</tr>
272
							</table>
413
							</table>
273
						</td>
414
						</td>
274
					</tr>
415
					</tr>
275
				</table>
416
				</table>
276
				<table cellspacing="0" cellpadding="0" width="100%" border="0">
417
				<table cellspacing="0" cellpadding="0" width="100%" border="0">
277
					<tr>
418
					<tr>
278
						<td nowrap="nowrap">
419
						<td nowrap="nowrap">
279
							<span fcklang="DlgTableCaption">Caption</span>:&nbsp;</td>
420
							<span fcklang="DlgTableCaption">Caption</span>:&nbsp;</td>
280
						<td>
421
						<td>
281
							&nbsp;</td>
422
							&nbsp;</td>
282
						<td width="100%" nowrap="nowrap">
423
						<td width="100%" nowrap="nowrap">
283
							<input id="txtCaption" type="text" style="width: 100%" /></td>
424
							<input id="txtCaption" type="text" style="width: 100%" /></td>
284
					</tr>
425
					</tr>
285
					<tr>
426
					<tr>
286
						<td nowrap="nowrap">
427
						<td nowrap="nowrap">
287
							<span fcklang="DlgTableSummary">Summary</span>:&nbsp;</td>
428
							<span fcklang="DlgTableSummary">Summary</span>:&nbsp;</td>
288
						<td>
429
						<td>
289
							&nbsp;</td>
430
							&nbsp;</td>
290
						<td width="100%" nowrap="nowrap">
431
						<td width="100%" nowrap="nowrap">
291
							<input id="txtSummary" type="text" style="width: 100%" /></td>
432
							<input id="txtSummary" type="text" style="width: 100%" /></td>
292
					</tr>
433
					</tr>
293
				</table>
434
				</table>
294
			</td>
435
			</td>
295
		</tr>
436
		</tr>
296
	</table>
437
	</table>
297
</body>
438
</body>
298
</html>
439
</html>