X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/8286abbeb479a18df7b560daccad7673e3f77297..21c590416854b1245866b96772fde61050c0e01a:/lib/template/address-xml.php?ds=sidebyside
diff --git a/lib/template/address-xml.php b/lib/template/address-xml.php
index 9eeb3b77..39d9a147 100644
--- a/lib/template/address-xml.php
+++ b/lib/template/address-xml.php
@@ -29,7 +29,8 @@
if (isset($aPlace['lon'])) echo ' lon="'.htmlspecialchars($aPlace['lon']).'"';
echo ">".htmlspecialchars($aPlace['langaddress'])."";
- if ($bShowAddressDetails) {
+ if (isset($aPlace['aAddress']))
+ {
echo "";
foreach($aPlace['aAddress'] as $sKey => $sValue)
{
@@ -40,6 +41,28 @@
}
echo "";
}
+
+ if (isset($aPlace['sExtraTags']))
+ {
+ echo "";
+ foreach ($aPlace['sExtraTags'] as $sKey => $sValue)
+ {
+ echo '';
+ }
+ echo "";
+ }
+
+ if (isset($aPlace['sNameDetails']))
+ {
+ echo "";
+ foreach ($aPlace['sNameDetails'] as $sKey => $sValue)
+ {
+ echo '';
+ echo htmlspecialchars($sValue);
+ echo "";
+ }
+ echo "";
+ }
}
echo "";