Adding 'shortlink' functions which will allow URLs like http://osm.org/go/XXXX suitable for use in twitter, etc...

This commit is contained in:
Matt Amos 2009-06-25 23:31:53 +00:00
parent 2f6aab7124
commit 1d8e66016c
9 changed files with 213 additions and 2 deletions

View file

@ -17,7 +17,10 @@
</noscript>
<div id="map">
<div id="permalink"><a href="/" id="permalinkanchor"><%= t 'site.index.permalink' %></a></div>
<div id="permalink">
<a href="/" id="permalinkanchor"><%= t 'site.index.permalink' %></a><br/>
<a href="/" id="shortlinkanchor"><%= t 'site.index.shortlink' %></a>
</div>
</div>
<div id="attribution">