From 69e9d9fcf6c8bf8106dfd0c2c61552665080a967 Mon Sep 17 00:00:00 2001 From: Agent Smith <67276662+AgentSmith0@users.noreply.github.com> Date: Mon, 2 Aug 2021 09:45:23 +0200 Subject: [PATCH] Code refactoring --- tinyfilemanager.php | 578 ++++++++++++++++++++------------------------ 1 file changed, 263 insertions(+), 315 deletions(-) diff --git a/tinyfilemanager.php b/tinyfilemanager.php index fb79563..e7abe22 100644 --- a/tinyfilemanager.php +++ b/tinyfilemanager.php @@ -297,7 +297,7 @@ if ($use_auth) {
-
+

- +
- +
- +
@@ -338,7 +338,7 @@ if ($use_auth) {
@@ -1185,11 +1185,11 @@ if (isset($_GET['upload']) && !FM_READONLY) {
-
+

- - : + + :

-
- - + + +
@@ -1214,7 +1214,7 @@ if (isset($_GET['upload']) && !FM_READONLY) { - +
@@ -1226,8 +1226,8 @@ if (isset($_GET['upload']) && !FM_READONLY) { @@ -3502,8 +3454,7 @@ global $lang, $root_url, $favicon_path; /** * Show Header after login */ -function fm_show_header() -{ +function fm_show_header() { $sprites_ver = '20160315'; header("Content-Type: text/html; charset=utf-8"); header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); @@ -3523,12 +3474,12 @@ $isStickyNavBar = $sticky_navbar ? 'navbar-fixed' : 'navbar-normal'; '; } ?> - <?php echo fm_enc(APP_TITLE) ?> + <?=fm_enc(APP_TITLE);?> - + - "> + ">