Showing/hiding main funding banner
[wolnelektury.git] / apps / wolnelektury_core / templates / superbase.html
index a5c9c25..0d1ffa6 100644 (file)
@@ -2,7 +2,7 @@
 <html lang="{{ LANGUAGE_CODE }}" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#">
        {% load cache compressed i18n %}
        {% load static from staticfiles %}
-    {% load catalogue_tags reporting_stats sponsor_tags %}
+    {% load catalogue_tags funding_tags reporting_stats sponsor_tags %}
     <head>
         <meta charset="utf-8">
         <meta name="application-name" content="Wolne Lektury" />
@@ -35,7 +35,7 @@
         {% include "annoy.html" %}
 
         {% block bodycontent %}
-
+        {% funding link=1 closeable=1 add_class="funding-top-header" %}
                <div id="header-bg"></div>
 
         <div id="header">
         </div>
 
 
-
         <div id="main-content">
-
+            
             <div id="nav-line">
                 {% catalogue_menu %}
 
         {% compressed_js "base" %}
 
         {{ piwik_tag|safe }}
-        <script type="text/javascript">
-        var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
-        document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
-        </script>
-        <script type="text/javascript">
-        var pageTracker = _gat._getTracker("UA-2576694-1");
-        pageTracker._trackPageview();
-        </script>
 
                {% block extrabody %}
                {% endblock %}