]> projects.mako.cc - selectricity-live/blob - app/views/layouts/basic.rhtml
TODO has been modified to relfect bug changes already delt with. Also, autogenerated...
[selectricity-live] / app / views / layouts / basic.rhtml
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3   <head>
4     <title><%= @page_title || "Selectricity" %></title>
5     <%= stylesheet_link_tag "common", :media => "all" %>
6     <%= stylesheet_link_tag *(@stylesheets) %>
7     <%begin%>
8       <%= stylesheet_link_tag "ie6hacks", :media => "all" if 
9       request.user_agent =~ /msie\s(5\.[5-9]|[6]\.[0-9]*).*(win)/i %>
10     <%rescue NoMethodError%>
11     <%end%>
12     <%= javascript_include_tag "prototype", "effects", "dragdrop", "controls" %>
13   </head>
14
15   <body>
16   <div>
17         <%= @content_for_layout %>
18   </div>
19
20     <div class="clear-div"></div>
21     <%= render_partial 'layouts/footer' %>
22     </div>
23   </body>
24 </html>

Benjamin Mako Hill || Want to submit a patch?