window.onresize = handleResize;
window.onload = handleResize;
+
+
+<% unless @user.data_public? %>
+ var warningtext ="<div style='padding-left:8px;padding-right:8px;'><p>You haven't set your edits to be public.</p><p><b>From mid-November, you will no longer be able to use the online editor unless you do so.</b> You can set your edits as public from your ";
+ var warningtext=warningtext+'<%= link_to 'user page', {:controller => 'user', :action => 'account', :display_name => @user.display_name}%>.</p>';
+ var warningtext=warningtext+'<p>(<a href="http://wiki.openstreetmap.org/index.php/Disabling_anonymous_edits">Find out why this is changing.</a>)</p></div>';
+ updateSidebar("Warning",warningtext);
+ openSidebar();
+<% end %>
+
+
</script>
<% end %>
// -->
</script>
-<h2>Privacy</h2>
+<h2>Public editing</h2>
<% if @user.data_public? %>
All your edits are public.
<% else %>
- Currently your edits are anonymous and people can't find out where you are located. To show what you edited and allow people to contact you through the website, click the button below. This action cannot be reversed.
+ Currently your edits are anonymous and people can't send you messages or see your location. To show what you edited and allow people to contact you through the website, click the button below. <b>You will need to do this if you want to use the online editor after mid-November</b> (<a href="http://wiki.openstreetmap.org/index.php/Disabling_anonymous_edits">find out why</a>). This action cannot be reversed.
<br /><br />
<%= button_to "Make all my edits public, forever", :action => :go_public %>
<% end %>