~ubuntu-branches/ubuntu/oneiric/moin/oneiric-security

« back to all changes in this revision

Viewing changes to wiki/htdocs/applets/FCKeditor/editor/filemanager/browser/default/frmactualfolder.html

  • Committer: Bazaar Package Importer
  • Author(s): Jamie Strandboge
  • Date: 2010-03-30 12:55:34 UTC
  • mfrom: (0.1.17 sid)
  • Revision ID: james.westby@ubuntu.com-20100330125534-4c2ufc1rok24447l
Tags: 1.9.2-2ubuntu1
* Merge from Debian testing (LP: #521834). Based on work by Stefan Ebner.
  Remaining changes:
 - Remove python-xml from Suggests field, the package isn't anymore in
   sys.path.
 - Demote fckeditor from Recommends to Suggests; the code was previously
   embedded in moin, but it was also disabled, so there's no reason for us
   to pull this in by default currently. Note: This isn't necessary anymore
   but needs a MIR for fckeditor, so postpone dropping this change until
   lucid+1
* debian/rules:
  - Replace hardcoded python2.5 with python* and hardcore python2.6 for ln
* debian/control.in: drop versioned depends on cdbs

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 - http://www.fckeditor.net
4
 
 * Copyright (C) 2003-2009 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
 
 
46
 
                // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ...
47
 
                d = d.replace( /.*?(?:\.|$)/, '' ) ;
48
 
 
49
 
                if ( d.length == 0 )
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
 
                }
60
 
        }
61
 
})() ;
62
 
 
63
 
function SetCurrentFolder( resourceType, folderPath )
64
 
{
65
 
        document.getElementById('tdName').innerHTML = folderPath ;
66
 
}
67
 
 
68
 
window.onload = function()
69
 
{
70
 
        window.top.IsLoadedActualFolder = true ;
71
 
}
72
 
 
73
 
                </script>
74
 
        </head>
75
 
        <body>
76
 
                <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0">
77
 
                        <tr>
78
 
                                <td>
79
 
                                        <button style="WIDTH: 100%" type="button">
80
 
                                                <table cellSpacing="0" cellPadding="0" width="100%" border="0">
81
 
                                                        <tr>
82
 
                                                                <td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td>
83
 
                                                                <td>&nbsp;</td>
84
 
                                                                <td id="tdName" width="100%" nowrap class="ActualFolder">/</td>
85
 
                                                                <td>&nbsp;</td>
86
 
                                                                <td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td>
87
 
                                                                <td>&nbsp;</td>
88
 
                                                        </tr>
89
 
                                                </table>
90
 
                                        </button>
91
 
                                </td>
92
 
                        </tr>
93
 
                </table>
94
 
        </body>
95
 
</html>