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" src="js/safeFN_class.js"></script> 30 <script type="text/javascript"> 31// Automatically detect the correct document.domain (#1919). 32(function() 33{ 34 var d = document.domain ; 35 36 while ( true ) 37 { 38 // Test if we can access a parent property. 39 try 40 { 41 var test = window.top.opener.document.domain ; 42 break ; 43 } 44 catch( e ) 45 {} 46 47 // Remove a domain part: www.mytest.example.com => mytest.example.com => example.com ... 48 d = d.replace( /.*?(?:\.|$)/, '' ) ; 49 50 if ( d.length == 0 ) 51 break ; // It was not able to detect the domain. 52 53 try 54 { 55 document.domain = d ; 56 } 57 catch (e) 58 { 59 break ; 60 } 61 } 62})() ; 63 64function SetCurrentFolder( resourceType, folderPath ) 65{ 66 var DwikiFNencode = parent.DwikiFNencode; 67 68// document.getElementById('tdName').innerHTML = folderPath ; 69 document.getElementById('tdName').innerHTML = dwikiUTF8_decodeFN(folderPath,DwikiFNencode) ; 70} 71 72window.onload = function() 73{ 74 window.top.IsLoadedActualFolder = true ; 75} 76 77 </script> 78 </head> 79 <body> 80 <table class="fullHeight" cellSpacing="0" cellPadding="0" width="100%" border="0"> 81 <tr> 82 <td> 83 <button style="WIDTH: 100%" type="button" class="FileBrowserTopButton" > 84 <table cellSpacing="0" cellPadding="0" width="100%" border="0"> 85 <tr> 86 <td><img height="32" alt="" src="images/FolderOpened32.gif" width="32"></td> 87 <td> </td> 88 <td id="tdName" width="100%" nowrap class="ActualFolder">/</td> 89 <td> </td> 90 <td><img height="8" src="images/ButtonArrow.gif" width="12" alt=""></td> 91 <td> </td> 92 </tr> 93 </table> 94 </button> 95 </td> 96 </tr> 97 </table> 98 </body> 99</html> 100