2 {% load chunks compressed catalogue_tags sponsor_tags %}
 
   3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
   4     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
   5 <html xmlns="http://www.w3.org/1999/xhtml">
 
   7         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
 
   8         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
 
   9         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/x-icon" />
 
  10         {% compressed_css "all" %}
 
  11         {% compressed_js "jquery" %}
 
  12         {% compressed_js "all" %}
 
  16     <body id="{% block bodyid %}base{% endblock %}">
 
  17         <!--[if lt IE 7]><link href={{ STATIC_URL }}infobar/infobar.css rel=stylesheet>
 
  18         <div id=infobar><a href=http://browsehappy.pl/infobar>
 
  19         {% trans "Internet Explorer cannot display this site properly. Click here to read more..." %}
 
  20         </a></div><div id=viewplot><script src={{ STATIC_URL }}infobar/infobar.js></script><![endif]-->
 
  21         {% block bodycontent %}
 
  22         <div id="top-message">
 
  23             {% chunk "top-message" %}
 
  25         <div id="onepercent-banner" style="display:none">
 
  26             <a href="{% url 1percent %}" id="onepercent-text"></a>
 
  27             <a href="{% url 1percent %}" id="onepercent-see-more">{% trans "See more" %}</a>
 
  31                 <a href="/"><img src="{{ STATIC_URL }}img/logo.png" alt="WolneLektury.pl - logo" /></a>
 
  33             <div id="user-info" style="display:none">
 
  34                 {% if user.is_authenticated %}
 
  36                         {% trans "Welcome" %}, <strong>{{ user.username }}</strong>
 
  37                         | <a href="{% url user_shelves %}" id="user-shelves-link">{% trans "Your shelves" %}</a>
 
  38                         {% if user.is_staff %}
 
  39                         | <a href="/admin/">{% trans "Administration" %}</a>
 
  41                         | <a href="{% url logout %}?next={{ request.get_full_path }}">{% trans "Logout" %}</a>
 
  44                     <p><a href="{% url login %}" class="login-register-link">{% trans "Sign in" %} / {% trans "Register" %}</a></p>
 
  47             <div class="social-links" style="float:right">
 
  48                 <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"><img src="{{ STATIC_URL }}img/social/facebook.png" /></a>
 
  49                 <a href="http://twitter.com/wolnelektury"><img src="{{ STATIC_URL }}img/social/twitter.png" /></a>
 
  50                 <a href="http://nasza-klasa.pl/profile/30441509"><img src="{{ STATIC_URL }}img/social/naszaklasa.png" /></a>     
 
  52             <div class="clearboth"></div>
 
  54         <div id="maincontent">
 
  58         <div class="clearboth"></div>
 
  61                 Wolne Lektury to projekt prowadzony przez <a href="http://nowoczesnapolska.org.pl/">Fundację Nowoczesna
 
  62                 Polska</a>. Reprodukcje cyfrowe wykonane przez <a href="http://www.bn.org.pl/">Bibliotekę Narodową</a>
 
  63                 z egzemplarzy pochodzących ze zbiorów BN. Hosting <a href="http://eo.pl/">EO Networks</a>.
 
  66                 Fundacja Nowoczesna Polska, 00-514 Warszawa, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17,
 
  67                 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
 
  70                         {% sponsor_page "footer" %}
 
  72         <div id="login-register-window">
 
  73             <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
 
  75                 <form method="post" action="{% url login %}" id="login-form" class="cuteform">
 
  76                     <h2>{% trans "Sign in" %} / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">{% trans "Register" %}</a></h2>
 
  77                     <p><span id="id_login-__all__"></span></p>
 
  79                         {% authentication_form %}
 
  80                         <li><input type="submit" value="{% trans "Sign in" %}" /></li>
 
  83                 <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
 
  84                     <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">{% trans "Sign in" %}</a> / {% trans "Register" %}</h2>
 
  85                     <p><span id="id_registration-__all__"></span></p>
 
  87                         {% user_creation_form %}
 
  88                         <li><input type="submit" value="{% trans "Register" %}" /></li>
 
  93         <div id="user-shelves-window">
 
  94             <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
 
  96                 <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
 
  99         {% endblock bodycontent %}
 
 100         <script type="text/javascript">
 
 101         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
 102         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
 104         <script type="text/javascript">
 
 105         var pageTracker = _gat._getTracker("UA-2576694-1");
 
 106         pageTracker._trackPageview();