X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a3728b718882dc1cbdf4e4e3853d938656d077e4..e9e54ec8046cf74d6d6f1c1ae04ca746aa3fefc2:/lib/template/details-html.php
diff --git a/lib/template/details-html.php b/lib/template/details-html.php
index c043e9b7..43ec1266 100644
--- a/lib/template/details-html.php
+++ b/lib/template/details-html.php
@@ -70,7 +70,13 @@
echo '
'."\n";
echo ' '.(trim($aAddressLine['localname'])!==null?$aAddressLine['localname']:'No Name')." | \n";
- echo ' ' . $aAddressLine['class'].':'.$aAddressLine['type'] . " | \n";
+ echo ' ' . $aAddressLine['class'].':'.$aAddressLine['type'];
+ if ($aAddressLine['type'] == 'administrative'
+ && isset($aAddressLine['place_type']))
+ {
+ echo '('.$aAddressLine['place_type'].')';
+ }
+ echo " | \n";
echo ' ' . osmLink($aAddressLine) . " | \n";
echo ' ' . (isset($aAddressLine['rank_address']) ? $aAddressLine['rank_address'] : '') . " | \n";
echo ' ' . ($aAddressLine['admin_level'] < 15 ? $aAddressLine['admin_level'] : '') . " | \n";