X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d3ff9600b5e345239f4dc1b5d1b7244f5a25d051..6fef943e49ddd719524d1987e134d97fa89f2157:/lib/template/details-html.php
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index 3e9e39d7..7d9696b8 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -25,7 +25,7 @@
$sOSMType = ($aFeature['osm_type'] == 'N'?'node':($aFeature['osm_type'] == 'W'?'way':($aFeature['osm_type'] == 'R'?'relation':'')));
if ($sOSMType)
{
- return ''.$sOSMType.' '.$aFeature['osm_id'].'';
+ return ''.$sOSMType.' '.$aFeature['osm_id'].'';
}
return '';
}
@@ -78,18 +78,6 @@
return $sHTML;
}
- // function hash_to_subtable($aAssociatedList)
- // {
- // $sHTML = '
';
- // foreach($aAssociatedList as $sKey => $sValue)
- // {
- // $sHTML = $sHTML . ''.$sKey.' | '.$sValue.' |
'."\n";
- // }
- // $sHTML = $sHTML . '
';
- // 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 @@