<% #
 # This file is part of the Anotatornia suite.
 # 
 # Copyright © 2007, 2008, 2009, 2010 by Instytut Podstaw Informatyki
 # Polskiej Akademii Nauk (IPI PAN; Institute of Computer Science, Polish
 # Academy of Sciences; cf. www.ipipan.waw.pl).  All rights reserved.
 # 
 # This file may be distributed and/or modified under the terms of the
 # GNU General Public License version 3 as published by the Free Software
 # Foundation and appearing in the file COPYING included in the packaging
 # of this file.  (See http://www.gnu.org/licenses/translations.html for
 # unofficial translations.)
 # 
 # A commercial license is available from IPI PAN (contact
 # Michal.Ciesiolka.waw.pl or ipi.waw.pl for more
 # information).  Licensees holding a valid commercial license from IPI
 # PAN may use this file in accordance with that license.
 # 
 # This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
 # THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 # PURPOSE.
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html>
  <head>
    <title>Anotatornia</title>
    <%= javascript_include_tag  :defaults #'prototype', 'effects', 'dragdrop'
	%>
    <%= stylesheet_link_tag "scaffold" , "application", # "admin" , 
	:media => "all" %>
  </head>
  <body id="admin">


<% if session[:uzid] -%>
<div id="expiry"></div>
<%= #periodically_call_remote :url => { :controller => 'logowanie',
#:action => 'session_expiry'},
#:frequency => 15
-%>
<% end -%>

<!--    <div id="banner" >
      <img src="/images/logo.png" />
      <%= @page_title || "Pragmatic Bookshelf" %>
    </div>-->
<div id="columns" >
<%= render(:partial => "/layouts/sidebar1") %>

    <%= yield :layout %>

<% if session[:uzid] -%>
<div class="ciemne-tlo">
<%= render :partial => '/layouts/bug_reports' %>
<div>
<% end -%>
</div>
  </body>
</html>
