diff options
author | Mathias Mayrhofer <mtmayr@mtmayr.com> | 2020-02-23 15:07:41 +0100 |
---|---|---|
committer | Mathias Mayrhofer <mtmayr@mtmayr.com> | 2020-02-23 15:07:41 +0100 |
commit | 17922abc8c0a58ef949a90cb164bddbd4f4e37f5 (patch) | |
tree | 5ff23e68a116e0bea8f57799277501bb9aebe252 /kml | |
parent | cf59980a1673c0688318c346d163f8a43a449aa9 (diff) |
Test
Diffstat (limited to 'kml')
-rw-r--r-- | kml/data.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kml/data.php b/kml/data.php index 72f7056..6b169a7 100644 --- a/kml/data.php +++ b/kml/data.php @@ -390,7 +390,7 @@ foreach ($locations as $location) { $data = $locations[$location->locid]; //printf("\t" . '<node id="%s" name="%s" lat="%s" lng="%s" pixel_x="%s" pixel_y="%s" state="%s" gallery_link="%s" router_links="%s"/>' . "\n", // $data->locid, $data->locname, $data->lat, $data->lng, $data->pixel_x, $data->pixel_y, $data->state, $data->gallery_link, $data->dnsnames); - if ($data->state=='online') { + if ($data->state!='offline') { printf("\t" .'<Placemark id="%s">' . "\n", $data->locid); printf("\t" .' <name>%s</name>' . "\n", $data->locname); printf("\t" .' <description><br>%s</br><br>%s</br><br>#%s, %s</br></description>' . "\n", $data->gallery_link, $data->dnsnames, $data->locid, $data->state); |