X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/7c56f24c1f83e9d19c9df723bb86335598add902..1d4dcd914fd277aebf242037064612224f4dde54:/lib/template/address-xml.php?ds=sidebyside
diff --git a/lib/template/address-xml.php b/lib/template/address-xml.php
index fcd90b85..2bfcffbf 100644
--- a/lib/template/address-xml.php
+++ b/lib/template/address-xml.php
@@ -1,6 +1,5 @@
".htmlspecialchars($aPlace['langaddress'])."";
- if ($bShowAddressDetails) {
+ if (isset($aPlace['aAddress']))
+ {
echo "";
- foreach($aAddress as $sKey => $sValue)
+ foreach($aPlace['aAddress'] as $sKey => $sValue)
{
$sKey = str_replace(' ','_',$sKey);
echo "<$sKey>";
@@ -39,7 +67,37 @@
echo "$sKey>";
}
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 "";