</center>
</div>
+ <%= yield :optionals %>
+
<% unless @user %>
<div id="intro">
<p>
<%= link_to image_tag("sotm.png", :alt => t('layouts.sotm2011'), :title => t('layouts.sotm2011'), :border => "0"), "http://stateofthemap.org/register-now/" %>
</div>
- <%= yield :optionals %>
-
<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>
unless STATUS == :database_offline
config.gem 'composite_primary_keys', :version => '2.2.2'
end
- config.gem 'libxml-ruby', :version => ['>= 1.1.1', ' < 2.0.0'], :lib => 'libxml'
+ config.gem 'libxml-ruby', :version => '~> 1.1.1', :lib => 'libxml'
config.gem 'rmagick', :lib => 'RMagick'
config.gem 'oauth', :version => '>= 0.4.3'
config.gem 'oauth-plugin', :version => '0.3.14'
if (c == "B") {
map.setBaseLayer(layers[i]);
+ } else {
+ map.layers[i].setVisibility(false);
}
}
} else {
if (map.layers[i].isBaseLayer) {
map.setBaseLayer(map.layers[i]);
} else {
- map.layers[i].setVisibility(true);
+ map.layers[i].setVisibility(true);
}
} else {
map.layers[i].setVisibility(false);