historyclass = 'geolink bbox minzoom11'
exportclass = 'geolink llz layers'
traceclass = ''
+ diaryclass = ''
viewclass += ' active' if params['controller'] == 'site' and params['action'] == 'index'
editclass += ' active' if params['controller'] == 'site' and params['action'] == 'edit'
historyclass += ' active' if params['controller'] == 'changeset' and params['action'] == 'list'
</ul>
</div>
- <div id="editmenu">
+ <div id="editmenu" class="menu">
<ul>
<% Editors::ALL_EDITORS.each do |editor| %>
<li><%= link_to t('layouts.edit_with', :editor => t("editor.#{editor}.description")), {:controller => 'site', :action => 'edit', :editor => editor}, {:id => editor + 'anchor', :class => "geolink llz object"} %></li>
</div>
<script type="text/javascript">
- createMenu("editanchor", "editmenu", 1000);
+ createMenu("editanchor", "editmenu", 1000, "left");
</script>
<div id="left">
</ul>
</div>
- <div id="sotm">
- <%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %>
- </div>
-
<center>
<div class="donate">
<a href="http://donate.openstreetmap.org/" title="<%= h(t('layouts.make_a_donation.title')) %>"><%= h(t('layouts.make_a_donation.text')) %></a>
</div>
</center>
</div>
+ <% if defined?(PIWIK_LOCATION) and defined?(PIWIK_SITE) -%>
+ <%= render :partial => "layouts/piwik" %>
+ <% end -%>
</body>
</html>