From 4c842dd8ca8d0aeea12854eacde483f999d40542 Mon Sep 17 00:00:00 2001 From: LiWinDom Date: Mon, 8 Jun 2020 16:46:18 +0300 Subject: [PATCH 1/2] Added "download" menu to dashboard Please translate to other languages *from localeEN ( $string["download"] = "Download"; $string["forWindows"] = "For Windows"; $string["forAndroid"] = "For Android"; $string["forMacos"] = "For MacOS"; ) --- dashboard/config.php | 9 +++++++++ dashboard/incl/dashboardLib.php | 27 +++++++++++++++++++++++++++ dashboard/incl/lang/localeEN.php | 5 +++++ 3 files changed, 41 insertions(+) create mode 100644 dashboard/config.php diff --git a/dashboard/config.php b/dashboard/config.php new file mode 100644 index 000000000..7feeaabd7 --- /dev/null +++ b/dashboard/config.php @@ -0,0 +1,9 @@ + \ No newline at end of file diff --git a/dashboard/incl/dashboardLib.php b/dashboard/incl/dashboardLib.php index 8fa2f16dd..dbb87547c 100644 --- a/dashboard/incl/dashboardLib.php +++ b/dashboard/incl/dashboardLib.php @@ -58,6 +58,7 @@ public function printNavbar($active){ $modActive = ""; $reuploadActive = ""; $statsActive = ""; + $downloadActive = ""; switch($active){ case "home": $homeActive = "active"; @@ -74,6 +75,9 @@ public function printNavbar($active){ case "stats": $statsActive = "active"; break; + case "download": + $downloadActive = "active"; + break; } echo '