%= 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 %>
OpenStreetMap
<%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0), :controller => 'site', :action => 'index') %>
<%= t('layouts.tag_line') %>
<% unless @user %>
<%= t 'layouts.intro_1' %>
<%= t 'layouts.intro_2' %>.
<%= t 'layouts.intro_3',
:ucl => 'UCL VR Centre',
:bytemark => 'bytemark' %>
<% end %>
<% if OSM_STATUS == :database_offline or OSM_STATUS == :api_offline %>
<%= t 'layouts.offline' %>
<% elsif OSM_STATUS == :database_readonly or OSM_STATUS == :api_readonly %>
<%= t 'layouts.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/" %>