]> projects.mako.cc - selectricity/blobdiff - app/views/layouts/main.rhtml
removed unused stuff from the db/create
[selectricity] / app / views / layouts / main.rhtml
index 5ae18dc81a11db933e7b20df5b9627d299075ad6..bdb206a9fc8af29049a0d7e35190fb7602411df1 100644 (file)
@@ -5,6 +5,11 @@
     <%= stylesheet_link_tag "common", :media => "all" %>
     <%= stylesheet_link_tag "main", :media => "all" %>
     <%= stylesheet_link_tag *(@stylesheets) %>
     <%= stylesheet_link_tag "common", :media => "all" %>
     <%= stylesheet_link_tag "main", :media => "all" %>
     <%= stylesheet_link_tag *(@stylesheets) %>
+    <%begin%>
+      <%= stylesheet_link_tag "ie6hacks", :media => "all" if 
+      request.user_agent =~ /msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i %>
+    <%rescue NoMethodError%>
+    <%end%>
     <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
   </head>
 
     <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
   </head>
 

Benjamin Mako Hill || Want to submit a patch?