~ubuntu-branches/ubuntu/natty/moin/natty-updates

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/dialog/fck_docprops.html

  • Committer: Bazaar Package Importer
  • Author(s): Jonas Smedegaard
  • Date: 2008-06-22 21:17:13 UTC
  • mto: This revision was merged to the branch mainline in revision 18.
  • Revision ID: james.westby@ubuntu.com-20080622211713-inlv5k4eifxckelr
ImportĀ upstreamĀ versionĀ 1.7.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 
2
<!--
 
3
 * FCKeditor - The text editor for internet
 
4
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
 
5
 * 
 
6
 * Licensed under the terms of the GNU Lesser General Public License:
 
7
 *              http://www.opensource.org/licenses/lgpl-license.php
 
8
 * 
 
9
 * For further information visit:
 
10
 *              http://www.fckeditor.net/
 
11
 * 
 
12
 * "Support Open Source software. What about a donation today?"
 
13
 * 
 
14
 * File Name: fck_docprops.html
 
15
 *      Link dialog window.
 
16
 * 
 
17
 * File Authors:
 
18
 *              Frederico Caldeira Knabben (fredck@fckeditor.net)
 
19
-->
 
20
<html>
 
21
        <head>
 
22
                <title>Document Properties</title>
 
23
                <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
 
24
                <meta content="noindex, nofollow" name="robots">
 
25
                <script src="common/fck_dialog_common.js" type="text/javascript"></script>
 
26
                <script language="javascript">
 
27
 
 
28
var oEditor             = window.parent.InnerDialogLoaded() ;
 
29
var FCK                 = oEditor.FCK ;
 
30
var FCKLang             = oEditor.FCKLang ;
 
31
var FCKConfig   = oEditor.FCKConfig ;
 
32
 
 
33
//#### Dialog Tabs
 
34
 
 
35
// Set the dialog tabs.
 
36
window.parent.AddTab( 'General'         , FCKLang.DlgDocGeneralTab ) ;
 
37
window.parent.AddTab( 'Background'      , FCKLang.DlgDocBackTab ) ;
 
38
window.parent.AddTab( 'Colors'          , FCKLang.DlgDocColorsTab ) ;
 
39
window.parent.AddTab( 'Meta'            , FCKLang.DlgDocMetaTab ) ;
 
40
 
 
41
// Function called when a dialog tag is selected.
 
42
function OnDialogTabChange( tabCode )
 
43
{
 
44
        ShowE( 'divGeneral'             , ( tabCode == 'General' ) ) ;
 
45
        ShowE( 'divBackground'  , ( tabCode == 'Background' ) ) ;
 
46
        ShowE( 'divColors'              , ( tabCode == 'Colors' ) ) ;
 
47
        ShowE( 'divMeta'                , ( tabCode == 'Meta' ) ) ;
 
48
 
 
49
        ShowE( 'ePreview'               , ( tabCode == 'Background' || tabCode == 'Colors' ) ) ;
 
50
}
 
51
 
 
52
//#### Get Base elements from the document: BEGIN
 
53
 
 
54
// The HTML element of the document.
 
55
var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
 
56
 
 
57
// The HEAD element of the document.
 
58
var oHead = oHTML.getElementsByTagName('head')[0] ;
 
59
 
 
60
var oBody = FCK.EditorDocument.body ;
 
61
 
 
62
// This object contains all META tags defined in the document.
 
63
var oMetaTags = new Object() ;
 
64
 
 
65
// Get all META tags defined in the document.
 
66
var aMetas = oHead.getElementsByTagName('meta') ;
 
67
 
 
68
// Loop throw all METAs and put it in the HashTable.
 
69
for ( var i = 0 ; i < aMetas.length ; i++ )
 
70
{
 
71
        // Try to get the "name" attribute.
 
72
        var sName = GetAttribute( aMetas[i], 'name', GetAttribute( aMetas[i], '___fcktoreplace:name', '' ) ) ;
 
73
 
 
74
        // If no "name", try with the "http-equiv" attribute.
 
75
        if ( sName.length == 0 )
 
76
        {
 
77
                if ( document.all )
 
78
                {
 
79
                        // Get the http-equiv value from the outerHTML.
 
80
                        var oHttpEquivMatch = aMetas[i].outerHTML.match( oEditor.FCKRegexLib.MetaHttpEquiv ) ;
 
81
                        if ( oHttpEquivMatch )
 
82
                                sName = oHttpEquivMatch[1] ;
 
83
                }
 
84
                else
 
85
                        sName = GetAttribute( aMetas[i], 'http-equiv', '' ) ;
 
86
        }
 
87
 
 
88
        if ( sName.length > 0 )
 
89
                oMetaTags[ sName.toLowerCase() ] = aMetas[i] ;
 
90
}
 
91
 
 
92
//#### END
 
93
 
 
94
// Set a META tag in the document.
 
95
function SetMetadata( name, content, isHttp )
 
96
{
 
97
        if ( content.length == 0 )
 
98
        {
 
99
                RemoveMetadata( name ) ;
 
100
                return ;
 
101
        }
 
102
 
 
103
        var oMeta = oMetaTags[ name.toLowerCase() ] ;
 
104
 
 
105
        if ( !oMeta )
 
106
        {
 
107
                oMeta = oHead.appendChild( FCK.EditorDocument.createElement('META') ) ;
 
108
 
 
109
                if ( isHttp )
 
110
                        SetAttribute( oMeta, 'http-equiv', name ) ;
 
111
                else
 
112
                {
 
113
                        // On IE, it is not possible to set the "name" attribute of the META tag.
 
114
                        // So a temporary attribute is used and it is replaced when getting the
 
115
                        // editor's HTML/XHTML value. This is sad, I know :(
 
116
                        if ( document.all )
 
117
                                SetAttribute( oMeta, '___fcktoreplace:name', name ) ;
 
118
                        else
 
119
                                SetAttribute( oMeta, 'name', name ) ;
 
120
                }
 
121
 
 
122
                oMetaTags[ name.toLowerCase() ] = oMeta ;
 
123
        }
 
124
 
 
125
        oMeta.content = content ;
 
126
}
 
127
 
 
128
function RemoveMetadata( name )
 
129
{
 
130
        var oMeta = oMetaTags[ name.toLowerCase() ] ;
 
131
 
 
132
        if ( oMeta && oMeta != null )
 
133
        {
 
134
                oMeta.parentNode.removeChild( oMeta ) ;
 
135
                oMetaTags[ name.toLowerCase() ] = null ;
 
136
        }
 
137
}
 
138
 
 
139
function GetMetadata( name )
 
140
{
 
141
        var oMeta = oMetaTags[ name.toLowerCase() ] ;
 
142
 
 
143
        if ( oMeta && oMeta != null )
 
144
                return oMeta.content ;
 
145
        else
 
146
                return '' ;
 
147
}
 
148
 
 
149
window.onload = function ()
 
150
{
 
151
        // Show/Hide the "Browse Server" button.
 
152
        GetE('tdBrowse').style.display = oEditor.FCKConfig.ImageBrowser ? "" : "none";
 
153
 
 
154
        // First of all, translate the dialog box texts
 
155
        oEditor.FCKLanguageManager.TranslatePage( document ) ;
 
156
 
 
157
        FillFields() ;
 
158
 
 
159
        UpdatePreview() ;
 
160
 
 
161
        // Show the "Ok" button.
 
162
        window.parent.SetOkButton( true ) ;
 
163
 
 
164
        window.parent.SetAutoSize( true ) ;
 
165
}
 
166
 
 
167
function FillFields()
 
168
{
 
169
        // ### General Info
 
170
        GetE('txtPageTitle').value = FCK.EditorDocument.title ;
 
171
 
 
172
        GetE('selDirection').value      = GetAttribute( oHTML, 'dir', '' ) ;
 
173
        GetE('txtLang').value           = GetAttribute( oHTML, 'xml:lang', GetAttribute( oHTML, 'lang', '' ) ) ;        // "xml:lang" takes precedence to "lang".
 
174
 
 
175
        // Character Set Encoding.
 
176
//      if ( document.all )
 
177
//              var sCharSet = FCK.EditorDocument.charset ;
 
178
//      else
 
179
                var sCharSet = GetMetadata( 'Content-Type' ) ;
 
180
 
 
181
        if ( sCharSet != null && sCharSet.length > 0 )
 
182
        {
 
183
//              if ( !document.all )
 
184
                        sCharSet = sCharSet.match( /[^=]*$/ ) ;
 
185
 
 
186
                GetE('selCharSet').value = sCharSet ;
 
187
 
 
188
                if ( GetE('selCharSet').selectedIndex == -1 )
 
189
                {
 
190
                        GetE('selCharSet').value = '...' ;
 
191
                        GetE('txtCustomCharSet').value = sCharSet ;
 
192
 
 
193
                        CheckOther( GetE('selCharSet'), 'txtCustomCharSet' ) ;
 
194
                }
 
195
        }
 
196
 
 
197
        // Document Type.
 
198
        if ( FCK.DocTypeDeclaration && FCK.DocTypeDeclaration.length > 0 )
 
199
        {
 
200
                GetE('selDocType').value = FCK.DocTypeDeclaration ;
 
201
 
 
202
                if ( GetE('selDocType').selectedIndex == -1 )
 
203
                {
 
204
                        GetE('selDocType').value = '...' ;
 
205
                        GetE('txtDocType').value = FCK.DocTypeDeclaration ;
 
206
 
 
207
                        CheckOther( GetE('selDocType'), 'txtDocType' ) ;
 
208
                }
 
209
        }
 
210
 
 
211
        // Document Type.
 
212
        GetE('chkIncXHTMLDecl').checked = ( FCK.XmlDeclaration && FCK.XmlDeclaration.length > 0 ) ;
 
213
 
 
214
        // ### Background
 
215
        GetE('txtBackColor').value = GetAttribute( oBody, 'bgColor'             , '' ) ;
 
216
        GetE('txtBackImage').value = GetAttribute( oBody, 'background'  , '' ) ;
 
217
        GetE('chkBackNoScroll').checked = ( GetAttribute( oBody, 'bgProperties', '' ).toLowerCase() == 'fixed' ) ;
 
218
 
 
219
        // ### Colors
 
220
        GetE('txtColorText').value              = GetAttribute( oBody, 'text'   , '' ) ;
 
221
        GetE('txtColorLink').value              = GetAttribute( oBody, 'link'   , '' ) ;
 
222
        GetE('txtColorVisited').value   = GetAttribute( oBody, 'vLink'  , '' ) ;
 
223
        GetE('txtColorActive').value    = GetAttribute( oBody, 'aLink'  , '' ) ;
 
224
 
 
225
        // ### Margins
 
226
        GetE('txtMarginTop').value              = GetAttribute( oBody, 'topMargin'              , '' ) ;
 
227
        GetE('txtMarginLeft').value             = GetAttribute( oBody, 'leftMargin'             , '' ) ;
 
228
        GetE('txtMarginRight').value    = GetAttribute( oBody, 'rightMargin'    , '' ) ;
 
229
        GetE('txtMarginBottom').value   = GetAttribute( oBody, 'bottomMargin'   , '' ) ;
 
230
 
 
231
        // ### Meta Data
 
232
        GetE('txtMetaKeywords').value           = GetMetadata( 'keywords' ) ;
 
233
        GetE('txtMetaDescription').value        = GetMetadata( 'description' ) ;
 
234
        GetE('txtMetaAuthor').value                     = GetMetadata( 'author' ) ;
 
235
        GetE('txtMetaCopyright').value          = GetMetadata( 'copyright' ) ;
 
236
}
 
237
 
 
238
// Called when the "Ok" button is clicked.
 
239
function Ok()
 
240
{
 
241
        // ### General Info
 
242
        FCK.EditorDocument.title = GetE('txtPageTitle').value ;
 
243
 
 
244
        var oHTML = FCK.EditorDocument.getElementsByTagName('html')[0] ;
 
245
 
 
246
        SetAttribute( oHTML, 'dir'              , GetE('selDirection').value ) ;
 
247
        SetAttribute( oHTML, 'lang'             , GetE('txtLang').value ) ;
 
248
        SetAttribute( oHTML, 'xml:lang' , GetE('txtLang').value ) ;
 
249
 
 
250
        // Character Set Enconding.
 
251
        var sCharSet = GetE('selCharSet').value ;
 
252
        if ( sCharSet == '...' )
 
253
                sCharSet = GetE('txtCustomCharSet').value ;
 
254
 
 
255
        if ( sCharSet.length > 0 )
 
256
                        sCharSet = 'text/html; charset=' + sCharSet ;
 
257
 
 
258
//      if ( document.all )
 
259
//              FCK.EditorDocument.charset = sCharSet ;
 
260
//      else
 
261
                SetMetadata( 'Content-Type', sCharSet, true ) ;
 
262
 
 
263
        // Document Type
 
264
        var sDocType = GetE('selDocType').value ;
 
265
        if ( sDocType == '...' )
 
266
                sDocType = GetE('txtDocType').value ;
 
267
 
 
268
        FCK.DocTypeDeclaration = sDocType ;
 
269
 
 
270
        // XHTML Declarations.
 
271
        if ( GetE('chkIncXHTMLDecl').checked )
 
272
        {
 
273
                if ( sCharSet.length == 0 )
 
274
                        sCharSet = 'utf-8' ;
 
275
 
 
276
                FCK.XmlDeclaration = '<?xml version="1.0" encoding="' + sCharSet + '"?>' ;
 
277
 
 
278
                SetAttribute( oHTML, 'xmlns', 'http://www.w3.org/1999/xhtml' ) ;
 
279
        }
 
280
        else
 
281
        {
 
282
                FCK.XmlDeclaration = null ;
 
283
                oHTML.removeAttribute( 'xmlns', 0 ) ;
 
284
        }
 
285
 
 
286
        // ### Background
 
287
        SetAttribute( oBody, 'bgcolor'          , GetE('txtBackColor').value ) ;
 
288
        SetAttribute( oBody, 'background'       , GetE('txtBackImage').value ) ;
 
289
        SetAttribute( oBody, 'bgproperties'     , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
 
290
 
 
291
        // ### Colors
 
292
        SetAttribute( oBody, 'text'     , GetE('txtColorText').value ) ;
 
293
        SetAttribute( oBody, 'link'     , GetE('txtColorLink').value ) ;
 
294
        SetAttribute( oBody, 'vlink', GetE('txtColorVisited').value ) ;
 
295
        SetAttribute( oBody, 'alink', GetE('txtColorActive').value ) ;
 
296
 
 
297
        // ### Margins
 
298
        SetAttribute( oBody, 'topmargin'        , GetE('txtMarginTop').value ) ;
 
299
        SetAttribute( oBody, 'leftmargin'       , GetE('txtMarginLeft').value ) ;
 
300
        SetAttribute( oBody, 'rightmargin'      , GetE('txtMarginRight').value ) ;
 
301
        SetAttribute( oBody, 'bottommargin'     , GetE('txtMarginBottom').value ) ;
 
302
 
 
303
        // ### Meta data
 
304
        SetMetadata( 'keywords'         , GetE('txtMetaKeywords').value ) ;
 
305
        SetMetadata( 'description'      , GetE('txtMetaDescription').value ) ;
 
306
        SetMetadata( 'author'           , GetE('txtMetaAuthor').value ) ;
 
307
        SetMetadata( 'copyright'        , GetE('txtMetaCopyright').value ) ;
 
308
 
 
309
        return true ;
 
310
}
 
311
 
 
312
var bPreviewIsLoaded = false ;
 
313
var oPreviewWindow ;
 
314
var oPreviewBody ;
 
315
 
 
316
// Called by the Preview page when loaded.
 
317
function OnPreviewLoad( previewWindow, previewBody )
 
318
{
 
319
        oPreviewWindow  = previewWindow ;
 
320
        oPreviewBody    = previewBody ;
 
321
 
 
322
        bPreviewIsLoaded = true ;
 
323
        UpdatePreview() ;
 
324
}
 
325
 
 
326
function UpdatePreview()
 
327
{
 
328
        if ( !bPreviewIsLoaded )
 
329
                return ;
 
330
 
 
331
        // ### Background
 
332
        SetAttribute( oPreviewBody, 'bgcolor'           , GetE('txtBackColor').value ) ;
 
333
        SetAttribute( oPreviewBody, 'background'        , GetE('txtBackImage').value ) ;
 
334
        SetAttribute( oPreviewBody, 'bgproperties'      , GetE('chkBackNoScroll').checked ? 'fixed' : '' ) ;
 
335
 
 
336
        // ### Colors
 
337
        SetAttribute( oPreviewBody, 'text', GetE('txtColorText').value ) ;
 
338
 
 
339
        oPreviewWindow.SetLinkColor( GetE('txtColorLink').value ) ;
 
340
        oPreviewWindow.SetVisitedColor( GetE('txtColorVisited').value ) ;
 
341
        oPreviewWindow.SetActiveColor( GetE('txtColorActive').value ) ;
 
342
}
 
343
 
 
344
function CheckOther( combo, txtField )
 
345
{
 
346
        var bNotOther = ( combo.value != '...' ) ;
 
347
 
 
348
        GetE(txtField).style.backgroundColor = ( bNotOther ? '#cccccc' : '' ) ;
 
349
        GetE(txtField).disabled = bNotOther ;
 
350
}
 
351
 
 
352
function SetColor( inputId, color )
 
353
{
 
354
        GetE( inputId ).value = color + '' ;
 
355
        UpdatePreview() ;
 
356
}
 
357
 
 
358
function SelectBackColor( color )               { SetColor('txtBackColor', color ) ; }
 
359
function SelectColorText( color )               { SetColor('txtColorText', color ) ; }
 
360
function SelectColorLink( color )               { SetColor('txtColorLink', color ) ; }
 
361
function SelectColorVisited( color )    { SetColor('txtColorVisited', color ) ; }
 
362
function SelectColorActive( color )             { SetColor('txtColorActive', color ) ; }
 
363
 
 
364
function SelectColor( wich )
 
365
{
 
366
        switch ( wich )
 
367
        {
 
368
                case 'Back'                     : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectBackColor, window ) ; return ;
 
369
                case 'ColorText'        : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorText, window ) ; return ;
 
370
                case 'ColorLink'        : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorLink, window ) ; return ;
 
371
                case 'ColorVisited'     : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorVisited, window ) ; return ;
 
372
                case 'ColorActive'      : oEditor.FCKDialog.OpenDialog( 'FCKDialog_Color', FCKLang.DlgColorTitle, 'dialog/fck_colorselector.html', 400, 330, SelectColorActive, window ) ; return ;
 
373
        }
 
374
}
 
375
 
 
376
function BrowseServerBack()
 
377
{
 
378
        OpenFileBrowser( FCKConfig.ImageBrowserURL, FCKConfig.ImageBrowserWindowWidth, FCKConfig.ImageBrowserWindowHeight ) ;
 
379
}
 
380
 
 
381
function SetUrl( url )
 
382
{
 
383
        GetE('txtBackImage').value = url ;
 
384
        UpdatePreview() ;
 
385
}
 
386
 
 
387
                </script>
 
388
        </head>
 
389
        <body scroll="no" style="OVERFLOW: hidden">
 
390
                <table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
 
391
                        <tr>
 
392
                                <td vAlign="top" height="100%">
 
393
                                        <div id="divGeneral">
 
394
                                                <span fckLang="DlgDocPageTitle">Page Title</span><br>
 
395
                                                <input id="txtPageTitle" style="WIDTH: 100%" type="text">
 
396
                                                <br>
 
397
                                                <table cellSpacing="0" cellPadding="0" border="0">
 
398
                                                        <tr>
 
399
                                                                <td>
 
400
                                                                        <span fckLang="DlgDocLangDir">Language Direction</span><br>
 
401
                                                                        <select id="selDirection">
 
402
                                                                                <option value="" selected></option>
 
403
                                                                                <option value="ltr" fckLang="DlgDocLangDirLTR">Left to Right (LTR)</option>
 
404
                                                                                <option value="rtl" fckLang="DlgDocLangDirRTL">Right to Left (RTL)</option>
 
405
                                                                        </select>
 
406
                                                                </td>
 
407
                                                                <td>&nbsp;&nbsp;&nbsp;</td>
 
408
                                                                <td>
 
409
                                                                        <span fckLang="DlgDocLangCode">Language Code</span><br>
 
410
                                                                        <input id="txtLang" type="text">
 
411
                                                                </td>
 
412
                                                        </tr>
 
413
                                                </table>
 
414
                                                <br>
 
415
                                                <table cellSpacing="0" cellPadding="0" width="100%" border="0">
 
416
                                                        <tr>
 
417
                                                                <td noWrap><span fckLang="DlgDocCharSet">Character Set Encoding</span><br>
 
418
                                                                        <select id="selCharSet" onchange="CheckOther( this, 'txtCustomCharSet' );">
 
419
                                                                                <option value="" selected></option>
 
420
                                                                                <option value="us-ascii">ASCII</option>
 
421
                                                                                <option value="iso-8859-2">Central European</option>
 
422
                                                                                <option value="big5">Chinese Traditional (Big5)</option>
 
423
                                                                                <option value="iso-8859-5">Cyrillic</option>
 
424
                                                                                <option value="iso-8859-7">Greek</option>
 
425
                                                                                <option value="iso-2022-jp">Japanese</option>
 
426
                                                                                <option value="iso-2022-kr">Korean</option>
 
427
                                                                                <option value="iso-8859-9">Turkish</option>
 
428
                                                                                <option value="utf-8">Unicode (UTF-8)</option>
 
429
                                                                                <option value="iso-8859-1">Western European</option>
 
430
                                                                                <option value="..." fckLang="DlgOpOther">&lt;Other&gt;</option>
 
431
                                                                        </select>
 
432
                                                                </td>
 
433
                                                                <td>&nbsp;&nbsp;&nbsp;</td>
 
434
                                                                <td width="100%">
 
435
                                                                        <span fckLang="DlgDocCharSetOther">Other Character Set Encoding</span><br>
 
436
                                                                        <input id="txtCustomCharSet" style="WIDTH: 100%; BACKGROUND-COLOR: #cccccc" disabled type="text">
 
437
                                                                </td>
 
438
                                                        </tr>
 
439
                                                        <tr>
 
440
                                                                <td colspan="3">&nbsp;</td>
 
441
                                                        </tr>
 
442
                                                        <tr>
 
443
                                                                <td nowrap>
 
444
                                                                        <span fckLang="DlgDocDocType">Document Type Heading</span><br>
 
445
                                                                        <select id="selDocType" name="selDocType" onchange="CheckOther( this, 'txtDocType' );">
 
446
                                                                                <option value="" selected></option>
 
447
                                                                                <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'>HTML
 
448
                                                                                        4.01 Transitional</option>
 
449
                                                                                <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">'>HTML
 
450
                                                                                        4.01 Strict</option>
 
451
                                                                                <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd">'>HTML
 
452
                                                                                        4.01 Frameset</option>
 
453
                                                                                <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">'>XHTML
 
454
                                                                                        1.0 Transitional</option>
 
455
                                                                                <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">'>XHTML
 
456
                                                                                        1.0 Strict</option>
 
457
                                                                                <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">'>XHTML
 
458
                                                                                        1.0 Frameset</option>
 
459
                                                                                <option value='<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'>XHTML
 
460
                                                                                        1.1</option>
 
461
                                                                                <option value='<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">'>HTML 3.2</option>
 
462
                                                                                <option value='<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">'>HTML 2.0</option>
 
463
                                                                                <option value="..." fckLang="DlgOpOther">&lt;Other&gt;</option>
 
464
                                                                        </select>
 
465
                                                                </td>
 
466
                                                                <td></td>
 
467
                                                                <td width="100%">
 
468
                                                                        <span fckLang="DlgDocDocTypeOther">Other Document Type Heading</span><br>
 
469
                                                                        <input id="txtDocType" style="WIDTH: 100%; BACKGROUND-COLOR: #cccccc" disabled type="text">
 
470
                                                                </td>
 
471
                                                        </tr>
 
472
                                                </table>
 
473
                                                <br>
 
474
                                                <input id="chkIncXHTMLDecl" type="checkbox"> <label for="chkIncXHTMLDecl" fckLang="DlgDocIncXHTML">Include
 
475
                                                        XHTML Declarations</label>
 
476
                                        </div>
 
477
                                        <div id="divBackground" style="DISPLAY: none">
 
478
                                                <span fckLang="DlgDocBgColor">Background Color</span><br>
 
479
                                                <input id="txtBackColor" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();">&nbsp;<input id="btnSelBackColor" onclick="SelectColor( 'Back' )" type="button" value="Select..."
 
480
                                                        fckLang="DlgCellBtnSelect"><br>
 
481
                                                <br>
 
482
                                                <span fckLang="DlgDocBgImage">Background Image URL</span><br>
 
483
                                                <table cellSpacing="0" cellPadding="0" width="100%" border="0">
 
484
                                                        <tr>
 
485
                                                                <td width="100%"><input id="txtBackImage" style="WIDTH: 100%" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"></td>
 
486
                                                                <td id="tdBrowse" nowrap>&nbsp;<input id="btnBrowse" onclick="BrowseServerBack();" type="button" fckLang="DlgBtnBrowseServer" value="Browse Server" fckLang="DlgBtnBrowseServer"></td>
 
487
                                                        </tr>
 
488
                                                </table>
 
489
                                                <input id="chkBackNoScroll" type="checkbox" onclick="UpdatePreview();"> <label for="chkBackNoScroll" fckLang="DlgDocBgNoScroll">Nonscrolling
 
490
                                                        Background</label>
 
491
                                        </div>
 
492
                                        <div id="divColors" style="DISPLAY: none">
 
493
                                                <table cellSpacing="0" cellPadding="0" width="100%" border="0">
 
494
                                                        <tr>
 
495
                                                                <td>
 
496
                                                                        <span fckLang="DlgDocCText">Text</span><br>
 
497
                                                                        <input id="txtColorText" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorText' )" type="button" value="Select..." fckLang="DlgCellBtnSelect">
 
498
                                                                        <br>
 
499
                                                                        <span fckLang="DlgDocCLink">Link</span><br>
 
500
                                                                        <input id="txtColorLink" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorLink' )" type="button" value="Select..." fckLang="DlgCellBtnSelect">
 
501
                                                                        <br>
 
502
                                                                        <span fckLang="DlgDocCVisited">Visited Link</span><br>
 
503
                                                                        <input id="txtColorVisited" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorVisited' )" type="button" value="Select..." fckLang="DlgCellBtnSelect">
 
504
                                                                        <br>
 
505
                                                                        <span fckLang="DlgDocCActive">Active Link</span><br>
 
506
                                                                        <input id="txtColorActive" type="text" onchange="UpdatePreview();" onkeyup="UpdatePreview();"><input onclick="SelectColor( 'ColorActive' )" type="button" value="Select..." fckLang="DlgCellBtnSelect">
 
507
                                                                </td>
 
508
                                                                <td valign="middle" align="center">
 
509
                                                                        <table cellspacing="2" cellpadding="0" border="0">
 
510
                                                                                <tr>
 
511
                                                                                        <td><span fckLang="DlgDocMargins">Page Margins</span></td>
 
512
                                                                                </tr>
 
513
                                                                                <tr>
 
514
                                                                                        <td style="BORDER: #000000 1px solid; PADDING: 5px">
 
515
                                                                                                <table cellpadding="0" cellspacing="0" border="0" dir="ltr">
 
516
                                                                                                        <tr>
 
517
                                                                                                                <td align="center" colspan="3">
 
518
                                                                                                                        <span fckLang="DlgDocMaTop">Top</span><br>
 
519
                                                                                                                        <input id="txtMarginTop" type="text" size="3">
 
520
                                                                                                                </td>
 
521
                                                                                                        </tr>
 
522
                                                                                                        <tr>
 
523
                                                                                                                <td align="left">
 
524
                                                                                                                        <span fckLang="DlgDocMaLeft">Left</span><br>
 
525
                                                                                                                        <input id="txtMarginLeft" type="text" size="3">
 
526
                                                                                                                </td>
 
527
                                                                                                                <td>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td>
 
528
                                                                                                                <td align="right">
 
529
                                                                                                                        <span fckLang="DlgDocMaRight">Right</span><BR>
 
530
                                                                                                                        <input id="txtMarginRight" type="text" size="3">
 
531
                                                                                                                </td>
 
532
                                                                                                        </tr>
 
533
                                                                                                        <tr>
 
534
                                                                                                                <td align="center" colspan="3">
 
535
                                                                                                                        <span fckLang="DlgDocMaBottom">Bottom</span><br>
 
536
                                                                                                                        <input id="txtMarginBottom" type="text" size="3">
 
537
                                                                                                                </td>
 
538
                                                                                                        </tr>
 
539
                                                                                                </table>
 
540
                                                                                        </td>
 
541
                                                                                </tr>
 
542
                                                                        </table>
 
543
                                                                </td>
 
544
                                                        </tr>
 
545
                                                </table>
 
546
                                        </div>
 
547
                                        <div id="divMeta" style="DISPLAY: none">
 
548
                                                <span fckLang="DlgDocMeIndex">Document Indexing Keywords (comma separated)</span><br>
 
549
                                                <textarea id="txtMetaKeywords" style="WIDTH: 100%" rows="2" cols="20"></textarea>
 
550
                                                <br>
 
551
                                                <span fckLang="DlgDocMeDescr">Document Description</span><br>
 
552
                                                <textarea id="txtMetaDescription" style="WIDTH: 100%" rows="4" cols="20"></textarea>
 
553
                                                <br>
 
554
                                                <span fckLang="DlgDocMeAuthor">Author</span><br>
 
555
                                                <input id="txtMetaAuthor" style="WIDTH: 100%" type="text"><br>
 
556
                                                <br>
 
557
                                                <span fckLang="DlgDocMeCopy">Copyright</span><br>
 
558
                                                <input id="txtMetaCopyright" type="text" style="WIDTH: 100%">
 
559
                                        </div>
 
560
                                </td>
 
561
                        </tr>
 
562
                        <tr id="ePreview" style="DISPLAY: none">
 
563
                                <td>
 
564
                                        <span fckLang="DlgDocPreview">Preview</span><br>
 
565
                                        <iframe id="frmPreview" src="fck_docprops/fck_document_preview.html" width="100%" height="100"></iframe>
 
566
                                </td>
 
567
                        </tr>
 
568
                </table>
 
569
        </body>
 
570
</html>
 
 
b'\\ No newline at end of file'