X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/0213643ebcba068561691bfbe366fed075d0d3d1..04d5d12ecd31afcbbc631b6c0997417f68586b52:/lib/template/search-html.php diff --git a/lib/template/search-html.php b/lib/template/search-html.php index b270e02f..02c8cb4d 100644 --- a/lib/template/search-html.php +++ b/lib/template/search-html.php @@ -204,6 +204,8 @@ target="_blank">FAQ echo ' '.$aResult['place_id'].''; if (isset($aResult['label'])) echo ' ('.$aResult['label'].')'; + else if ($aResult['type'] == 'yes') + echo ' ('.ucwords(str_replace('_',' ',$aResult['class'])).')'; else echo ' ('.ucwords(str_replace('_',' ',$aResult['type'])).')'; echo ' (details)';