1 <!-- template header.html -->
\r
2 {% load extra_tags %}
\r
8 {% if request.user.is_authenticated %}
\r
9 {% if request.user.is_superuser %}
\r
10 <a href="{% url admin_index %}">{% trans "administration" %}</a>
\r
12 {% user_signature_small_full request.user %}
\r
13 <a href="{% url logout %}">{% trans "logout" %}</a>
\r
15 <a href="{% url auth_signin %}">{% trans "login" %}</a>
\r
17 <a href="{% url about %}">{% trans "about" %}</a>
\r
18 <a href="{% url faq %}">{% trans "faq" %}</a>
\r
20 <table width="100%" border="0" cellspacing="0" cellpadding="0">
\r
24 <a href="{% url index %}">
\r
25 <img src="{{ settings.APP_LOGO }}" title="{% trans "back to home page" %}" alt="{{settings.APP_TITLE}} logo"/>
\r
29 <td width="77%" valign="bottom">
\r
31 <a id="nav_questions" href="{% url questions %}" >{% trans "questions" %}</a>
\r
32 <a id="nav_tags" href="{% url tags %}">{% trans "tags" %}</a>
\r
33 <a id="nav_users" href="{% url users %}">{% trans "users" %}</a>
\r
34 {% if settings.BOOKS_ON %}
\r
35 <a id="nav_books" href="{% url books %}">{% trans "books" %}</a>
\r
37 <a id="nav_badges" href="{% url badges %}">{% trans "badges" %}</a>
\r
38 <a id="nav_unanswered" href="{% url unanswered %}">{% trans "unanswered questions" %}</a>
\r
40 <a id="nav_ask" href="{% url search %}" class="special">{% trans "advanced search" %}</a>
\r
48 <div id="searchBar">
\r
49 <form action="{% url ask %}" method="post">
\r
50 <div id="ask_teaser">Your question:</div>
\r
51 <div id="ask_input">
\r
52 <input type="text" class="searchInput" value="{{ keywords }}" name="q" id="keywords" />
\r
53 <input type="submit" value="{% trans "GO" %}" name="go" id="go_btn" />
\r
58 <!-- end template header.html -->
\r