]> git.openstreetmap.org Git - osqa.git/blob - forum/skins/default/templates/header.html
Erroneous setting being used.
[osqa.git] / forum / skins / default / templates / header.html
1 <!-- template header.html -->
2 {% load extra_tags ui_registry i18n extra_filters markup %}
3
4         <div id="roof">
5           
6                 <div id="logo">
7                         <a href="{% url index %}">
8                                 <img src="{{ settings.APP_LOGO }}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
9                         </a>
10                 </div>
11           
12                 <div id="top">
13                     {% loadregistry header_links %}{% endloadregistry %}
14                 </div>
15
16     <div id="nav">
17         {% loopregistry page_top_tabs %}{% spaceless %}
18             <a id="nav_{{ tab_name }}"{% ifequal tab tab_name %} class="on"{% endifequal %} href="{{ tab_url }}" >{{ tab_title }}</a>
19         {% endspaceless %}{% endloopregistry %}
20         <a id="nav_ask" href="{% url ask %}" class="special">{% trans "ask a question" %}</a>
21     </div>
22   </div>
23
24   <div class="clear"></div>
25   
26         <div id="searchBar">
27     <form action="{% url search %}" method="get">
28         <div>
29             <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
30             <input type="submit" name="Submit" value="{% trans "search" %}" class="searchBtn" />
31         </div>
32         <div class="options">
33             <input id="type-question" type="radio" value="question" name="t" 
34                 checked="checked" /><label for="type-question">{% trans "questions" %}</label>
35             <input id="type-tag" type="radio" value="tag" name="t" /><label for="type-tag">{% trans "tags" %}</label>
36             <input id="type-user" type="radio" value="user" name="t" /><label for="type-user">{% trans "users" %}</label>
37         </div>
38     </form>     
39         </div>
40
41         {% if settings.USE_ANNOUNCEMENT_BAR|or_preview:request %}
42   <div id="announcement">
43       {{ settings.ANNOUNCEMENT_BAR|or_preview:request|markdown:"settingsparser" }}
44   </div>
45   {% endif %}
46
47 <!-- end template header.html -->