X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/c5fe2ac2067c7154370c3abd6ccca45b0d657547..9afebddb16b09e09fa9a74624dcd79475b476f10:/lib/output.php
diff --git a/lib/output.php b/lib/output.php
index 823a6631..8de81576 100644
--- a/lib/output.php
+++ b/lib/output.php
@@ -16,58 +16,3 @@ function formatOSMType($sType, $bIncludeExternal = true)
return '';
}
-
-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, $sExtraProperties = false)
-{
- if (!$aFeature['place_id']) return '';
-
- $sHtml = ''.($sTitle?$sTitle:$aFeature['place_id']).'';
-
- return $sHtml;
-}
-
-function detailsPermaLink($aFeature, $sRefText = false, $sExtraProperties = false)
-{
- $sOSMType = formatOSMType($aFeature['osm_type'], false);
-
- if ($sOSMType) {
- $sHtml = '';
-
- if ($sRefText) {
- $sHtml .= $sRefText.'';
- } else {
- $sHtml .= $sOSMType.' '.$aFeature['osm_id'].'';
- }
-
- return $sHtml;
- }
- return detailsLink($aFeature, $sRefText, $sExtraProperties);
-}