From 698cce0b658778cd843bab7783752d9755ac3fcb Mon Sep 17 00:00:00 2001 From: jaredb7 Date: Sat, 1 Apr 2023 21:46:06 +1000 Subject: [PATCH 01/16] Update config.php Fix the request URL used to restart php once the settings have been saved --- scripts/config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/config.php b/scripts/config.php index f758dbd..1d782ec 100644 --- a/scripts/config.php +++ b/scripts/config.php @@ -82,7 +82,7 @@ if(isset($_GET["latitude"])){ echo ""; } From 2efc15eb94fae2645fccd808fcf9002c653370c1 Mon Sep 17 00:00:00 2001 From: jaredb7 Date: Sat, 1 Apr 2023 21:50:51 +1000 Subject: [PATCH 02/16] Some element tag fixes and added a link to the recording when on mobile On mobile a new icon has been added to allow the user to jump to the detection's recording. Allowing the user listed to the recording as no playback controls are available when on mobile. This is the same function available for the most recent recording --- scripts/todays_detections.php | 32 +++++++++++++++++++++++++------- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index d81653a..69f1e29 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -213,7 +213,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { $_SESSION['images'] = []; } $iterations = 0; - $lines; + $lines=null; $licenses_urls = array(); if (file_exists('./scripts/thisrun.txt')) { @@ -324,7 +324,8 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { -
+
+
0) { ?> @@ -332,14 +333,31 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) {
- href="https://allaboutbirds.org/guide/" target="top">
- href="https://wikipedia.org/wiki/" target="top">
-
+ href="https://allaboutbirds.org/guide/" target="top"> + +
+ + ' + + + +
+ href="https://wikipedia.org/wiki/" target="top">
+ + + Confidence:
-