3 {% load cache compressed i18n %}
4 {% load catalogue_tags reporting_stats sponsor_tags %}
6 <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
7 <meta name="description"
8 content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
9 <title>{% block title %}{% trans "Wolne Lektury" %} ::
10 {% block titleextra %}{% endblock %}{% endblock %}</title>
11 <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
12 <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml" />
13 {% compressed_css "all" %}
18 <body id="{% block bodyid %}base{% endblock %}">
20 {% block bodycontent %}
24 <div id="header-content">
26 <a class="logo" href="/">
32 {% cache 60 tagline LANGUAGE_CODE %}
33 {% url book_list as b %}
34 {% url book_list as r %}
35 {% count_books book_count %}
36 {% blocktrans count book_count as c %}
37 <a href='{{b}}'>{{c}}</a> free reading you have <a href='{{r}}'>right to</a>
39 <a href='{{b}}'>{{c}}</a> free readings you have <a href='{{r}}'>right to</a>
45 <p id="user-info" class="mono">
46 {% if user.is_authenticated %}
47 {% trans "Welcome" %}, <strong>{{ user.username }}</strong>
48 | <a href="{% url social_my_shelf %}" id="user-shelves-link">{% trans "My shelf" %}</a>
49 {% if user.is_staff %}
50 | <a href="/admin/">{% trans "Administration" %}</a>
52 | <a href="{% url logout %}?next={% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
54 <a href="{% url login %}?next={{ request.path }}"
55 id="login" class="ajaxable">
56 {% trans "Sign in" %}</a>
58 <a href="{% url register %}?next={{ request.path }}"
59 id="register" class="ajaxable">
60 {% trans "Register" %}</a>
65 <div class="clearboth"></div>
70 <div id="half-header">
71 <div id="half-header-content">
75 <form id="search-area" action="/fullsearch/">
77 <div id="search-field" class="grid-line">
79 <!-- <input title="np. Leśmian" name="q" autocomplete="off" data-source="/fullsearch/hint/">-->
80 </div><div id="search-button">
81 <button type='submit'><span class="mono">{% trans "Search" %}</span></button>
84 <div class="clearboth"></div>
94 <div id="main-content">
97 {% cache 60 catalogue-menu LANGUAGE_CODE %}
101 <form action="{% url django.views.i18n.set_language %}" method="post">
103 <span id='lang-button' class='mono'>
104 {% trans "Language versions" %}</span>
105 <div id="lang-menu-items">
106 {% for lang in LANGUAGES %}
107 <button type="submit" name="language"
108 class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} mono"
109 value="{{ lang.0 }}">{{ lang.1 }}</button>
116 <div class="clearboth"></div>
126 <div class="clearboth"></div>
128 </div>{# end main-content #}
132 <div id="footer-content">
135 Wolne Lektury is a project lead by <a href="http://nowoczesnapolska.org.pl/">Modern Poland Foundation</a>.
136 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.
137 Hosting: <a href="http://www.icm.edu.pl/">ICM</a>.
142 Modern Poland Foundation, 00-514 Warsaw, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17
143 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
147 {% block add_footer %}{% endblock %}
149 {% sponsor_page "footer" %}
156 <div id="ajaxable-window" class='dialog-window'>
157 <div class="header mono"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
159 <p><img src="{{ STATIC_URL }}img/indicator.gif" alt="*"/> {% trans "Loading" %}</p>
164 {% endblock bodycontent %}
167 <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
168 <script type="text/javascript">
169 var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";
170 var STATIC_URL = "{{ STATIC_URL }}";
172 {% compressed_js "base" %}
174 <!--{{ piwik_tag|safe }}
175 <script type="text/javascript">
176 var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
177 document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
179 <script type="text/javascript">
180 var pageTracker = _gat._getTracker("UA-2576694-1");
181 pageTracker._trackPageview();