X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1e3bf9729eae72f7b5c1a71ad952877486a0fcdb..aed9d9c85e30b45f3e0ce4d9e3639b8ab0875e77:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index 115f1813..c42476bf 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -17,12 +17,11 @@
- - +
- > + >
@@ -54,11 +53,11 @@ echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')'; else echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')'; - echo ' details'; + echo ' details'; echo ''; $i = $i+1; } - if (sizeof($aSearchResults) && $sMoreURL) + if (!empty($aSearchResults) && $sMoreURL) { echo '
Search for more results
'; }