X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/df9850f5ca396fbd31afe242ae421435fe49bdbc..94d795883f36485c3da866f8979cab07d28194c0:/lib/template/details-html.php?ds=sidebyside diff --git a/lib/template/details-html.php b/lib/template/details-html.php index 3e9e39d7..ae36b411 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -78,18 +78,6 @@ return $sHTML; } - // function hash_to_subtable($aAssociatedList) - // { - // $sHTML = ''; - // foreach($aAssociatedList as $sKey => $sValue) - // { - // $sHTML = $sHTML . ''."\n"; - // } - // $sHTML = $sHTML . '
'.$sKey.''.$sValue.'
'; - // return $sHTML; - // } - - function map_icon($sIcon) { if ($sIcon){ @@ -106,8 +94,6 @@ echo ' ' . $aAddressLine['class'].':'.$aAddressLine['type'] . "\n"; echo ' ' . osm_link($aAddressLine) . "\n"; echo ' ' . (isset($aAddressLine['admin_level']) ? $aAddressLine['admin_level'] : '') . "\n"; - // echo '' . (isset($aAddressLine['rank_search_label']) ? $aAddressLine['rank_search_label'] : '') ."\n"; - // echo ', '.($aAddressLine['fromarea']=='t'?'Polygon':'Point').''; echo ' ' . format_distance($aAddressLine['distance'])."\n"; echo ' ' . nominatim_link($aAddressLine,'details >') . "\n"; echo "\n"; @@ -187,7 +173,6 @@ Type OSM Admin level - Distance @@ -264,9 +249,6 @@ } } - // headline('Other Parts'); - // headline('Linked To'); - echo "\n"; ?> @@ -277,17 +259,17 @@