%= javascript_strings %>
<%= 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 %>
<%= yield :optionals %>
<%= link_to(
image_tag("cc_button.png",
:alt => t('layouts.license.alt'),
:border => 0,
:width => 88,
:height => 31,
:title => t('layouts.license.title')),
"http://creativecommons.org/licenses/by-sa/2.0/",
{ :rel => "license" }) %>