From ec4cf9efd0b6e0d60cbe9674016a0519918324e2 Mon Sep 17 00:00:00 2001 From: Brian Quinion Date: Thu, 8 Nov 2012 00:46:39 +0000 Subject: [PATCH] include edit links for errors --- lib/template/details-error-html.php | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/lib/template/details-error-html.php b/lib/template/details-error-html.php index b93d6495..5f075b93 100644 --- a/lib/template/details-error-html.php +++ b/lib/template/details-error-html.php @@ -148,18 +148,35 @@ $sVal = $aPointDetails['errormessage']; $sOSMType = ($aPointDetails['osm_type'] == 'N'?'node':($aPointDetails['osm_type'] == 'W'?'way':($aPointDetails['osm_type'] == 'R'?'relation':''))); $sOSMID = $aPointDetails['osm_id']; +$bHaveLatLng = false; if (preg_match('/Self-intersection\\[([0-9.\\-]+) ([0-9.\\-]+)\\]/',$sVal,$aMatch)) { $sLat = $aMatch[2]; $sLon = $aMatch[1]; + $bHaveLatLng = true; echo "".($sVal?$sVal:' ').""; } else { echo ($sVal?$sVal:' '); } +?> +

Edit: in Remote Controll (JOSM / Merkaartor)"; + echo " | Potlatch 2"; +} +else +{ + echo " Remote Controll (JOSM / Merkaartor)"; + // Should be better to load by object id - but this doesn't seem to zoom correctly + //echo " Remote Controll (JOSM / Merkaartor)"; +} ?>

+ -- 2.39.5