]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/edit.rhtml
allow a user to make data public
[rails.git] / app / views / site / edit.rhtml
index 42f428a62a85a41c9ebe0ab23dd997738f3079d8..3340271ab636f107266c3bbb1054d68f47d12208 100644 (file)
@@ -4,7 +4,7 @@
 
     <applet
     code="org/openstreetmap/processing/OsmApplet.class"
-    archive="OSMApplet.jar, commons-codec-1.3.jar, core.jar, commons-logging.jar, commons-httpclient-3.0-rc3.jar, MinML2.jar, plugin.jar, thinlet.jar"
+    archive="OSMApplet.jar, commons-codec-1.3.jar, core.jar, commons-logging.jar, commons-httpclient-3.0-rc3.jar, MinML2.jar, thinlet.jar"
     width="700"
     height="500"
     MAYSCRIPT="true" >
@@ -14,7 +14,7 @@
     <param name="user" value="token">
     <param name="pass" value="<%= @user.token %>">
     <param name="wmsurl" value="http://www.openstreetmap.org/tile/0.2/gpx?;http://www.openstreetmap.org/api/wms/0.2/landsat/?request=GetMap&layers=modis,global_mosaic&styles=&srs=EPSG:4326&FORMAT=image/jpeg">
-    <param name="apiurl" value="http://www.openstreetmap.org/api/0.3/">
+    <param name="apiurl" value="<%= SERVER_URL %>/api/<%= API_VERSION %>/">
     Your browser needs to support Java to edit maps.<br>
     <a href="http://java.com/en/download/index.jsp">Download Java here</a>
     </applet>