blob: cf0f9bb724c0b790430bd0482f649e3c20c943b4 (
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
39
40
|
<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 name="search" class="text"
placeholder="{{ i18n('messages','label.search') }}" value="{{ search | default('') }}"/>
</form>
</div>
<div 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>
{% if visitor.getUid() > 0 %}
{% include "views/partial/newmessage" %}
{% endif %}
{% else %}
<p>{{ i18n("messages","message.loginForSending", "/login") | raw }}.</p>
{% endif %}
</div>
</header>
|