Sfoglia il codice sorgente

fix path for thumb

tags/1.5
Nico Rey 4 anni fa
parent
commit
3122671bb8
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. +1
    -1
      templates/webpanel/Views/V_viewLastImage.php
  2. +1
    -1
      templates/webpanel/Views/V_viewLastImages.php

+ 1
- 1
templates/webpanel/Views/V_viewLastImage.php Vedi File

@@ -8,7 +8,7 @@
echo "<tr>";
$col_count=1;
}
echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . "/" . $image['file_path'] ."><img id=\"satimg\" src=". $baseurl . "/thumb/" . $image['file_path'] ."></img></a></div>";
echo "<td><div id =\"satimgdiv\"><a href=". $baseurl . $image['file_path'] ."><img id=\"satimg\" src=". $baseurl . "thumb/" . $image['file_path'] ."></img></a></div>";
echo "<ul><li>". $image['sat_name'] ."</li>";
echo "<li>". date('d/m/Y H:i:s', $image['pass_start']) ."</li></ul></td>";
if($col_count==3) {


+ 1
- 1
templates/webpanel/Views/V_viewLastImages.php Vedi File

@@ -25,7 +25,7 @@
} else {
$ending = "-122-rectified.jpg";
}
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 "<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>";
echo "<li> " . $lang['elev'] . ": ". $image['max_elev'] ."°</li>";
echo "<li>". date('d/m/Y H:i:s', $image['pass_start']) ."</li></ul></td>";


Caricamento…
Annulla
Salva