1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
3
* FCKeditor - The text editor for Internet - http://www.fckeditor.net
4
* Copyright (C) 2003-2007 Frederico Caldeira Knabben
8
* Licensed under the terms of any of the following licenses at your
11
* - GNU General Public License Version 2 or later (the "GPL")
12
* http://www.gnu.org/licenses/gpl.html
14
* - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
* http://www.gnu.org/licenses/lgpl.html
17
* - Mozilla Public License Version 1.1 or later (the "MPL")
18
* http://www.mozilla.org/MPL/MPL-1.1.html
22
* Bulleted List dialog window.
24
<html xmlns="http://www.w3.org/1999/xhtml">
27
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
28
<meta content="noindex, nofollow" name="robots" />
29
<script src="common/fck_dialog_common.js" type="text/javascript"></script>
30
<script type="text/javascript">
32
var oEditor = window.parent.InnerDialogLoaded() ;
34
// Gets the document DOM
35
var oDOM = oEditor.FCK.EditorDocument ;
36
var sListType = ( location.search == '?OL' ? 'OL' : 'UL' ) ;
38
var oActiveEl = oEditor.FCKSelection.MoveToAncestorNode( sListType ) ;
41
window.onload = function()
43
// First of all, translate the dialog box texts
44
oEditor.FCKLanguageManager.TranslatePage(document) ;
46
if ( sListType == 'UL' )
47
oActiveSel = GetE('selBulleted') ;
52
oActiveSel = GetE('selNumbered') ;
53
GetE('eStart').style.display = '' ;
54
GetE('txtStartPosition').value = GetAttribute( oActiveEl, 'start' ) ;
58
oActiveSel.style.display = '' ;
62
if ( oActiveEl.getAttribute('type') )
63
oActiveSel.value = oActiveEl.getAttribute('type') ;
66
window.parent.SetOkButton( true ) ;
72
SetAttribute( oActiveEl, 'type' , oActiveSel.value ) ;
73
if(oActiveEl.tagName == 'OL')
74
SetAttribute( oActiveEl, 'start', GetE('txtStartPosition').value ) ;
82
<body style="overflow: hidden">
83
<table width="100%" style="height: 100%">
85
<td style="text-align:center">
86
<table cellspacing="0" cellpadding="0" border="0" style="margin-left: auto; margin-right: auto;">
88
<td id="eStart" style="display: none; padding-right: 5px; padding-left: 5px">
89
<span fcklang="DlgLstStart">Start</span><br />
90
<input type="text" id="txtStartPosition" size="5" />
92
<td style="padding-right: 5px; padding-left: 5px">
93
<span fcklang="DlgLstType">List Type</span><br />
94
<select id="selBulleted" style="display: none">
95
<option value="" selected="selected"></option>
96
<option value="circle" fcklang="DlgLstTypeCircle">Circle</option>
97
<option value="disc" fcklang="DlgLstTypeDisc">Disc</option>
98
<option value="square" fcklang="DlgLstTypeSquare">Square</option>
100
<select id="selNumbered" style="display: none">
101
<option value="" selected="selected"></option>
102
<option value="1" fcklang="DlgLstTypeNumbers">Numbers (1, 2, 3)</option>
103
<option value="a" fcklang="DlgLstTypeLCase">Lowercase Letters (a, b, c)</option>
104
<option value="A" fcklang="DlgLstTypeUCase">Uppercase Letters (A, B, C)</option>
105
<option value="i" fcklang="DlgLstTypeSRoman">Small Roman Numerals (i, ii, iii)</option>
106
<option value="I" fcklang="DlgLstTypeLRoman">Large Roman Numerals (I, II, III)</option>