| OLD | NEW |
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
| 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
| 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
| 2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
| 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
| 3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
|
| 4 <head>
| 4 <head>
|
| 5 <title><%= @title || Setting[:title] %></title>
| 5 <title><%= @title || Setting[:title] %></title>
|
| 6 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
| 6 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
|
| 7 <meta name="description" content="<%= Setting[:description] %>" />
| 7 <meta name="description" content="<%= Setting[:description] %>" />
|
| 8 <meta name="keywords" content="<%= Setting[:keywords] %>" />
| 8 <meta name="keywords" content="<%= Setting[:keywords] %>" />
|
| 9
| 9
|
| 10 <%= resource_tags %>
| 10 <%= resource_tags %>
|
| 11
| 11
|
| 12 <!--[if IE 6]>
| 12 <!--[if IE 6]>
|
| 13 <link rel="stylesheet" href="/stylesheets/fix.css" type="text/css" />
| 13 <link rel="stylesheet" href="/stylesheets/fix.css" type="text/css" />
|
| 14 <![endif]-->
| 14 <![endif]-->
|
| 15 </head>
| 15 </head>
|
| 16
| 16
|
| 17 <body>
| 17 <body>
|
| 18 <div id="sidebar">
| 18 <div id="sidebar">
|
| 19 <h1><%= @title || Setting[:title] %></h1>
| 19 <h1><%= @title || Setting[:title] %></h1>
|
| 20 <h2><%= Setting[:small_subtitle] %></h2>
| 20 <h2><%= Setting[:small_subtitle] %></h2>
|
| 21 <%= render :partial => (@menu_left || 'layouts/menu_left_default') %>
| 21 <%= render :partial => (@menu_left || 'layouts/menu_left_default') %>
|
| 22 </div>
| 22 </div>
|
| 23
| 23
|
| 24 <div id="content">
| 24 <div id="content">
|
| 25 » » <% if flash[:notice] or flash[:error] %>
| 25 <% if flash[:notice] or flash[:error] %>
|
| 26 » » <div class="messagebox">
| 26 <div class="messagebox">
|
| 27 » » <% if flash[:notice] -%><p style="color: green"><%= flash[:not
ice] %></p><% end %>
| 27 <% if flash[:notice] -%><p style="color: green"><%= flash[:notice] %></p><
% end %>
|
| 28 » » <% if flash[:error] -%><p style="color: red"><%= flash[:error]
%></p><% end %>
| 28 <% if flash[:error] -%><p style="color: red"><%= flash[:error] %></p><% en
d %>
|
| 29 » » </div>
| 29 </div>
|
| 30 » » <% end -%>
| 30 <% end -%>
|
| 31 <%= @content_for_layout %>
| 31 <%= @content_for_layout %>
|
| 32 </div>
| 32 </div>
|
| 33 </body>
| 33 </body>
|
| 34 </html> | 34 </html>
|
| OLD | NEW |