blob: 60019ab1db9753c85e71dfd2d011e584a150a289 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
<header>
<div id="logo"><a href="/">Juick</a></div>
<nav id="global">
<ul>
<li><a href="/">{{ i18n("messages","link.popular") }}</a></li>
<li><a href="/?show=all" rel="nofollow">{{ i18n("messages","link.allMessages") }}</a></li>
<li><a href="/?show=photos" rel="nofollow">{{ i18n("messages","link.withPhotos") }}</a></li>
</ul>
</nav>
<div id="search">
<form action="/">
<input type="text" name="search" class="text"
placeholder="{{ i18n('messages','label.search') }}" value="{{ search | default('') }}"/>
</form>
</div>
<section id="headdiv">
{% if visitor.getUID() > 0 %}
<nav id="user">
<ul>
<li><a href="/?show=my">{{ i18n("messages","link.my") }}</a></li>
<li><a href="/pm/inbox">{{ i18n("messages","link.privateMessages") }}</a></li>
<li><a href="/?show=discuss">{{ i18n("messages","link.discuss") }}</a></li>
<li><a href="/?show=recommended">{{ i18n("messages","link.recommended") }}</a></li>
</ul>
</nav>
<nav id="actions">
<ul>
<li><a href="/#post">{{ i18n("messages","link.postMessage") }}</a></li>
<li><a href="/{{ visitor.getName() }}">@{{ visitor.getName() }}</a></li>
<li><a href="/logout">{{ i18n("messages","link.logout") }}</a></li>
</ul>
</nav>
{% else %}
<p>{{ i18n("messages","message.loginForSending", "/login") | raw }}</a>.
</p>
{% endif %}
</section>
</header>
|