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-2009 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
* This page shows the actual folder path.
26
<title>Folder path</title>
27
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
28
<link href="browser.css" type="text/css" rel="stylesheet">
29
<script type="text/javascript">
30
// Automatically detect the correct document.domain (#1919).
33
var d = document.domain ;
37
// Test if we can access a parent property.
40
var test = window.top.opener.document.domain ;
46
// Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
47
d = d.replace( /.*?(?:\.|$)/, '' ) ;
50
break ; // It was not able to detect the domain.
63
function SetCurrentFolder( resourceType, folderPath )
65
document.getElementById('tdName').innerHTML = folderPath ;
68
window.onload = function()
70
window.top.IsLoadedActualFolder = true ;
76
<table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
79
<button style="WIDTH: 100%" type="button">
80
<table cellSpacing="0" cellPadding="0" width="100%" border="0">
82
<td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td>
84
<td id="tdName" width="100%" nowrap class="ActualFolder">/</td>
86
<td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td>