]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/site.rhtml
Use params[] instead of @params[] to avoid deprecation warnings.
[rails.git] / app / views / layouts / site.rhtml
index c9a70b79e83d020bbc9b42185f2533ca19992187..9290ea892fbf71c2e7730d24e190793f8caef625 100644 (file)
@@ -7,7 +7,7 @@
     <%= javascript_include_tag 'site.js' %>
 
     <link rel="stylesheet" type="text/css" href="/stylesheets/site.css" />
     <%= javascript_include_tag 'site.js' %>
 
     <link rel="stylesheet" type="text/css" href="/stylesheets/site.css" />
-    <title>OpenStreetMap</title>
+    <title>OpenStreetMap<%= ' | '+@title if @title %></title>
   </head>
   <body>
 
   </head>
   <body>
 
@@ -54,7 +54,7 @@
       <div id="logo">
         <center>
           <h1>OpenStreetMap</h1>
       <div id="logo">
         <center>
           <h1>OpenStreetMap</h1>
-          <img src="/images/osm_logo.png" width="120" height="120"/><br/>
+          <%= link_to(image_tag("osm_logo.png", :size => "120x120", :border => 0), :controller => 'site', :action => 'index') %><br/>
           <nobr><h2>The Free Wiki World Map</h2></nobr>
         </center>
       </div>
           <nobr><h2>The Free Wiki World Map</h2></nobr>
         </center>
       </div>