X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/76b9eb809815f0cc472bb2c8a8e6b613a4973e24..6fef943e49ddd719524d1987e134d97fa89f2157:/website/hierarchy.php?ds=inline
diff --git a/website/hierarchy.php b/website/hierarchy.php
index e0e960bc..8c0ae1f5 100755
--- a/website/hierarchy.php
+++ b/website/hierarchy.php
@@ -69,7 +69,7 @@
$aBreadcrums[] = array('placeId'=>$aPlace['place_id'], 'osmType'=>$aPlace['osm_type'], 'osmId'=>$aPlace['osm_id'], 'localName'=>$aPlace['localname']);
$sPlaceUrl = 'hierarchy.php?place_id='.$aPlace['place_id'];
$sOSMType = ($aPlace['osm_type'] == 'N'?'node':($aPlace['osm_type'] == 'W'?'way':($aPlace['osm_type'] == 'R'?'relation':'')));
- $sOSMUrl = 'http://www.openstreetmap.org/browse/'.$sOSMType.'/'.$aPlace['osm_id'];
+ $sOSMUrl = 'http://www.openstreetmap.org/'.$sOSMType.'/'.$aPlace['osm_id'];
if ($sOutputFormat == 'html') if ($i) echo " > ";
if ($sOutputFormat == 'html') echo ''.$aPlace['localname'].' (osm)';
}
@@ -127,7 +127,7 @@
echo ''.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'No Name').'';
echo ' (';
echo ''.($aAddressLine['isarea']=='t'?'Polygon':'Point').'';
- if ($sOSMType) echo ', '.$sOSMType.' '.$aAddressLine['osm_id'].'';
+ if ($sOSMType) echo ', '.$sOSMType.' '.$aAddressLine['osm_id'].'';
echo ', GOTO';
echo ', '.$aAddressLine['area'];
echo ')';