Nicer menu.
[prawokultury.git] / prawokultury / templates / base.html
index 57ea892..5f200a5 100755 (executable)
@@ -1,7 +1,8 @@
 <!DOCTYPE html>
 {% load url from future %}
 {% load i18n static %}
 <!DOCTYPE html>
 {% load url from future %}
 {% load i18n static %}
-{% load common_tags migdal_tags share %}
+{% load fnp_common migdal_tags fnp_share fnp_lang menu_tags %}
+{% load sponsor_tags %}
 {% load compressed %}
 <html prefix="og: http://ogp.me/ns#">
     <head>
 {% load compressed %}
 <html prefix="og: http://ogp.me/ns#">
     <head>
 
         <div id="menu-bar">
         <div class="bar-right">
 
         <div id="menu-bar">
         <div class="bar-right">
-            <form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
+            <!--form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
-            </button></form>
+            </button></form-->
         </div>
         <ul id="menu" class="bar-left">
             {% block "main_menu" %}
         </div>
         <ul id="menu" class="bar-left">
             {% block "main_menu" %}
-                {% main_menu 'url' request.get_full_path %}
+                {% main_menu %}
             {% endblock %}
             {% endblock %}
+            <li id="item-lang">{% lang_switcher %}</li>
         </ul>
         <div style="clear: both;"></div>
         </div>
         </ul>
         <div style="clear: both;"></div>
         </div>
@@ -52,7 +54,7 @@
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
         <div id="sidebar" class="bar-right">
             {% block "sidebar" %}
                 <div class="sidebar-box">
-                    (Sponsorzy)
+                    {% sponsor_page 'main' %}
                 </div>
             {% endblock %}
         </div>
                 </div>
             {% endblock %}
         </div>