From 72edcc692b65945f4ce7cee0e391070d40263fa3 Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Wed, 27 Jun 2012 20:53:10 +0100 Subject: [PATCH] Dir size, chmod, perms update, hiding info Return false on context menu Show dir size if it's a dir Hiding read/write info and absolute path if not logged in Clarified by renaming relative path & absolute path Permisions table to show checkboxes according to value Input field & checkboxes linked, perm value established on changing value Simple validation carried out before you can submit Submit calls the chmod function which starts the process of change --- lib/file-folder-properties.php | 120 ++++++++++++++++++++++++++++++--- 1 file changed, 111 insertions(+), 9 deletions(-) diff --git a/lib/file-folder-properties.php b/lib/file-folder-properties.php index 9e3f571..26e454f 100644 --- a/lib/file-folder-properties.php +++ b/lib/file-folder-properties.php @@ -1,7 +1,7 @@ - + ICE Coder - <?php echo $versionNo;?> :: File/Folder Properties @@ -16,8 +16,14 @@ $fileName=str_replace("|","/",strClean($_GET['fileName'])); ?>


-Size: Size: = 1024) { echo number_format($outputSize, 2, '.', '').$outputUnit." (".number_format($bytes)." bytes)"; ?> Modified: -Last Accessed: +Last access:

-Type: -Readable / Writeable: / -Root path: +Type: +Readable / Writeable: / +Relative path:

-Full path:
+Absolute path:


- + Permissions: + + + + + + + + + + + + + + + + + +
OwnerGroupPublic
onClick="changePerms();showButton()"> Read onClick="changePerms();showButton()"> Read onClick="changePerms();showButton()"> Read
onClick="changePerms();showButton()"> Write onClick="changePerms();showButton()"> Write onClick="changePerms();showButton()"> Write
onClick="changePerms();showButton()"> Execute onClick="changePerms();showButton()"> Execute onClick="changePerms();showButton()"> Execute
+ +Change to:
+
+ +
+
+ +
update
+ +