X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/4f49ef07e653e91fae3a75976074833905c79aa8..aade8c75cb6036c85f4df36c810fbbcc07f43907:/lib/template/details-html.php diff --git a/lib/template/details-html.php b/lib/template/details-html.php index 4cacb307..83df4814 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -9,7 +9,7 @@ @@ -68,7 +80,7 @@ echo '

'; if ($aPointDetails['icon']) { - echo ''; + echo ''.$aPointDetails['icon'].''; } echo $aPointDetails['localname'].'

'; echo '
'; @@ -82,8 +94,9 @@ echo '
Last Updated: '.$aPointDetails['indexed_date'].'
'; echo '
Admin Level: '.$aPointDetails['admin_level'].'
'; echo '
Rank: '.$aPointDetails['rank_search_label'].'
'; - if ($aPointDetails['importance']) echo '
Importance: '.$aPointDetails['importance'].'
'; + if ($aPointDetails['calculated_importance']) echo '
Importance: '.$aPointDetails['calculated_importance'].($aPointDetails['importance']?'':' (estimated)').'
'; echo '
Coverage: '.($aPointDetails['isarea']=='t'?'Polygon':'Point').'
'; + echo '
Centre Point: '.$aPointDetails['lat'].','.$aPointDetails['lon'].'
'; $sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':''))); if ($sOSMType) echo '
OSM: '.$sOSMType.' '.$aPointDetails['osm_id'].'
'; if ($aPointDetails['wikipedia'])