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 -... 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 - http://www.fckeditor.net
3
 * Copyright (C) 2003-2006 Frederico Caldeira Knabben
4
 * Copyright (C) 2003-2008 Frederico Caldeira Knabben
-
 
5
 *
-
 
6
 * == BEGIN LICENSE ==
4
 * 
7
 *
5
 * Licensed under the terms of the GNU Lesser General Public License:
8
 * Licensed under the terms of any of the following licenses at your
6
 * 		http://www.opensource.org/licenses/lgpl-license.php
9
 * choice:
7
 * 
10
 *
8
 * For further information visit:
11
 *  - GNU General Public License Version 2 or later (the "GPL")
9
 * 		http://www.fckeditor.net/
12
 *    http://www.gnu.org/licenses/gpl.html
10
 * 
13
 *
11
 * "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
12
 * 
16
 *
13
 * File Name: frmactualfolder.html
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
14
 * 	This page shows the actual folder path.
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
15
 * 
19
 *
16
 * File Authors:
20
 * == END LICENSE ==
-
 
21
 *
17
 * 		Frederico Caldeira Knabben (fredck@fckeditor.net)
22
 * This page shows the actual folder path.
18
-->
23
-->
19
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
-
 
20
<html>
24
<html>
21
	<head>
25
	<head>
-
 
26
		<title>Folder path</title>
-
 
27
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
22
		<link href="browser.css" type="text/css" rel="stylesheet">
28
		<link href="browser.css" type="text/css" rel="stylesheet">
23
		<script type="text/javascript">
29
		<script type="text/javascript">
24
 
-
 
-
 
30
// Automatically detect the correct document.domain (#1919).
25
function OnResize()
31
(function()
26
{
32
{
-
 
33
	var d = document.domain ;
-
 
34
 
-
 
35
	while ( true )
-
 
36
	{
-
 
37
		// Test if we can access a parent property.
-
 
38
		try
-
 
39
		{
-
 
40
			var test = window.top.opener.document.domain ;
-
 
41
			break ;
-
 
42
		}
-
 
43
		catch( e )
-
 
44
		{}
-
 
45
 
-
 
46
		// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
-
 
47
		d = d.replace( /.*?(?:\.|$)/, '' ) ;
-
 
48
 
27
	divName.style.width = "1px" ;
49
		if ( d.length == 0 )
28
	divName.style.width = tdName.offsetWidth + "px" ;
50
			break ;		// It was not able to detect the domain.
-
 
51
 
-
 
52
		try
-
 
53
		{
-
 
54
			document.domain = d ;
-
 
55
		}
-
 
56
		catch (e)
-
 
57
		{
-
 
58
			break ;
-
 
59
		}
29
}
60
	}
-
 
61
})() ;
Line 30... Line 62...
30
 
62
 
31
function SetCurrentFolder( resourceType, folderPath )
63
function SetCurrentFolder( resourceType, folderPath )
32
{
64
{
33
	document.getElementById('tdName').innerHTML = folderPath ;
65
	document.getElementById('tdName').innerHTML = folderPath ;
Line 38... Line 70...
38
	window.top.IsLoadedActualFolder = true ;
70
	window.top.IsLoadedActualFolder = true ;
39
}
71
}
Line 40... Line 72...
40
 
72
 
41
		</script>
73
		</script>
42
	</head>
74
	</head>
43
	<body bottomMargin="0" topMargin="0">
75
	<body>
44
		<table height="100%" cellSpacing="0" cellPadding="0" width="100%" border="0">
76
		<table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
45
			<tr>
77
			<tr>
46
				<td>
78
				<td>
47
					<button style="WIDTH: 100%" type="button">
79
					<button style="WIDTH: 100%" type="button">
48
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
80
						<table cellSpacing="0" cellPadding="0" width="100%" border="0">
49
							<tr>
81
							<tr>
50
								<td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td>
82
								<td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td>
51
								<td>&nbsp;</td>
83
								<td>&nbsp;</td>
52
								<td id="tdName" width="100%" nowrap class="ActualFolder">/</td>
84
								<td id="tdName" width="100%" nowrap class="ActualFolder">/</td>
53
								<td>&nbsp;</td>
85
								<td>&nbsp;</td>
54
								<td><img height="8" src="images/ButtonArrow.gif" width="12"></td>
86
								<td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td>
55
								<td>&nbsp;</td>
87
								<td>&nbsp;</td>
56
							</tr>
88
							</tr>
57
						</table>
89
						</table>
58
					</button>
90
					</button>