From 89998a299cb72f88b33c9a2e3e48a45722745e63 Mon Sep 17 00:00:00 2001 From: Colin Fleming Date: Mon, 4 Feb 2013 20:41:40 +0000 Subject: Update HTML code in File Manager Tidy up the HTML code in File Manager, update the DOCTYPE to the correct definition, update the SCRIPT tags and misc. small updates. --- config/filemgr/file_manager.tmp | 219 ++++++++++++++++++++-------------------- 1 file changed, 109 insertions(+), 110 deletions(-) (limited to 'config/filemgr/file_manager.tmp') diff --git a/config/filemgr/file_manager.tmp b/config/filemgr/file_manager.tmp index 93d44a84..9699ec22 100644 --- a/config/filemgr/file_manager.tmp +++ b/config/filemgr/file_manager.tmp @@ -2,9 +2,12 @@ include "rbfminc/config.php"; //include "rbfminc/session.php"; require_once('config.inc'); - require("guiconfig.inc"); - include("head.inc"); - global $config; +require("guiconfig.inc"); + +$closehead = false; +include("head.inc"); + +global $config; if('ok' == 'ok'){ set_time_limit(1800); //30 min include "rbfminc/functions.php"; @@ -155,28 +158,22 @@ if('ok' == 'ok'){ } closedir($handle); }else{ - $error = "

Invalid directory

"; + $error = "

Invalid directory

"; } - $container .= " - +
- + - - - - - - + - + "; @@ -195,40 +192,40 @@ if('ok' == 'ok'){ $fileperms = GetFilePerms($current_folder.$v); if($url_path){ - $browser = "W"; + $browser = "\"W\""; if($url_field){ - $use_url = "U"; + $use_url = "\"U\""; }else{ - $use_url = "U"; + $use_url = "\"U\""; } }else{ $browser = " "; - $use_url = "U"; + $use_url = "\"U\""; } $container .= " - - + - - + + "; $id++; @@ -349,7 +346,7 @@ if('ok' == 'ok'){ $extension == 'css' or $extension == 'CSS' ){ - $edit_file_content = "Edit"; + $edit_file_content = "\"Edit\""; }else{ $edit_file_content = " "; } @@ -357,35 +354,35 @@ if('ok' == 'ok'){ $fileperms = GetFilePerms($current_folder.$v); if($url_path){ - $browser = "W"; + $browser = "\"W\""; if($url_field){ - $use_url = "U"; + $use_url = "\"U\""; }else{ - $use_url = "U"; + $use_url = "\"U\""; } }else{ $browser = " "; - $use_url = "U"; + $use_url = "\"U\""; } $container .= " - - + - - + + "; $id++; @@ -466,18 +463,14 @@ if('ok' == 'ok'){ ?> - - - - - - -File editor - - + + + + +
@@ -487,7 +480,7 @@ if('ok' == 'ok'){ go -
URL path:
+

URL path:
Upload a file in current folder: @@ -498,26 +491,26 @@ if('ok' == 'ok'){ -
- Create new folder here;   Folder name: - + +     Create new folder here; Folder name: + - -
[ OPEN IN BROWSER ]     - [ DOWNLOAD ]     - [ RENAME ]     - [ VIEW/EDIT ]     - [ DELETE ]
+ +
[ open OPEN IN BROWSER ]     + [ download DOWNLOAD ]     + [ rename RENAME ]     + [ view VIEW/EDIT ]     + [ delete DELETE ]
- + File: {$current_folder}{$_GET['f']}
-
+
@@ -532,15 +525,19 @@ if('ok' == 'ok'){ + "; } if($redirect){ echo " - "; } @@ -551,12 +548,14 @@ if($redirect){ - + + Login



   Name       Ext. Size Date Attributes
F\"F\" [..]
- Folder + \"Folder\" -
{$v}
- +
{$browser}   - Rename   - D    <DIR>{$last_updated_time}{$fileperms}{$last_updated_time}{$fileperms}
- File + + \"File\" -
{$v}
- +
{$browser} - Download\"Download\" - Rename {$edit_file_content} - D {$extension}{$extension} {$file_size}{$last_updated_time}{$fileperms}{$last_updated_time}{$fileperms}
+
@@ -593,4 +592,4 @@ body { \ No newline at end of file +?> -- cgit v1.2.3
Username: