X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/12eb91b2bcc0fc543f588453418b49d3214a1be3..04d5d12ecd31afcbbc631b6c0997417f68586b52:/lib/template/search-html.php?ds=sidebyside 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)';