1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%= I18n.locale %>" lang="<%= I18n.locale %>" dir="<%= t'html.dir' %>">
4 <meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
5 <%= javascript_strings %>
6 <%= javascript_include_tag 'prototype' %>
7 <%= javascript_include_tag 'site' %>
8 <%= javascript_include_tag 'menu' %>
9 <!--[if lt IE 7]><%= javascript_include_tag 'pngfix' %><![endif]--> <!-- thanks, microsoft! -->
10 <%= stylesheet_link_tag 'common' %>
11 <!--[if IE]><%= stylesheet_link_tag 'large', :media => "screen" %><![endif]--> <!-- IE is totally broken with CSS media queries -->
12 <%= stylesheet_link_tag 'small', :media => "only screen and (max-width: 481px)" %>
13 <%= stylesheet_link_tag 'large', :media => "screen and (min-width: 482px)" %>
14 <%= stylesheet_link_tag 'print', :media => "print" %>
15 <%= tag("link", { :rel => "search", :type => "application/opensearchdescription+xml", :title => "OpenStreetMap Search", :href => "/opensearch/osm.xml" }) %>
16 <%= tag("meta", { :name => "description", :content => "OpenStreetMap is the free wiki world map." }) %>
19 <title><%= t 'layouts.project_name.title' %><%= ' | '+ h(@title) if @title %></title>
23 <div id="slim_content">
24 <% if flash[:error] %>
25 <div id="error"><%= flash[:error] %></div>
27 <% if flash[:warning] %>
28 <div id="warning"><%= flash[:warning] %></div>
30 <% if flash[:notice] %>
31 <div id="notice"><%= flash[:notice] %></div>
37 <div id="slim_header">
38 <h1><%= image_tag("osm_logo.png", :size => "60x60", :border => 0, :alt => t('layouts.logo.alt_text')) %><%= t 'layouts.project_name.h1' %></h1>