From 31f2edbd2ac90acdc87234ebea4d4321bad944a4 Mon Sep 17 00:00:00 2001 From: mcguirepr89 Date: Sat, 29 Jan 2022 08:51:45 -0500 Subject: [PATCH] removed broked crontab editor and fixed permissions issue added a few new words to translation.json --- scripts/advanced.php | 21 +++++-------- scripts/config.php | 16 +++++----- scripts/edit_crontab.php | 46 ---------------------------- scripts/filemanager/filemanager.php | 9 ++++-- scripts/filemanager/translation.json | 27 ++++++++++++++++ scripts/install_services.sh | 2 -- scripts/update_services.sh | 3 -- 7 files changed, 48 insertions(+), 76 deletions(-) delete mode 100644 scripts/edit_crontab.php diff --git a/scripts/advanced.php b/scripts/advanced.php index dd7ffef..4ddd915 100644 --- a/scripts/advanced.php +++ b/scripts/advanced.php @@ -32,12 +32,9 @@ a { } .block { display: block; - font-weight: bold; - width:100%; + width:50%; border: none; - background-color: #04AA6D; - padding: 20px 20px; - color: white; + padding: 10px 10px; font-size: medium; cursor: pointer; text-align: center; @@ -124,9 +121,8 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {

-
-
- "> +?>
-
-
- - + +
+
diff --git a/scripts/config.php b/scripts/config.php index 68e55ef..3bdacc5 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -31,12 +31,9 @@ a { } .block { display: block; - font-weight: bold; - width:100%; + width:50%; border: none; - background-color: #04AA6D; - padding: 20px 20px; - color: white; + padding: 10px 10px; font-size: medium; cursor: pointer; text-align: center; @@ -143,7 +140,7 @@ if (file_exists('/home/pi/BirdNET-Pi/thisrun.txt')) {

- "> +?>
-
- + +
+
diff --git a/scripts/edit_crontab.php b/scripts/edit_crontab.php deleted file mode 100644 index 72b1616..0000000 --- a/scripts/edit_crontab.php +++ /dev/null @@ -1,46 +0,0 @@ -Moved.', htmlspecialchars($url)); - exit(); -} - -// read the textfile -$text = file_get_contents($file); - -?> - - - - -
- - -
- -
- diff --git a/scripts/filemanager/filemanager.php b/scripts/filemanager/filemanager.php index 2a6ada0..1db4bb8 100644 --- a/scripts/filemanager/filemanager.php +++ b/scripts/filemanager/filemanager.php @@ -12,7 +12,7 @@ $CONFIG = '{"lang":"en","error_reporting":false,"show_hidden":false,"hide_Cols": define('VERSION', '2.4.6'); //Application Title -define('APP_TITLE', 'Tiny File Manager'); +define('APP_TITLE', 'BirdNET-Pi Files'); // --- EDIT BELOW CONFIGURATION CAREFULLY --- @@ -3342,7 +3342,9 @@ function fm_show_nav_path($path) } ?>