%= javascript_include_tag 'prototype' %>
<%= javascript_include_tag 'site' %>
<%= stylesheet_link_tag 'site' %>
<%= stylesheet_link_tag 'print', :media => "print" %>
<%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
<%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
<%= yield :head %>
<% if @notice || flash[:notice] %>
<%= @notice || flash[:notice] %>
<% end %>
<%= yield %>
<%= t 'layouts.project_name.h1' %>
<%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0, :alt => t('layouts.logo.alt_text')), :controller => 'site', :action => 'index') %>
<%= t('layouts.tag_line') %>
<% unless @user %>
<%= t 'layouts.intro_1' %>
<%= t 'layouts.intro_2' %>
<%= t 'layouts.intro_3',
:ucl => link_to(t('layouts.intro_3_ucl'), "http://www.vr.ucl.ac.uk"),
:bytemark => link_to(t('layouts.intro_3_bytemark'), "http://www.bytemark.co.uk") %>
<% end %>
<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
<%= t 'layouts.osm_offline' %>
<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
<%= t 'layouts.osm_read_only' %>
<% end %>
<% if false %>
<% end %>
<%= link_to image_tag("sotm.png", :alt => t('layouts.sotm'), :title => t('layouts.sotm'), :border => "0"), "http://www.stateofthemap.org/register" %>
<%= yield :optionals %>
<%= link_to image_tag("cc_button.png", :alt => "CC by-sa 2.0", :border => "0"), "http://creativecommons.org/licenses/by-sa/2.0/" %>