瀏覽代碼

fix path for thumb

tags/1.5
Nico Rey 4 年之前
父節點
當前提交
3122671bb8
共有 2 個文件被更改,包括 2 次插入2 次删除
  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 查看文件

@@ -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 查看文件

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


Loading…
取消
儲存