/pigeoncms/Plugins/fckeditor/editor/filemanager/browser/default/frmactualfolder.html

http://pigeoncms.googlecode.com/ · HTML · 95 lines · 66 code · 7 blank · 22 comment · 0 complexity · 7f2b7703287bf7e1968d5c7aec220484 MD5 · raw file

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