summaryrefslogtreecommitdiff
path: root/app/views/layouts/application.html.erb
blob: efa8c5d13f7f518c0091fcf1968441d8c950d3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
  
    <title><%= page_title %></title>
    <%= stylesheet_link_tag "ccc" %>
    <%= javascript_include_tag 'jquery-1.3.2.min' %>
    <%= javascript_include_tag 'shadowbox/shadowbox' %>
    <%= javascript_include_tag 'public' %>
    <%= stylesheet_link_tag "shadowbox" %>
    
    <script type="text/javascript" charset="utf-8">
      Shadowbox.init();
    </script>
    
    <%= auto_discovery_link_tag(:rss, {:controller => "rss", :action => "updates"}) %>
  </head>
  
  <body>
    <div id="wrapper">
      <div id="header">
        <%= image_tag "header.png" %>
      </div>
      <div id="search">
        <%= render :partial => "content/search" %>
      </div>
      <div id="left_column">
        <%= main_menu %>
        
        <%= language_selector %>
        <% if current_user && @page.node %>
          <%= link_to "Edit", node_path(:id => @page.node) %>
        <% end %>
        
        <%= calendar %>
      </div>
      <div id="center_column">
        <%= yield :layout %>
      </div>
      <div id="right_column">
        <%= tags %>
        <%= featured_articles %>
      </div>
    </div>
    
  </body>
</html>