X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d93209ee4831d2b32ea743fc2ec0a5feba238dcb..9afebddb16b09e09fa9a74624dcd79475b476f10:/lib/output.php
diff --git a/lib/output.php b/lib/output.php
index fd6226bc..8de81576 100644
--- a/lib/output.php
+++ b/lib/output.php
@@ -12,30 +12,7 @@ function formatOSMType($sType, $bIncludeExternal = true)
if ($sType == 'T') return 'way';
if ($sType == 'I') return 'way';
- return '';
-}
+ // not handled: P, L
-function osmLink($aFeature, $sRefText = false)
-{
- $sOSMType = formatOSMType($aFeature['osm_type'], false);
- if ($sOSMType) {
- return ''.$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']).'';
-}