%= csrf_meta_tag if defined? csrf_meta_tag %> <%= favicon %> <% if (Redmine::VERSION::MAJOR == 2 && Redmine::VERSION::MINOR >= 1) || Redmine::VERSION::MAJOR > 2 %> <% Dir.glob(File.join(Rails.root, "public/stylesheets/jquery/jquery-ui-*.css")).each do |file| %> <%= stylesheet_link_tag 'jquery/' + File.basename(file, '.css'), 'application', :media => 'all' %> <% end %> <% else %> <%= stylesheet_link_tag 'application', :media => 'all' %> <% end %> <%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %> <% if defined? javascript_heads %> <%= javascript_heads %> <% else %> <%= javascript_include_tag :defaults %> <% end %> <% if defined? heads_for_theme %> <%= heads_for_theme %> <% end %> <% wiki_heads = heads_for_wiki_formatter %> <%= wiki_heads if wiki_heads.is_a?(String) %> <%= call_hook :view_layouts_base_html_head %> <%= yield :header_tags -%>