diff --git a/scripts/overview.php b/scripts/overview.php index 9cf96d4..2f55b52 100644 --- a/scripts/overview.php +++ b/scripts/overview.php @@ -309,8 +309,8 @@ body::-webkit-scrollbar {
- +

@@ -349,7 +349,7 @@ body::-webkit-scrollbar { function setModalText(iter, title, text, authorlink, photolink, licenseurl) { document.getElementById('modalHeading').innerHTML = "Photo: \""+decodeURIComponent(title.replaceAll("+"," "))+"\" Attribution"; - document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; + document.getElementById('modalText').innerHTML = "

Image link: "+text+"
Author link: "+authorlink+"
License URL: "+licenseurl+"
"; last_photo_link = text; showDialog(); } @@ -495,6 +495,7 @@ window.setInterval(function(){ \ No newline at end of file + diff --git a/scripts/todays_detections.php b/scripts/todays_detections.php index 69f1e29..f129dd4 100644 --- a/scripts/todays_detections.php +++ b/scripts/todays_detections.php @@ -230,6 +230,7 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { $comname = preg_replace('/ /', '_', $todaytable['Com_Name']); $comname = preg_replace('/\'/', '_', $comname); $filename = "/By_Date/".date('Y-m-d')."/".$comname."/".$todaytable['File_Name']; + $filename_formatted = $todaytable['Date']."/".$comname."/".$todaytable['File_Name']; $sciname = preg_replace('/ /', '_', $todaytable['Sci_Name']); $args = "&license=2%2C3%2C4%2C5%2C6%2C9&orientation=square,portrait"; $comnameprefix = "%20bird"; @@ -308,7 +309,9 @@ if(isset($_GET['ajax_detections']) && $_GET['ajax_detections'] == "true" ) { ?> - + + +
@@ -419,8 +422,8 @@ die();
- +

@@ -431,6 +434,25 @@ die();