From df7c02eb588a9a5f4b14401ea9bde564132b4e0e Mon Sep 17 00:00:00 2001 From: Tom Schaefer Date: Mon, 26 Jul 2010 11:55:01 -0400 Subject: Add filemgr package new file: config/filemgr/file_manager.tmp new file: config/filemgr/filemgr.inc new file: config/filemgr/filemgr.xml new file: config/filemgr/index.tmp new file: config/filemgr/rbfmimg/bg_footer.png new file: config/filemgr/rbfmimg/bg_header.png new file: config/filemgr/rbfmimg/bg_page.png new file: config/filemgr/rbfmimg/file_editor_bg.png new file: config/filemgr/rbfmimg/folder.png new file: config/filemgr/rbfmimg/folder_go.png new file: config/filemgr/rbfmimg/folder_up.png new file: config/filemgr/rbfmimg/go.png new file: config/filemgr/rbfmimg/ico_delete.png new file: config/filemgr/rbfmimg/ico_download.png new file: config/filemgr/rbfmimg/ico_file.png new file: config/filemgr/rbfmimg/ico_html.png new file: config/filemgr/rbfmimg/ico_open_as_web.png new file: config/filemgr/rbfmimg/ico_php.png new file: config/filemgr/rbfmimg/ico_picture.png new file: config/filemgr/rbfmimg/ico_rename.png new file: config/filemgr/rbfmimg/ico_script_edit.png new file: config/filemgr/rbfmimg/ico_use_file.png new file: config/filemgr/rbfmimg/ico_use_file_inactive.png new file: config/filemgr/rbfmimg/index.html new file: config/filemgr/rbfmimg/new.png new file: config/filemgr/rbfminc/config.tmp new file: config/filemgr/rbfminc/download.tmp new file: config/filemgr/rbfminc/file_editor_style.css new file: config/filemgr/rbfminc/functions.tmp new file: config/filemgr/rbfminc/index.html new file: config/filemgr/rbfminc/rename.tmp new file: config/filemgr/rbfminc/session.tmp modified: pkg_config.7.xml modified: pkg_config.8.xml new file: pkg_config.8.xml.amd64~ --- config/filemgr/rbfminc/config.tmp | 95 ++++++++++++++ config/filemgr/rbfminc/download.tmp | 22 ++++ config/filemgr/rbfminc/file_editor_style.css | 148 +++++++++++++++++++++ config/filemgr/rbfminc/functions.tmp | 189 +++++++++++++++++++++++++++ config/filemgr/rbfminc/index.html | 0 config/filemgr/rbfminc/rename.tmp | 38 ++++++ config/filemgr/rbfminc/session.tmp | 32 +++++ 7 files changed, 524 insertions(+) create mode 100644 config/filemgr/rbfminc/config.tmp create mode 100644 config/filemgr/rbfminc/download.tmp create mode 100644 config/filemgr/rbfminc/file_editor_style.css create mode 100644 config/filemgr/rbfminc/functions.tmp create mode 100644 config/filemgr/rbfminc/index.html create mode 100644 config/filemgr/rbfminc/rename.tmp create mode 100644 config/filemgr/rbfminc/session.tmp (limited to 'config/filemgr/rbfminc') diff --git a/config/filemgr/rbfminc/config.tmp b/config/filemgr/rbfminc/config.tmp new file mode 100644 index 00000000..47a7563a --- /dev/null +++ b/config/filemgr/rbfminc/config.tmp @@ -0,0 +1,95 @@ +Security issue: Please change your username or password"; +//} +$security_issues = "
"; +?> \ No newline at end of file diff --git a/config/filemgr/rbfminc/download.tmp b/config/filemgr/rbfminc/download.tmp new file mode 100644 index 00000000..232e90d0 --- /dev/null +++ b/config/filemgr/rbfminc/download.tmp @@ -0,0 +1,22 @@ + \ No newline at end of file diff --git a/config/filemgr/rbfminc/file_editor_style.css b/config/filemgr/rbfminc/file_editor_style.css new file mode 100644 index 00000000..93b34ca7 --- /dev/null +++ b/config/filemgr/rbfminc/file_editor_style.css @@ -0,0 +1,148 @@ +@charset "utf-8"; +/* CSS Document */ + +body,td,th { + font-family: Arial, Helvetica, sans-serif; + + color: #000000; +} + +body { + background-color: #999999; +} + +img { + vertical-align: middle; +} +.file_editor { + width: 710px; + /*height: 410px;*/ + margin: 0px auto; + padding: 0px; + background: url(../rbfmimg/bg_page.png) repeat-y center top; +} +.file_editor .header { + height: 35px; + margin: 0px 0px 3px; + padding: 0px; + background: url(../rbfmimg/bg_header.png) repeat-y center top; +} +.file_editor .footer { + background: url(../rbfmimg/bg_footer.png) no-repeat center bottom; + height: 12px; +} +.file_editor .header .close { + width: 41px; + height: 17px; + margin: 5px 0px 0px 645px; + padding: 0px; + cursor:pointer; +} +.file_editor #path { + margin: 0px auto; + padding: 0px; + width: 670px; + height: 20px; +} +.file_editor #path #location { + width: 625px; + vertical-align: middle; + border-top: 1px solid #878787; + border-right: 1px solid #878787; + border-bottom: 1px solid #878787; + border-left: 2px solid #878787; + padding-left: 2px; +} +.file_editor #path #go { + vertical-align: middle; + cursor:pointer; +} +.file_editor .container { + margin: 5px auto; + padding: 5px; + height: 280px; + overflow: auto; + position: relative; + border: 1px solid #878787; + width: 670px; +} +.file_editor .container .list tr td{ + cursor: default; + white-space: nowrap; + padding-right: 5px; + height: 20px; + text-align: left; + vertical-align: top; + padding-left: 5px; +} +.file_editor .container .list tr th{ + cursor: default; + text-align: left; + background: #f0f0f0; +} +.file_editor .container .list tr{ + background: #FFFFFF; +} +.file_editor .container .list tr:hover { + background: #9AE6FC; +} +.rename_field { + display:none; + margin: 0px; + padding: 0px; +} +.rename_field .input_name { + background: #FFFFFF; + width: 99%; + border-top: 1px solid #666666; + border-right: 1px solid #CCCCCC; + border-bottom: 1px solid #CCCCCC; + border-left: 1px solid #666666; + margin: 0px; + padding: 0px; + font: 11px Arial, Helvetica, sans-serif; +} +.column1 { + margin: 0px; + padding: 0px; + height: 20px; + width: 16px; +} +.file_editor .results { + height: 0px; + display: none; + width: 0px; + border-top: none; + border-right: none; + border-bottom: none; + border-left: none; + margin: 0px; + padding: 0px; +} +.fileperms{ + font-family: "Courier New", Courier, monospace; +} +.form_upload{ + display: block; + padding: 5px; + background: #C6EBFD; + text-align: left; + border: 1px solid #878787; + width: 670px; + margin: 3px auto; +} +.form_upload input{ + vertical-align: middle; +} +.url_path { + margin-left: 20px; +} +.file_editor .header .logout { + float: right; + margin-top: 5px; + padding-right: 15px; + color: #FF0000; +} +.file_editor .header .logout a{ + color: #FF0000; +} diff --git a/config/filemgr/rbfminc/functions.tmp b/config/filemgr/rbfminc/functions.tmp new file mode 100644 index 00000000..f06ee69c --- /dev/null +++ b/config/filemgr/rbfminc/functions.tmp @@ -0,0 +1,189 @@ + 'image/jpeg', + 'gif' => 'image/gif', + 'png' => 'image/png', + 'bmp' => 'image/bmp', + 'tif|tiff' => 'image/tiff', + 'ico' => 'image/x-icon', + 'asf|asx|wax|wmv|wmx' => 'video/asf', + 'avi' => 'video/avi', + 'mov|qt' => 'video/quicktime', + 'mpeg|mpg|mpe' => 'video/mpeg', + 'txt|c|cc|h' => 'text/plain', + 'rtx' => 'text/richtext', + 'css' => 'text/css', + 'htm|html' => 'text/html', + 'php|php3|' => 'application/php', + 'mp3|mp4' => 'audio/mpeg', + 'ra|ram' => 'audio/x-realaudio', + 'wav' => 'audio/wav', + 'ogg' => 'audio/ogg', + 'mid|midi' => 'audio/midi', + 'wma' => 'audio/wma', + 'rtf' => 'application/rtf', + 'js' => 'application/javascript', + 'pdf' => 'application/pdf', + 'doc' => 'application/msword', + 'pot|pps|ppt' => 'application/vnd.ms-powerpoint', + 'wri' => 'application/vnd.ms-write', + 'xla|xls|xlt|xlw' => 'application/vnd.ms-excel', + 'mdb' => 'application/vnd.ms-access', + 'mpp' => 'application/vnd.ms-project', + 'swf' => 'application/x-shockwave-flash', + 'class' => 'application/java', + 'tar' => 'application/x-tar', + 'zip' => 'application/zip', + 'gz|gzip' => 'application/x-gzip', + 'exe' => 'application/x-msdownload', + // openoffice formats + 'odt' => 'application/vnd.oasis.opendocument.text', + 'odp' => 'application/vnd.oasis.opendocument.presentation', + 'ods' => 'application/vnd.oasis.opendocument.spreadsheet', + 'odg' => 'application/vnd.oasis.opendocument.graphics', + 'odc' => 'application/vnd.oasis.opendocument.chart', + 'odb' => 'application/vnd.oasis.opendocument.database', + 'odf' => 'application/vnd.oasis.opendocument.formula', + + )); + + $type = false; + $ext = false; + + foreach ($mimes as $ext_preg => $mime_match) { + $ext_preg = '!\.(' . $ext_preg . ')$!i'; + if ( preg_match($ext_preg, $filename, $ext_matches) ) { + $type = $mime_match; + $ext = $ext_matches[1]; + break; + } + } + + return compact('ext', 'type'); +} + + + +function roundsize($size){ + $i=0; + $iec = array("B", "Kb", "Mb", "Gb", "Tb"); + while (($size/1024)>1) { + $size=$size/1024; + $i++;} + return(round($size,1)." ".$iec[$i]); +} + +?> \ No newline at end of file diff --git a/config/filemgr/rbfminc/index.html b/config/filemgr/rbfminc/index.html new file mode 100644 index 00000000..e69de29b diff --git a/config/filemgr/rbfminc/rename.tmp b/config/filemgr/rbfminc/rename.tmp new file mode 100644 index 00000000..6d56c449 --- /dev/null +++ b/config/filemgr/rbfminc/rename.tmp @@ -0,0 +1,38 @@ + + +Rename + + + + + + \ No newline at end of file diff --git a/config/filemgr/rbfminc/session.tmp b/config/filemgr/rbfminc/session.tmp new file mode 100644 index 00000000..8f3a666e --- /dev/null +++ b/config/filemgr/rbfminc/session.tmp @@ -0,0 +1,32 @@ + \ No newline at end of file -- cgit v1.2.3