diff --git a/README.md b/README.md
index 045e9ec..1549e3d 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
[![GitHub Release](https://img.shields.io/github/release/qubyte/rubidium.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/releases)
[![GitHub License](https://img.shields.io/github/license/prasathmani/tinyfilemanager.svg?style=flat-square)](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)
-> It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have PHP 5.5+ available.
+> It is a simple, fast and small file manager with single php file. It is also a web code editor. It'll run either online or locally, on Linux, Windows or Mac based platforms. The only requirement is to have **PHP 5.5+** available.
## Demo
[Demo](https://tinyfilemanager.github.io/demo/)
@@ -15,10 +15,10 @@
## Documents
-tinyfilemanager.github.io
+[TinyFileManager.github.io](https://tinyfilemanager.github.io/) | [Password Generater](https://tinyfilemanager.github.io/docs/pwd.html)
-
+[![Tiny File Manager](screenshot.gif)](screenshot.gif)
## Requirements
@@ -33,9 +33,9 @@ Download ZIP with latest version from master branch.
Just copy the tinyfilemanager.php to your webspace - thats all :)
You can also change the file name from "tinyfilemanager.php" to something else, you know what i meant for.
-Default username/password: admin/admin@123 and user/12345.
+Default username/password: **admin/admin@123** and **user/12345**.
-Warning: Please set your own username and password in `$auth_users` before use. password is encrypted with password_hash(). to generate new password hash here
+Warning: Please set your own username and password in `$auth_users` before use. password is encrypted with password_hash(). to generate new password hash [here](https://tinyfilemanager.github.io/docs/pwd.html)
To enable/disable authentication set `$use_auth` to true or false.
@@ -52,30 +52,29 @@ To enable/disable authentication set `$use_auth` to true or false.
### :loudspeaker: Features
-
-
:cd: Open Source, light and extremely simple
-
:iphone: Mobile friendly view for touch devices
-
:information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files
-
:arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload and file extensions filter
-
:file_folder: Ability to create folders and files
-
:gift: Ability to compress, extract files (zip, tar)
-
:sunglasses: Support user permissions - based on session and each user root folder mapping
-
:floppy_disk: Copy direct file URL
-
:pencil2: Cloud9 IDE - Syntax highlighting for over 90+ languages, Over 35+ themes with your favorite programming style
-
-
:page_facing_up: Google Drive viewer helps you preview PDF/DOC/XLS/PPT/etc. 25 MB can be previewed with the Google Drive viewer
-
:zap: Backup files
-
:mag_right: Search - Search and Sorting using datatable js
-
:file_folder: Exclude folders from listing
-
:globe_with_meridians: Multi-language support (English, French, Italian, Russian, German)
-
:bangbang: lots more...
-
+
+- :cd: Open Source, light and extremely simple
+- :iphone: Mobile friendly view for touch devices
+- :information_source: Basic features likes Create, Delete, Modify, View, Download, Copy and Move files
+- :arrow_double_up: Ajax Upload, Ability to drag & drop, upload from URL, multiple files upload and file extensions filter
+- :file_folder: Ability to create folders and files
+- :gift: Ability to compress, extract files (`zip`, `tar`)
+- :sunglasses: Support user permissions - based on session and each user root folder mapping
+- :floppy_disk: Copy direct file URL
+- :pencil2: Cloud9 IDE - Syntax highlighting for over `150+` languages, Over `35+` themes with your favorite programming style
+- :page_facing_up: Google Drive viewer helps you preview `PDF/DOC/XLS/PPT/etc`. 25 MB can be previewed with the Google Drive viewer
+- :zap: Backup files
+- :mag_right: Search - Search and Sorting using `datatable js`
+- :file_folder: Exclude folders from listing
+- :globe_with_meridians: Multi-language support (English, Spanish, French, Italian, German, Russian, Thailand and Chinese ) for translations `translation.json` is file required
+- :bangbang: lots more...
+
### License, Credit
- Available under the [GNU license](https://github.com/prasathmani/tinyfilemanager/blob/master/LICENSE)
- Original concept and development by github.com/alexantr/filemanager
-- CDN Used - jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js
+- CDN Used - _jQuery, Bootstrap, Font Awesome, Highlight js, ace js, DropZone js, DataTable js_
- To report a bug or request a feature, please file an [issue](https://github.com/prasathmani/tinyfilemanager/issues)
- We hope our tools will be helpful for you. If you find Tiny File Manager useful for your personal or commercial projects, Help me out for a couple of
[![Beerpay](https://beerpay.io/prasathmani/tinyfilemanager/badge.svg?style=flat-square)](https://beerpay.io/prasathmani/tinyfilemanager)
diff --git a/tinyfilemanager.php b/tinyfilemanager.php
index 9ab5fc1..01a8591 100644
--- a/tinyfilemanager.php
+++ b/tinyfilemanager.php
@@ -3,11 +3,14 @@
$CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false}';
/**
- * H3K | Tiny File Manager V2.2.1
+ * H3K | Tiny File Manager V2.3
* CCP Programmers | ccpprogrammers@gmail.com
* https://tinyfilemanager.github.io
*/
+//TFM version
+define('VERSION', '2.3');
+
// Auth with login/password (set true/false to enable/disable it)
$use_auth = true;
@@ -67,9 +70,6 @@ $GLOBALS['online_viewer'] = true;
//Sticky Nav bar
$sticky_navbar = true;
-//TFM version
-define('VERSION', '2.2.1');
-
// private key and session name to store to the session
if ( !defined( 'FM_SESSION_ID')) {
define('FM_SESSION_ID', 'filemanager');
@@ -89,13 +89,7 @@ $report_errors = isset($cfg->data['error_reporting']) ? $cfg->data['error_report
//available languages
$lang_list = array(
- 'en' => 'English',
- 'fr' => 'Français',
- 'it' => 'Italiano',
- 'ru' => 'Russian',
- 'es' => 'Español',
- 'th' => 'ภาษาไทย',
- 'de' => 'German'
+ 'en' => 'English'
);
//--- EDIT BELOW CAREFULLY OR DO NOT EDIT AT ALL
@@ -304,6 +298,7 @@ if (isset($_POST['ajax']) && !FM_READONLY) {
if (isset($_POST['type']) && $_POST['type'] == "settings") {
global $cfg, $lang, $report_errors, $show_hidden_files, $lang_list;
$newLng = $_POST['js-language'];
+ fm_get_translations();
if (!array_key_exists($newLng, $lang_list)) {
$newLng = 'en';
}
@@ -1116,7 +1111,7 @@ if (isset($_GET['settings']) && !FM_READONLY) {
-
+
@@ -1132,7 +1127,7 @@ if (isset($_GET['settings']) && !FM_READONLY) {
if (isset($_GET['help'])) {
fm_show_header(); // HEADER
fm_show_nav_path(FM_PATH); // current path
- global $cfg, $lang, $lang_list;
+ global $cfg, $lang;
?>