From: Sarah Hoffmann Date: Wed, 22 Aug 2018 20:25:55 +0000 (+0200) Subject: fix formatting X-Git-Tag: v3.2.0~14 X-Git-Url: https://git.openstreetmap.org/nominatim.git/commitdiff_plain/26bd8304c65746b59dd45fc0965343fb3637f6f8 fix formatting --- diff --git a/lib/template/details-html.php b/lib/template/details-html.php index 4d5ccb87..328786e2 100644 --- a/lib/template/details-html.php +++ b/lib/template/details-html.php @@ -46,8 +46,7 @@ function hash_to_subtable($aAssociatedList) { $sHTML = ''; - foreach($aAssociatedList as $sKey => $sValue) - { + foreach ($aAssociatedList as $sKey => $sValue) { $sHTML = $sHTML.'
'.$sValue.' ('.$sKey.')
'."\n"; } return $sHTML; @@ -162,13 +161,10 @@ - $aHierarchyLines) - { + foreach ($aGroupedAddressLines as $sGroupHeading => $aHierarchyLines) { $sGroupHeading = ucwords($sGroupHeading); headline3($sGroupHeading); - foreach($aHierarchyLines as $aAddressLine) - { + foreach ($aHierarchyLines as $aAddressLine) { _one_row($aAddressLine); } } @@ -249,7 +239,7 @@ 'lon' => $aPointDetails['lon'], 'lat' => $aPointDetails['lat'], ); - echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';'; + echo 'var nominatim_result = ' . json_encode($aPlace, JSON_PRETTY_PRINT) . ';'; ?>