X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1f2ee8ed77695c2e475508f961db5b37f8d83bd6..1d4dcd914fd277aebf242037064612224f4dde54:/lib/template/address-xml.php?ds=inline diff --git a/lib/template/address-xml.php b/lib/template/address-xml.php index 9eeb3b77..2bfcffbf 100644 --- a/lib/template/address-xml.php +++ b/lib/template/address-xml.php @@ -22,14 +22,42 @@ { echo "".htmlspecialchars($aPlace['langaddress']).""; - if ($bShowAddressDetails) { + if (isset($aPlace['aAddress'])) + { echo ""; foreach($aPlace['aAddress'] as $sKey => $sValue) { @@ -40,6 +68,36 @@ } 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 ""; + } + + if (isset($aPlace['askml'])) + { + echo "\n"; + echo $aPlace['askml']; + echo ""; + } + } echo "";