X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/2a784fa3d4533d11e3227f868085dcee5a9870c6..9afebddb16b09e09fa9a74624dcd79475b476f10:/lib/output.php?ds=sidebyside diff --git a/lib/output.php b/lib/output.php index 983e3440..8de81576 100644 --- a/lib/output.php +++ b/lib/output.php @@ -1,5 +1,6 @@ '.$sOSMType.' '.($sRefText?$sRefText:$aFeature['osm_id']).''; - } return ''; } - -function wikipediaLink($aFeature) -{ - if ($aFeature['wikipedia']) { - list($sLanguage, $sArticle) = explode(':', $aFeature['wikipedia']); - return ''.$aFeature['wikipedia'].''; - } - return ''; -} - -function detailsLink($aFeature, $sTitle = false) -{ - if (!$aFeature['place_id']) return ''; - - return ''.($sTitle?$sTitle:$aFeature['place_id']).''; -} -