From: marc tobias Date: Sun, 2 Feb 2020 00:16:31 +0000 (+0100) Subject: details html page: no longer use place_id in URLs X-Git-Tag: v3.5.0~93 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/a3728b718882dc1cbdf4e4e3853d938656d077e4 details html page: no longer use place_id in URLs --- diff --git a/lib/template/address-html.php b/lib/template/address-html.php index e022b604..9b098428 100644 --- a/lib/template/address-html.php +++ b/lib/template/address-html.php @@ -85,7 +85,7 @@ else echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')'; echo '

'.$aResult['lat'].','.$aResult['lon'].'

'; - echo ' details'; + echo ' details'; echo ''; ?> diff --git a/lib/template/details-html.php b/lib/template/details-html.php index f0798773..c043e9b7 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -75,7 +75,7 @@ echo ' ' . (isset($aAddressLine['rank_address']) ? $aAddressLine['rank_address'] : '') . "\n"; echo ' ' . ($aAddressLine['admin_level'] < 15 ? $aAddressLine['admin_level'] : '') . "\n"; echo ' ' . format_distance($aAddressLine['distance'], $bDistanceInMeters)."\n"; - echo ' ' . detailsLink($aAddressLine,'details >') . "\n"; + echo ' ' . detailsPermaLink($aAddressLine,'details >') . "\n"; echo "\n"; } @@ -103,7 +103,6 @@

-

@@ -127,6 +126,8 @@ kv('Coverage' , ($aPointDetails['isarea']?'Polygon':'Point') ); kv('Centre Point' , $aPointDetails['lat'].','.$aPointDetails['lon'] ); kv('OSM' , osmLink($aPointDetails) ); + kv('Place Id (on this server)' + , $aPointDetails['place_id'] ); if ($aPointDetails['wikipedia']) { kv('Wikipedia Calculated' , wikipediaLink($aPointDetails) ); diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 53c6c88c..c42476bf 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -53,7 +53,7 @@ echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')'; else echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')'; - echo ' details'; + echo ' details'; echo '
'; $i = $i+1; }