Sfoglia il codice sorgente

fix breaks

tags/v1.7
Nico Rey 3 anni fa
parent
commit
cf89a9ab21
2 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. +2
    -0
      templates/webpanel/Model/Conn.php
  2. +2
    -0
      templates/webpanel/Views/V_viewLastImages.php

+ 2
- 0
templates/webpanel/Model/Conn.php Vedi File

@@ -53,12 +53,14 @@
switch($pass['sat_type']) {
case 0:
$ending = "-122-rectified.jpg";
break;
case 1:
if ($pass['daylight_pass'] == 1) {
$enhacements = ['-ZA.jpg','-MCIR.jpg','-MCIR-precip.jpg','-MSA.jpg','-MSA-precip.jpg','-HVC.jpg','-HVC-precip.jpg','-HVCT.jpg','-HVCT-precip.jpg'];
} else {
$enhacements = ['-ZA.jpg','-MCIR.jpg','-MCIR-precip.jpg'];
}
break;
}
return $enhacements;
}


+ 2
- 0
templates/webpanel/Views/V_viewLastImages.php Vedi File

@@ -23,8 +23,10 @@
switch($image['sat_type']) {
case 0:
$ending = "-122-rectified.jpg";
break;
case 1:
$ending = "-MCIR.jpg";
break;
}
echo "<td><div id =\"satimgdiv\"><a href=". "detail.php?id=" . $image['id'] ."><img id=\"satimg\" src=". $baseurl . "thumb/" . $image['file_path'] . $ending ."></img></a></div>";
echo "<ul><li>". $image['sat_name'] ."</li>";


Caricamento…
Annulla
Salva