X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a73135aebee779e8f2f37e21361498455162cb6b..b24ef60b33da99938d864b3ff1b9399282dd253a:/website/details.php diff --git a/website/details.php b/website/details.php index 654cd7c7..3a0fee82 100755 --- a/website/details.php +++ b/website/details.php @@ -159,4 +159,12 @@ logEnd($oDB, $hLog, 1); + if ($sOutputFormat=='html') + { + $sDataDate = $oDB->getOne("select TO_CHAR(lastimportdate - '2 minutes'::interval,'YYYY/MM/DD HH24:MI')||' GMT' from import_status limit 1"); + $sTileURL = CONST_Map_Tile_URL; + $sTileAttribution = CONST_Map_Tile_Attribution; + } + + include(CONST_BasePath.'/lib/template/details-'.$sOutputFormat.'.php');