- echo '<tr class="' . ($bNotUsed?'notused':'') . '">';
- echo ' <td class="name">'.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'<span class="noname">No Name</span>').'</td>';
- echo ' <td>' . $aAddressLine['class'].':'.$aAddressLine['type'] . '</td>';
- echo ' <td>' . osm_link($aAddressLine) . '</td>';
- echo ' <td>' . (isset($aAddressLine['admin_level']) ? $aAddressLine['admin_level'] : '') . '</td>';
- // echo '<td>' . (isset($aAddressLine['rank_search_label']) ? $aAddressLine['rank_search_label'] : '') .'</td>';
- // echo ', <span class="area">'.($aAddressLine['fromarea']=='t'?'Polygon':'Point').'</span>';
- echo ' <td>' . format_distance($aAddressLine['distance']).'</td>';;
- echo ' <td>' . nominatim_link($aAddressLine,'details >') . '</td>';;
+ echo '<tr class="' . ($bNotUsed?'notused':'') . '">'."\n";
+ echo ' <td class="name">'.(trim($aAddressLine['localname'])?$aAddressLine['localname']:'<span class="noname">No Name</span>')."</td>\n";
+ echo ' <td>' . $aAddressLine['class'].':'.$aAddressLine['type'] . "</td>\n";
+ echo ' <td>' . osmLink($aAddressLine) . "</td>\n";
+ echo ' <td>' . (isset($aAddressLine['admin_level']) ? $aAddressLine['admin_level'] : '') . "</td>\n";
+ echo ' <td>' . format_distance($aAddressLine['distance'])."</td>\n";
+ echo ' <td>' . detailsLink($aAddressLine,'details >') . "</td>\n";