app/views/layouts/hydra-head.html.erb in hydra-head-3.0.0pre3 vs app/views/layouts/hydra-head.html.erb in hydra-head-3.0.0pre4

- old
+ new

@@ -1,12 +1,57 @@ +<!DOCTYPE html> -<% content_for :content do %> +<!--[if lt IE 7 ]> <html class="ie6"> <![endif]--> +<!--[if IE 7 ]> <html class="ie7"> <![endif]--> +<!--[if IE 8 ]> <html class="ie8"> <![endif]--> +<!--[if IE 9 ]> <html class="ie9"> <![endif]--> +<!--[if gt IE 9]> <html> <![endif]--> +<!--[if !IE]><!--> <html> <!--<![endif]--> - <%= stylesheet_link_tag("hydra-head") %> + <head> + <meta charset="utf-8" /> + + <title><%= h(@page_title || application_name) %></title> + <link href="<%= opensearch_catalog_url(:format => 'xml') %>" title="<%= application_name%>" type="application/opensearchdescription+xml" rel="search"/> + + <%= render_head_content %> + + <!--[if IE]> + <%= stylesheet_link_tag('hydra/ie-styles', {:media=>'all'}) %> + <%= stylesheet_link_tag('progressBox-ie6.css', {:media=>'all'}) %> + <![endif]--> + </head> - <div class="red_border"> - <%= yield %> - </div> + <body class="<%= render_body_class %>"> -<% end -%> + <div id="doc4" class="yui-t2"> + + <div id="hd"> + <%= render :partial => '/user_util_links.html' %> + <%= (params[:controller] == "catalog" and !params[:id]) ? "<span id='results_text'>Search Results</span>".html_safe : "" %> + </div> + + <div id="bd"> + <div id="yui-main"> + <%= render :partial=>'/flash_msg' %> + <%= yield %> + </div> + <div class="yui-b sidebar"><%= sidebar_items.join('').html_safe %></div> + </div> + + + <div id="footer"> + <div id="container3"> + <div class="contact_info"></div> + <div class="aux_links"> </div> + <div id="footer_notices"> + <div id="bottom_text"> + <div id="hydra_logo"><%= image_tag('hydra/powered_by_hydra.png', :width => 80, :height => 50, :alt => "Hydra logo") %></div> + </div> + </div> + </div> + </div> + + </div> + </body> -<%= render :file => 'layouts/application' %> +</html>