X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/cb3af09ebd8f79390b56c7cae15e3a4d10847241..f0d962f8a0bd6aac32c07420956c35479d5ec467:/lib/template/details-html.php diff --git a/lib/template/details-html.php b/lib/template/details-html.php index 404450c0..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"; @@ -121,7 +107,7 @@ echo $keyword_token; if (isset($word_id)) { - echo '('.$word_id.')'; + echo 'word id: '.$word_id; } echo "\n"; } @@ -187,7 +173,6 @@ Type OSM Admin level - Distance @@ -222,7 +207,7 @@ headline('Name Keywords'); foreach($aPlaceSearchNameKeywords as $aRow) { - _one_keyword_row($aRow['word_token']); + _one_keyword_row($aRow['word_token'], $aRow['word_id']); } } @@ -264,9 +249,6 @@ } } - // headline('Other Parts'); - // headline('Linked To'); - echo "\n"; ?> @@ -277,17 +259,17 @@