Project

General

Profile

1
<!DOCTYPE HTML>
2
<!--
3
 * CKeditor - The text editor for Internet - http://www.ckeditor.net
4
 * Copyright (C) 2003-2010 Frederico Caldeira Knabben
5
 *
6
 * == BEGIN LICENSE ==
7
 *
8
 * Licensed under the terms of any of the following licenses at your
9
 * choice:
10
 *
11
 *  - GNU General Public License Version 2 or later (the "GPL")
12
 *    http://www.gnu.org/licenses/gpl.html
13
 *
14
 *  - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
15
 *    http://www.gnu.org/licenses/lgpl.html
16
 *
17
 *  - Mozilla Public License Version 1.1 or later (the "MPL")
18
 *    http://www.mozilla.org/MPL/MPL-1.1.html
19
 *
20
 * == END LICENSE ==
21
 *
22
 * This page shows the actual folder path.
23
-->
24
<html>
25
    <head>
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).
31
(function()
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
        // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
46
        d = d.replace( /.*?(?:\.|$)/, '' ) ;
47
        if ( d.length == 0 )
48
            break ;        // It was not able to detect the domain.
49
        try
50
        {
51
            document.domain = d ;
52
        }
53
        catch (e)
54
        {
55
            break ;
56
        }
57
    }
58
})() ;
59

    
60
function SetCurrentFolder( resourceType, folderPath )
61
{
62
    document.getElementById('tdName').innerHTML = folderPath ;
63
}
64

    
65
window.onload = function()
66
{
67
    window.top.IsLoadedActualFolder = true ;
68
}
69

    
70
        </script>
71
    </head>
72
    <body>
73
        <table class="fullHeight" >
74
            <tr>
75
                <td>
76
                    <button style="WIDTH: 100%" type="button" class="ActualFolder">
77
                        <table  >
78
                            <tr>
79
                                <td><img alt="" src="images/FolderOpened_big.gif" style="width : 24px; white-space: nowrap;"></td>
80
                                <td>&nbsp;</td>
81
                                <td id="tdName" style="width :100%; white-space: nowrap;" >/</td>
82
                                <td>&nbsp;</td>
83
                            </tr>
84
                        </table>
85
                    </button>
86
                </td>
87
            </tr>
88
        </table>
89
    </body>
90
</html>
(3-3/10)