1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
   2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
   3 <html xmlns="http://www.w3.org/1999/xhtml">
 
   4         {% load cache compressed i18n %}
 
   5     {% load catalogue_tags reporting_stats sponsor_tags %}
 
   7         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
 
   8         <meta http-equiv="Content-Style-Type" content="text/css" />
 
   9         <meta name="description" 
 
  10             content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
 
  11         <title>{% block title %}{% trans "Wolne Lektury" %} :: 
 
  12             {% block titleextra %}{% endblock %}{% endblock %}</title>
 
  13         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
 
  14         <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml" />
 
  15         {% compressed_css "all" %}
 
  20     <body id="{% block bodyid %}base{% endblock %}">
 
  22         {% block bodycontent %}
 
  26         <div id="header-content">
 
  28                 <a class="logo" href="/">
 
  34                 {% cache 300 tagline %}
 
  35                     {% url book_list as b %}
 
  36                     {% url book_list as r %}
 
  37                         {% count_books book_count %}
 
  38                     {% blocktrans count book_count as c %}
 
  39                     <a href='{{b}}'>{{c}}</a> free reading you have <a href='{{r}}'>right to</a>
 
  41                     <a href='{{b}}'>{{c}}</a> free readings you have <a href='{{r}}'>right to</a>
 
  47             <p id="user-info" class="mono">
 
  48                 {% if user.is_authenticated %}
 
  49                     {% trans "Welcome" %}, <strong>{{ user.username }}</strong>
 
  50                     | <a href="{% url social_my_shelf %}" id="user-shelves-link">{% trans "My shelf" %}</a>
 
  51                     {% if user.is_staff %}
 
  52                     | <a href="/admin/">{% trans "Administration" %}</a>
 
  54                     | <a href="{% url logout %}?next={% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
 
  56                     <a href="{% url login %}?next={{ request.path }}"
 
  57                         id="login" class="ajaxable">
 
  58                             {% trans "Sign in" %}</a>
 
  60                     <a href="{% url register %}?next={{ request.path }}"
 
  61                         id="register" class="ajaxable">
 
  62                             {% trans "Register" %}</a>
 
  67             <div class="clearboth"></div>
 
  72         <div id="half-header">
 
  73         <div id="half-header-content">
 
  77             <form id="search-area" action="/fullsearch/">
 
  79                 <span id="search-field" class="grid-line">
 
  81 <!--                    <input title="np. Leśmian" name="q" autocomplete="off" data-source="/fullsearch/hint/">-->
 
  82                 </span><span id="search-button">
 
  83                     <button type='submit'><span class="mono">{% trans "Search" %}</span></button>
 
  86                 <div class="clearboth"></div>
 
  96         <div id="main-content">
 
 100                 <li><a href="{% url catalogue %}#autorzy"><span class='mono'>{% trans "Authors" %}</span></a></li>
 
 101                 <li><a href="{% url catalogue %}#gatunki"><span class='mono'>{% trans "Genres" %}</span></a></li>
 
 102                 <li><a href="{% url catalogue %}#rodzaje"><span class='mono'>{% trans "Kinds" %}</span></a></li>
 
 103                 <li><a href="{% url catalogue %}#epoki"><span class='mono'>{% trans "Epochs" %}</span></a></li>
 
 104                 <li><a href="{% url catalogue %}#motywy"><span class='mono'>{% trans "Themes" %}</span></a></li>
 
 105                 <li><a href="{% url book_list %}"><span class='mono'>{% trans "All books" %}</span></a></li>
 
 106                 <li><a href="{% url audiobook_list %}"><span class='mono'>{% trans "Audiobooks" %}</span></a></li>
 
 107                 <li><a href="{% url daisy_list %}"><span class='mono'>{% trans "DAISY" %}</span></a></li>
 
 110             <form action="{% url django.views.i18n.set_language %}" method="post">
 
 112                 <span id='lang-button' class='mono'>
 
 113                     {% trans "Language versions" %}</span>
 
 114                 <div id="lang-menu-items">
 
 115                 {% for lang in LANGUAGES %}
 
 116                     <button type="submit" name="language"
 
 117                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
 
 118                         value="{{ lang.0 }}">{{ lang.1 }}</button>
 
 125             <div class="clearboth"></div>
 
 135         <div class="clearboth"></div>
 
 137         </div>{# end main-content #}
 
 141         <div id="footer-content">
 
 144                                 Wolne Lektury is a project lead by <a href="http://nowoczesnapolska.org.pl/">Modern Poland Foundation</a>.
 
 145                                 Digital reproductions are made by <a href="http://www.bn.org.pl/">The National Library</a>, <a href="http://www.bs.katowice.pl/">Biblioteka Śląska</a> and <a href="http://www.bibliotekaelblaska.pl/">Biblioteka Elbląska</a>, based on TNL, BŚ and BE resources.
 
 146                                 Hosting: <a href="http://www.icm.edu.pl/">ICM</a>.
 
 151                                 Modern Poland Foundation, 00-514 Warsaw, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17
 
 152                 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
 
 156             {% block add_footer %}{% endblock %}
 
 158                         {% sponsor_page "footer" %}
 
 165         <div id="ajaxable-window" class='dialog-window'>
 
 166             <div class="header mono"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
 
 168                 <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
 
 173         {% endblock bodycontent %}
 
 176         <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
 
 177         <script type="text/javascript">
 
 178             var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
 
 179             var STATIC_URL = "{{ STATIC_URL }}";
 
 181         {% compressed_js "base" %}
 
 183         <!--{{ piwik_tag|safe }}
 
 184         <script type="text/javascript">
 
 185         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
 186         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
 188         <script type="text/javascript">
 
 189         var pageTracker = _gat._getTracker("UA-2576694-1");
 
 190         pageTracker._trackPageview();