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