From 4a804e71df0fffb6ca291a6597034e08acd5b37b Mon Sep 17 00:00:00 2001 From: Matt Pass Date: Thu, 5 Apr 2012 07:40:58 +0100 Subject: [PATCH] Interaction improvements via CSS and alternate functions Pointing mouse over file manager icons now shows a CSS pointer cursor On click of the HTML tag, selectFileFolder function is called, rather than just hide context menu Calling this from HTML rather than body tag now This in turn means the whole line for a file isn't clickable, just the name --- files.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/files.php b/files.php index 4fa9550..1bc9f1c 100644 --- a/files.php +++ b/files.php @@ -95,7 +95,7 @@ function fileManager_dir($directory, $return_link, $first_call=true) { $fileManager .= fileManager_dir("$directory/$this_file", $return_link , false); $fileManager .= ""; } else { - $fileManager .= "
  •         [HIDDEN] ".$fileAtts."
  • "; + $fileManager .= "
  •         [HIDDEN] ".$fileAtts."
  • "; } } else { // File @@ -117,7 +117,7 @@ function fileManager_dir($directory, $return_link, $first_call=true) { $chmodInfo = substr(sprintf('%o', fileperms($link)), -4); $fileAtts = ''.$chmodInfo.''; } - $fileManager .= "
  •         " . htmlspecialchars($this_file) . " ".$fileAtts."
  • "; + $fileManager .= "
  •         " . htmlspecialchars($this_file) . " ".$fileAtts."
  • "; } else { $fileAtts = ""; $fileManager .= "
  •         [HIDDEN] ".$fileAtts."
  • "; @@ -142,14 +142,14 @@ function php4_scandir($dir) { ?> - + ICE Coder File Manager - +