mirror of
https://github.com/icecoder/ICEcoder.git
synced 2026-03-02 23:03:59 +01:00
rename get-tree to get-branch
This commit is contained in:
@@ -31,7 +31,7 @@ if ($serverType=="Linux") {
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
include("lib/get-tree.php");
|
||||
include("lib/get-branch.php");
|
||||
?>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -383,11 +383,11 @@ var ICEcoder = {
|
||||
var node = dir.parentNode;
|
||||
if (node.nextSibling) {node = node.nextSibling};
|
||||
if (load) {
|
||||
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-tree.php?location="+dir.childNodes[1].id;
|
||||
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-branch.php?location="+dir.childNodes[1].id;
|
||||
} else if (node && node.tagName=="UL") {
|
||||
var d = node.style.display=="none";
|
||||
if (d) {
|
||||
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-tree.php?location="+dir.childNodes[1].id;
|
||||
top.ICEcoder.filesFrame.contentWindow.frames['fileControl'].location.href = "lib/get-branch.php?location="+dir.childNodes[1].id;
|
||||
}
|
||||
node.style.display = d ? "block" : "none";
|
||||
dir.parentNode.className=dir.className = d ? "pft-directory dirOpen" : "pft-directory";
|
||||
|
||||
Reference in New Issue
Block a user