vendor/plugins/refinery/app/views/admin/_head.html.erb in refinerycms-0.9.7.10 vs vendor/plugins/refinery/app/views/admin/_head.html.erb in refinerycms-0.9.7.11

- old
+ new

@@ -3,14 +3,15 @@ # Would be great if someone could fix this? js_caching = RefinerySetting.find_or_set(:use_resource_caching, Rails.root.join('public', 'javascripts', 'cache').writable?) css_caching = js_caching && request.env['HTTP_USER_AGENT'] !~ /MSIE/ -%> <head> -<% if request.env['HTTP_USER_AGENT'] =~ /MSIE/%> - <!--[if lt IE 9]> - <%= javascript_include_tag('http://html5shiv.googlecode.com/svn/trunk/html5.js') %> - <![endif]--> +<% # IE only html5 enabling script +if request.env['HTTP_USER_AGENT'] =~ /MSIE/%> + <script type='text/javascript'> + <%= render :partial => '/shared/html5_for_ie.js' %> + </script> <% end %> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title><%= RefinerySetting.find_or_set(:site_name, 'Company Name') %> - Refinery</title> <%= stylesheet_link_tag 'refinery/site_bar', @@ -26,9 +27,10 @@ <%= javascript_include_tag 'jquery/jquery.corner.js', 'jquery/jquery.textTruncate.js', 'jquery/jquery.html5-placeholder-shim.js', 'jquery/jquery.timers.js', + 'jquery/jquery.jcarousel.js', :cache => (js_caching ? "cache/jquery-plugins" : false) %> <%= javascript_include_tag 'refinery/i18n' %> <script type='text/javascript'>I18n.locale = '<%= I18n.locale %>';</script>