Subversion Repositories Applications.papyrus

Rev

Rev 1688 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1688 Rev 1921
Line 1... Line 1...
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
3
 * FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
-
 
5
 *
-
 
6
 * == BEGIN LICENSE ==
5
 * 
7
 *
6
 * Licensed under the terms of the GNU Lesser General Public License:
8
 * Licensed under the terms of any of the following licenses at your
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
9
 * choice:
8
 * 
10
 *
9
 * For further information visit:
11
 *  - GNU General Public License Version 2 or later (the "GPL")
10
 * 		http://www.fckeditor.net/
12
 *    http://www.gnu.org/licenses/gpl.html
11
 * 
13
 *
12
 * "Support Open Source software. What about a donation today?"
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
-
 
15
 *    http://www.gnu.org/licenses/lgpl.html
13
 * 
16
 *
14
 * File Name: fck_tablecell.html
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
15
 * 	Cell properties dialog window.
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
16
 * 
19
 *
17
 * File Authors:
20
 * == END LICENSE ==
-
 
21
 *
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
22
 * Cell properties dialog window.
19
-->
23
-->
20
<html xmlns="http://www.w3.org/1999/xhtml">
24
<html xmlns="http://www.w3.org/1999/xhtml">
21
<head>
25
<head>
22
	<title>Table Cell Properties</title>
26
	<title>Table Cell Properties</title>
23
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
27
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
24
	<meta name="robots" content="noindex, nofollow" />
28
	<meta name="robots" content="noindex, nofollow" />
25
	<script src="common/fck_dialog_common.js" type="text/javascript"></script>
29
	<script src="common/fck_dialog_common.js" type="text/javascript"></script>
26
	<script type="text/javascript">
30
	<script type="text/javascript">
Line -... Line 31...
-
 
31
 
27
 
32
var dialog	= window.parent ;
Line 28... Line 33...
28
var oEditor = window.parent.InnerDialogLoaded() ;
33
var oEditor = dialog.InnerDialogLoaded() ;
29
 
34
 
Line 30... Line 35...
30
// Gets the document DOM
35
// Gets the document DOM
Line 38... Line 43...
38
	// First of all, translate the dialog box texts
43
	// First of all, translate the dialog box texts
39
	oEditor.FCKLanguageManager.TranslatePage( document ) ;
44
	oEditor.FCKLanguageManager.TranslatePage( document ) ;
Line 40... Line 45...
40
 
45
 
Line 41... Line 46...
41
	SetStartupValue() ;
46
	SetStartupValue() ;
42
 
47
 
-
 
48
	dialog.SetOkButton( true ) ;
43
	window.parent.SetOkButton( true ) ;
49
	dialog.SetAutoSize( true ) ;
Line 44... Line 50...
44
	window.parent.SetAutoSize( true ) ;
50
	SelectField( 'txtWidth' ) ;
45
}
51
}
46
 
52
 
Line 81... Line 87...
81
			aCells[i].width	= GetE('txtWidth').value + ( GetE('selWidthType').value == 'percent' ? '%' : '') ;
87
			aCells[i].width	= GetE('txtWidth').value + ( GetE('selWidthType').value == 'percent' ? '%' : '') ;
82
		else
88
		else
83
			aCells[i].removeAttribute( 'width', 0 ) ;
89
			aCells[i].removeAttribute( 'width', 0 ) ;
Line 84... Line 90...
84
 
90
 
85
		if ( GetE('selWordWrap').value == 'false' )
91
		if ( GetE('selWordWrap').value == 'false' )
86
			aCells[i].noWrap = true ;
92
			SetAttribute( aCells[i], 'noWrap', 'nowrap' ) ;
87
		else
93
		else
Line 88... Line 94...
88
			aCells[i].removeAttribute( 'noWrap' ) ;
94
			aCells[i].removeAttribute( 'noWrap' ) ;
89
 
95
 
Line 112... Line 118...
112
		GetE('txtBorderColor').value = color ;
118
		GetE('txtBorderColor').value = color ;
113
}
119
}
Line 114... Line 120...
114
 
120
 
115
function SelectColor( wich )
121
function SelectColor( wich )
116
{
122
{
117
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, wich == 'Back' ? SelectBackColor : SelectBorderColor, window ) ;
123
	oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', oEditor.FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 410, 320, wich == 'Back' ? SelectBackColor : SelectBorderColor, window ) ;
Line 118... Line 124...
118
}
124
}
119
 
125
 
120
	</script>
126
	</script>