diff --git a/editor.php b/editor.php index e632f91..a806335 100644 --- a/editor.php +++ b/editor.php @@ -36,7 +36,7 @@ $activeLineBG = array_search($ICEcoder["theme"],array("eclipse","elegant","neat" - +
Click logo
for help &
usage info
@@ -75,8 +75,6 @@ $activeLineBG = array_search($ICEcoder["theme"],array("eclipse","elegant","neat" } } ;?> - File & folder count:
-



diff --git a/files.php b/files.php index 7023bd2..4fd2af7 100644 --- a/files.php +++ b/files.php @@ -20,18 +20,6 @@ include("lib/get-branch.php"); ?> -\n"; -echo "top.ICEcoder.dirCount="; -echo $dirCount ? $dirCount : "0"; -echo ";\ntop.ICEcoder.fileCount="; -echo $fileCount ? $fileCount : "0"; -echo ";\ntop.ICEcoder.fileBytes="; -echo $fileBytes ? $fileBytes : "0"; -echo ";\n"; -?> - diff --git a/lib/get-branch.php b/lib/get-branch.php index 1f48150..793431d 100644 --- a/lib/get-branch.php +++ b/lib/get-branch.php @@ -6,9 +6,6 @@ if (!isset($ICEcoder['root'])) { if (!$_SESSION['loggedIn']) { header("Location: ../"); } -$fileCount=0; -$fileBytes=0; -$dirCount=0; // If we're just getting a branch, get that and set as the finalArray $scanDir = $docRoot.$iceRoot; @@ -38,9 +35,7 @@ $finalArray = array_merge($dirArray,$filesArray); for ($i=0;$i 1 ? "folders" : "folder"; - fileText = top.ICEcoder.fileCount > 1 ? "files" : "file"; - // Change into kilobytes - unitSize = Math.ceil(top.ICEcoder.fileBytes/1024); - unitText = "kb"; - // Maybe we should show in megabytes? - if (unitSize >= 1024) { - unitSize = (unitSize / 1024).toFixed(2); - unitText = "mb"; - } - // Update the display - dContainer = top.ICEcoder.content.contentWindow.document.getElementById('fileFolderCounts'); - if (dContainer) { - dContainer.innerHTML = top.ICEcoder.fileCount+" "+fileText+", "+top.ICEcoder.dirCount+" "+dirText+"
~ "+unitSize+" "+unitText; - } - }, - // Toggle full screen on/off fullScreenSwitcher: function() { // Future use