diff --git a/lib/get-branch.php b/lib/get-branch.php index 6ff0112..7167d4c 100644 --- a/lib/get-branch.php +++ b/lib/get-branch.php @@ -10,13 +10,12 @@ $lastPath=""; $fileCount=0; $fileBytes=0; $dirCount=0; -?> -
-'; $location = str_replace("|","/",$_GET['location']); } @@ -55,22 +54,19 @@ for ($i=0;$i\n"; } } - $fileAtts = ""; - if ($serverType=="Linux") { - $chmodInfo = substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3); - $fileAtts = ''.$chmodInfo.''; - } $type == "folder" ? $class = 'pft-directory' : $class = 'pft-file '.strtolower($ext); $loadParam = $type == "folder" ? "true" : "false"; - echo "
  •         ".basename($fileFolderName)." ".$fileAtts."\n"; + echo "
  •         ".basename($fileFolderName)." "; + echo ''; + echo $serverType=="Linux" ? substr(sprintf('%o', fileperms($docRoot.$iceRoot.$fileFolderName)), -3) : ''; + echo "\n"; if ($i\n";} $lastPath = $fileFolderName; } -?> -
  • - +