<?php /*************************************************************** * Copyright notice * * (c) 2003-2004 Tobias Bender (tobias@phpXplorer.org) * All rights reserved * * This script is part of the phpXplorer project. The phpXplorer project is * free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * The GNU General Public License can be found at * http://www.gnu.org/copyleft/gpl.html. * A copy is found in the textfile GPL.txt distributed with these scripts. * * This script is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ require(dirname(__FILE__) . "/tree_jsTree_readDir.php"); ?> <html> <head> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <title>Treeview</title> <link rel="stylesheet" type="text/css" href="<?php echo $PXP_url ?>/styles/<?php echo $PXP_style ?>/main.css"/> <link rel="stylesheet" type="text/css" href="<?php echo $GC_jsTree_URL ?>/jsTree.css"/> <style type="text/css"> <!-- --> </style> <script type="text/javascript" src="<?php echo $GC_jsTree_URL ?>/jsTree.js"></script> <script type="text/javascript"> <!-- function changeDir(href){ parent.frames["basefrm"].changeDir(href) } var jst_id = "phpXplorer" var jst_container = "document.getElementById('treeContainer')" var jst_caption = "/" var jst_caption_info = ["javascript:changeDir('')"] var jst_image_folder = "<?php echo $GC_jsTree_URL ?>/images" var jst_reloading = <?php echo $PXP_tree_reload ? "true\n" : "false\n" ?> var jst_reload_script = "<?php echo "tree_jsTree_reload.php?shareId=" . $shareId ?>" var jst_expandAll_warning = "<?php echo $PXP_languages[$PXP_language]['expandAllWarning'] ?>" var arrNodes = [ ['/', ['javascript:changeDir("")'],<?php echo readDirectory($PXP_basedir, $PXP_tree_reload) ?>] ] //--> </script> </head> <body onLoad="renderTree()"> <div id="treeContainer"></div> <iframe name="reLoader" style="position:absolute;top:-888;left:-888"></iframe> </body> </html>