Ver a proveniência

fix breaks

tags/v1.7
Nico Rey há 3 anos
ascendente
cometimento
cf89a9ab21
2 ficheiros alterados com 4 adições e 0 eliminações
  1. +2
    -0
      templates/webpanel/Model/Conn.php
  2. +2
    -0
      templates/webpanel/Views/V_viewLastImages.php

+ 2
- 0
templates/webpanel/Model/Conn.php Ver ficheiro

@@ -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 Ver ficheiro

@@ -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>";


Carregando…
Cancelar
Guardar