]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/template/search-html.php
forgot some brackets
[nominatim.git] / lib / template / search-html.php
index 7878540e7ef7c05e5dbce40ae488d75f7ec77815..7698ebd0de2a66aa399680647ebb1775bf3569ac 100644 (file)
@@ -295,7 +295,8 @@ form{
                                                                        "moveend": mapEventMove
                                                                }
                } );
-                       map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default"));
+                       map.addLayer(new OpenLayers.Layer.OSM.<?php echo CONST_Tile_Default;?>("Default",
+                         { attribution : '© <a target="_parent" href="http://www.openstreetmap.org">OpenStreetMap</a> and contributors, under an <a target="_parent" href="http://www.openstreetmap.org/copyright">open license</a>'}));
 
                        var layer_style = OpenLayers.Util.extend({}, OpenLayers.Feature.Vector.style['default']);
                        layer_style.fillOpacity = 0.2;