Subversion Repositories Applications.papyrus

Rev

Rev 431 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 431 Rev 521
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
4
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
5
 * 
5
 * 
6
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * Licensed under the terms of the GNU Lesser General Public License:
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
8
 * 
8
 * 
9
 * For further information visit:
9
 * For further information visit:
10
 * 		http://www.fckeditor.net/
10
 * 		http://www.fckeditor.net/
11
 * 
11
 * 
-
 
12
 * "Support Open Source software. What about a donation today?"
-
 
13
 * 
12
 * File Name: fck_listprop.html
14
 * File Name: fck_listprop.html
13
 * 	Bulleted List dialog window.
15
 * 	Bulleted List dialog window.
14
 * 
16
 * 
15
 * File Authors:
17
 * File Authors:
16
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
17
-->
19
-->
18
<html>
20
<html>
19
	<head>
21
	<head>
20
		<title>Bulleted List Properties</title>
22
		<title>Bulleted List Properties</title>
21
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
23
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
22
		<meta content="noindex, nofollow" name="robots">
24
		<meta content="noindex, nofollow" name="robots">
23
		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
25
		<script src="common/fck_dialog_common.js" type="text/javascript"></script>
24
		<script type="text/javascript">
26
		<script type="text/javascript">
25
 
27
 
26
var oEditor = window.parent.InnerDialogLoaded() ;
28
var oEditor = window.parent.InnerDialogLoaded() ;
27
 
29
 
28
// Gets the document DOM
30
// Gets the document DOM
29
var oDOM = oEditor.FCK.EditorDocument ;
31
var oDOM = oEditor.FCK.EditorDocument ;
30
 
32
 
31
var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'UL' ) ;
33
var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'UL' ) ;
32
var oActiveSel ;
34
var oActiveSel ;
33
 
35
 
34
window.onload = function()
36
window.onload = function()
35
{
37
{
36
	// First of all, translate the dialog box texts
38
	// First of all, translate the dialog box texts
37
	oEditor.FCKLanguageManager.TranslatePage(document) ;
39
	oEditor.FCKLanguageManager.TranslatePage(document) ;
38
 
40
 
39
	if ( oActiveEl )
41
	if ( oActiveEl )
40
		oActiveSel = GetE('selBulleted') ;
42
		oActiveSel = GetE('selBulleted') ;
41
	else
43
	else
42
	{
44
	{
43
		oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'OL' ) ;
45
		oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( 'OL' ) ;
44
		if ( oActiveEl )
46
		if ( oActiveEl )
45
			oActiveSel = GetE('selNumbered') ;
47
			oActiveSel = GetE('selNumbered') ;
46
	}
48
	}
47
 
49
 
48
	oActiveSel.style.display = '' ;
50
	oActiveSel.style.display = '' ;
49
 
51
 
50
	if ( oActiveEl )
52
	if ( oActiveEl )
51
	{
53
	{
52
		if ( oActiveEl.getAttribute('type') )
54
		if ( oActiveEl.getAttribute('type') )
53
			oActiveSel.value = oActiveEl.getAttribute('type').toLowerCase() ;
55
			oActiveSel.value = oActiveEl.getAttribute('type').toLowerCase() ;
54
	}
56
	}
55
 
57
 
56
	window.parent.SetOkButton( true ) ;
58
	window.parent.SetOkButton( true ) ;
57
}
59
}
58
 
60
 
59
function Ok()
61
function Ok()
60
{
62
{
61
	if ( oActiveEl )
63
	if ( oActiveEl )
62
		SetAttribute( oActiveEl, 'type'	, oActiveSel.value ) ;
64
		SetAttribute( oActiveEl, 'type'	, oActiveSel.value ) ;
63
 
65
 
64
	return true ;
66
	return true ;
65
}
67
}
66
 
68
 
67
		</script>
69
		</script>
68
	</head>
70
	</head>
69
	<body style="OVERFLOW: hidden" scroll="no">
71
	<body style="OVERFLOW: hidden" scroll="no">
70
		<table width="100%" height="100%">
72
		<table width="100%" height="100%">
71
			<tr>
73
			<tr>
72
				<td>
74
				<td>
73
					<table cellspacing="0" cellpadding="0" border="0" align="center">
75
					<table cellspacing="0" cellpadding="0" border="0" align="center">
74
						<tr>
76
						<tr>
75
							<td>
77
							<td>
76
								<span fckLang="DlgLstType">List Type</span><br>
78
								<span fckLang="DlgLstType">List Type</span><br>
77
								<select id="selBulleted" style="DISPLAY: none">
79
								<select id="selBulleted" style="DISPLAY: none">
78
									<option value="" selected></option>
80
									<option value="" selected></option>
79
									<option value="circle" fckLang="DlgLstTypeCircle">Circle</option>
81
									<option value="circle" fckLang="DlgLstTypeCircle">Circle</option>
80
									<option value="disk" fckLang="DlgLstTypeDisk">Disk</option>
82
									<option value="disc" fckLang="DlgLstTypeDisc">Disc</option>
81
									<option value="square" fckLang="DlgLstTypeSquare">Square</option>
83
									<option value="square" fckLang="DlgLstTypeSquare">Square</option>
82
								</select>
84
								</select>
83
								<select id="selNumbered" style="DISPLAY: none">
85
								<select id="selNumbered" style="DISPLAY: none">
84
									<option value="" selected></option>
86
									<option value="" selected></option>
85
									<option value="1" fckLang="DlgLstTypeNumbers">Numbers (1, 2, 3)</option>
87
									<option value="1" fckLang="DlgLstTypeNumbers">Numbers (1, 2, 3)</option>
86
									<option value="a" fckLang="DlgLstTypeLCase">Lowercase Letters (a, b, c)</option>
88
									<option value="a" fckLang="DlgLstTypeLCase">Lowercase Letters (a, b, c)</option>
87
									<option value="A" fckLang="DlgLstTypeUCase">Uppercase Letters (A, B, C)</option>
89
									<option value="A" fckLang="DlgLstTypeUCase">Uppercase Letters (A, B, C)</option>
88
									<option value="i" fckLang="DlgLstTypeSRoman">Small Roman Numerals (i, ii, iii)</option>
90
									<option value="i" fckLang="DlgLstTypeSRoman">Small Roman Numerals (i, ii, iii)</option>
89
									<option value="I" fckLang="DlgLstTypeLRoman">Large Roman Numerals (I, II, III)</option>
91
									<option value="I" fckLang="DlgLstTypeLRoman">Large Roman Numerals (I, II, III)</option>
90
								</select>
92
								</select>
91
								&nbsp;
93
								&nbsp;
92
							</td>
94
							</td>
93
						</tr>
95
						</tr>
94
					</table>
96
					</table>
95
				</td>
97
				</td>
96
			</tr>
98
			</tr>
97
		</table>
99
		</table>
98
	</body>
100
	</body>
99
</html>
101
</html>