##// END OF EJS Templates
Disable IE 8 compatibility mode (#10128)....
Jean-Philippe Lang -
r9238:78dd564a8209
parent child
Show More
@@ -1,87 +1,88
1 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
3 3 <head>
4 4 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
5 5 <title><%=h html_title %></title>
6 6 <meta name="description" content="<%= Redmine::Info.app_name %>" />
7 7 <meta name="keywords" content="issue,bug,tracker" />
8 <meta http-equiv="X-UA-Compatible" content="IE=9; IE=8; IE=7; IE=EDGE" />
8 9 <%= csrf_meta_tag %>
9 10 <%= favicon %>
10 11 <%= stylesheet_link_tag 'application', :media => 'all' %>
11 12 <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
12 13 <%= javascript_heads %>
13 14 <%= heads_for_theme %>
14 15 <!--[if IE 6]>
15 16 <style type="text/css">
16 17 * html body{ width: expression( document.documentElement.clientWidth < 900 ? '900px' : '100%' ); }
17 18 body {behavior: url(<%= stylesheet_path "csshover.htc" %>);}
18 19 </style>
19 20 <![endif]-->
20 21 <%= call_hook :view_layouts_base_html_head %>
21 22 <!-- page specific tags -->
22 23 <%= yield :header_tags -%>
23 24 </head>
24 25 <body class="<%=h body_css_classes %>">
25 26 <div id="wrapper">
26 27 <div id="wrapper2">
27 28 <div id="top-menu">
28 29 <div id="account">
29 30 <%= render_menu :account_menu -%>
30 31 </div>
31 32 <%= content_tag(
32 33 'div',
33 34 "#{l(:label_logged_as)} #{link_to_user(User.current, :format => :username)}".html_safe,
34 35 :id => 'loggedas') if User.current.logged? %>
35 36 <%= render_menu :top_menu if User.current.logged? || !Setting.login_required? -%>
36 37 </div>
37 38
38 39 <div id="header">
39 40 <% if User.current.logged? || !Setting.login_required? %>
40 41 <div id="quick-search">
41 42 <% form_tag({:controller => 'search', :action => 'index', :id => @project}, :method => :get ) do %>
42 43 <%= hidden_field_tag(controller.default_search_scope, 1, :id => nil) if controller.default_search_scope %>
43 44 <label for='q'>
44 45 <%= link_to l(:label_search), {:controller => 'search', :action => 'index', :id => @project}, :accesskey => accesskey(:search) %>:
45 46 </label>
46 47 <%= text_field_tag 'q', @question, :size => 20, :class => 'small', :accesskey => accesskey(:quick_search) %>
47 48 <% end %>
48 49 <%= render_project_jump_box %>
49 50 </div>
50 51 <% end %>
51 52
52 53 <h1><%= page_header_title %></h1>
53 54
54 55 <% if display_main_menu?(@project) %>
55 56 <div id="main-menu">
56 57 <%= render_main_menu(@project) %>
57 58 </div>
58 59 <% end %>
59 60 </div>
60 61
61 62 <%= tag('div', {:id => 'main', :class => (has_content?(:sidebar) ? '' : 'nosidebar')}, true) %>
62 63 <div id="sidebar">
63 64 <%= yield :sidebar %>
64 65 <%= call_hook :view_layouts_base_sidebar %>
65 66 </div>
66 67
67 68 <div id="content">
68 69 <%= render_flash_messages %>
69 70 <%= yield %>
70 71 <%= call_hook :view_layouts_base_content %>
71 72 <div style="clear:both;"></div>
72 73 </div>
73 74 </div>
74 75
75 76 <div id="ajax-indicator" style="display:none;"><span><%= l(:label_loading) %></span></div>
76 77 <div id="ajax-modal" style="display:none;"></div>
77 78
78 79 <div id="footer">
79 80 <div class="bgl"><div class="bgr">
80 81 Powered by <%= link_to Redmine::Info.app_name, Redmine::Info.url %> &copy; 2006-2012 Jean-Philippe Lang
81 82 </div></div>
82 83 </div>
83 84 </div>
84 85 </div>
85 86 <%= call_hook :view_layouts_base_body_bottom %>
86 87 </body>
87 88 </html>
General Comments 0
You need to be logged in to leave comments. Login now