- replaced hardcoded www.openstreetmap.org with environment variable
- added preferences action to user - added column preferences to user table
This commit is contained in:
parent
1ecf13d846
commit
85d8a2d177
7 changed files with 22 additions and 6 deletions
|
@ -1,7 +1,7 @@
|
|||
Hi,
|
||||
|
||||
Somone (hopefully you) would like to create an account over at
|
||||
www.openstreetmap.org
|
||||
<%= SERVER_URL %>
|
||||
|
||||
If this is you, please click the link below to confirm that account.
|
||||
|
||||
|
|
|
@ -36,7 +36,7 @@
|
|||
function init(){
|
||||
|
||||
OpenLayers.Util.onImageLoadError = function() {
|
||||
this.src = "http://www.openstreetmap.org/javascript/img/404.png";
|
||||
this.src = "http://<%= SERVER_URL %>/javascript/img/404.png";
|
||||
}
|
||||
map = new OpenLayers.Map( "map",
|
||||
{maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34), maxResolution:156543, units:'meters', projection: "EPSG:41001"} );
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
<br /><br />
|
||||
|
||||
<span class="rsssmall"><a href="<%= url_for :controller => 'trace', :action => 'georss' %>"><img src="http://www.openstreetmap.org/images/RSS.gif" border="0"></a></span> |
|
||||
<span class="rsssmall"><a href="<%= url_for :controller => 'trace', :action => 'georss' %>"><img src="http://<%= SERVER_URL %>/images/RSS.gif" border="0"></a></span> |
|
||||
<% if @user %>
|
||||
<%= link_to 'See just your traces', {:controller => 'trace', :action => 'mine'} %>
|
||||
<% else %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue