Subversion Repositories Applications.papyrus

Rev

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

Rev 521 Rev 875
Line -... Line 1...
-
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
1
<!--
2
<!--
2
 * FCKeditor - The text editor for internet
3
 * FCKeditor - The text editor for internet
3
 * Copyright (C) 2003-2005 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * 
5
 * 
5
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * Licensed under the terms of the GNU Lesser General Public License:
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 * 		http://www.opensource.org/licenses/lgpl-license.php
7
 * 
8
 * 
8
 * For further information visit:
9
 * For further information visit:
Line 14... Line 15...
14
 * 	This page is used by all dialog box as the container.
15
 * 	This page is used by all dialog box as the container.
15
 * 
16
 * 
16
 * File Authors:
17
 * File Authors:
17
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
18
-->
19
-->
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
20
<html xmlns="http://www.w3.org/1999/xhtml">
20
<html>
-
 
21
	<head>
21
	<head>
22
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
22
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
23
		<meta name="robots" content="noindex, nofollow" />
23
		<meta name="robots" content="noindex, nofollow" />
24
		<script type="text/javascript">
24
		<script type="text/javascript">
Line 37... Line 37...
37
var sTitle = window.dialogArguments.Title ;
37
var sTitle = window.dialogArguments.Title ;
38
document.write( '<title>' + sTitle + '<\/title>' ) ;
38
document.write( '<title>' + sTitle + '<\/title>' ) ;
Line 39... Line 39...
39
 
39
 
40
function LoadInnerDialog()
40
function LoadInnerDialog()
-
 
41
{
-
 
42
	// The following value is set, so the editor can check that the dialog has been correctly opened.
-
 
43
	window.setTimeout( function() { window.returnValue = true ; }, 100 ) ;
41
{
44
 
42
	if ( window.onresize )
45
	if ( window.onresize )
Line 43... Line 46...
43
		window.onresize() ;
46
		window.onresize() ;
44
 
47
 
Line 109... Line 112...
109
		Cancel() ;
112
		Cancel() ;
110
}
113
}
Line 111... Line 114...
111
 
114
 
112
function Cancel()
115
function Cancel()
-
 
116
{
-
 
117
	// All dialog windows will fire the "OnSelectionChange" event, not matter
-
 
118
	// the Ok or Cancel button have being pressed.
113
{
119
	window.dialogArguments.Editor.FCK.Events.FireEvent( 'OnSelectionChange' ) ;
114
	window.close() ;
120
	window.close() ;
Line 115... Line 121...
115
}
121
}
116
 
122
 
Line 246... Line 252...
246
 
252
 
247
		oFrame.height = iHeight - 2 ;
253
		oFrame.height = iHeight - 2 ;
248
	}
254
	}
Line 249... Line -...
249
}
-
 
250
 
-
 
251
window.onfocus = function()
-
 
252
{
-
 
253
	document.getElementById('frmMain').contentWindow.focus() ;
-
 
254
}
255
}
255
 
256
 
256
if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE )
257
if ( window.dialogArguments.Editor.FCKBrowserInfo.IsIE )
257
{
258
{
258
	function Window_OnBeforeUnload()
259
	function Window_OnBeforeUnload()
Line 263... Line 264...
263
		window.dialogArguments.Editor = null ;
264
		window.dialogArguments.Editor = null ;
264
	}
265
	}
265
	window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ;
266
	window.attachEvent( "onbeforeunload", Window_OnBeforeUnload ) ;
266
}
267
}
Line -... Line 268...
-
 
268
 
-
 
269
function Window_OnClose()
-
 
270
{
-
 
271
	window.dialogArguments.Editor.FCKFocusManager.Unlock() ;
-
 
272
}
-
 
273
 
-
 
274
if ( window.addEventListener )
-
 
275
	window.addEventListener( 'unload', Window_OnClose, false ) ;
267
 
276
 
268
		</script>
277
		</script>
269
	</head>
278
	</head>
270
	<body onload="LoadInnerDialog();" class="PopupBody">
279
	<body onload="LoadInnerDialog();" class="PopupBody">
271
		<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">
280
		<table height="100%" cellspacing="0" cellpadding="0" width="100%" border="0">