4
4
This file is included by mainpage and contains all the left menu boxes
9
{% load wlprofile wlpoll wlevents%}
10
{% load pybb_extras secure_login %}
13
<h3 class="box_title">Search</h3>
14
<div class="box_content" align="center">
15
<form method="post" action="/search/">
16
<input id="id_search" type="text" name="search" maxlength="200" />
17
<input id="id_incl_wiki" type="hidden" name="incl_wiki" value="1" />
18
<input id="id_incl_news" type="hidden" name="incl_news" value="1" />
19
<input id="id_incl_maps" type="hidden" name="incl_maps" value="1" />
20
<input id="id_incl_help" type="hidden" name="incl_help" value="1" />
21
<input id="id_incl_forum" type="hidden" name="incl_forum" value="1" />
28
9
<h3 class="box_title">Donation</h3>
29
10
<div class="box_content" align="center">
30
Help us to pay our Server!<br/>(: Consider a donation :) <br/><br/>
32
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
33
<input type="hidden" name="cmd" value="_s-xclick" />
34
<input type="hidden" name="lc" value="GB">
35
<input type="hidden" name="hosted_button_id" value="JH5R7YHSVRMRG" />
36
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_SM.gif" name="submit" alt="PayPal - The safer, easier way to pay online!" />
37
<img alt="" src="https://www.paypal.com/de_DE/i/scr/pixel.gif" width="1" height="1" />
11
Help us to pay our Server!<br/>(: Consider a donation :) <br/>
12
<a href="http://sourceforge.net/donate/index.php?group_id=40163">
13
<img src="http://images.sourceforge.net/images/project-support.jpg"
14
align="center" alt="Donation pic" border="0" vspace=5 />
17
<a href="http://sourceforge.net/project/project_donations.php?group_id=40163">Donators</a>
42
<!-- Login Block / User informations -->
43
{% if user.is_authenticated %}
44
<h3 class="box_title">Account</h3>
45
<div class="box_content">
47
Welcome <b>{{ user|user_link }}</b>,<br />
48
you've <a href="{% url messages_inbox %}">{% inbox_count %}</a> new messages
52
<a href="{% url profile_edit %}">Edit Profile</a>
55
<a href="{% url notification_notices %} ">Notifications</a>
58
<a href="/accounts/logout/next={{ request.path }}">Logout</a>
20
<!-- Navigation Box -->
21
<h3 class="box_title">Main Menu</h3>
22
<div class="box_content">
24
<li><a class="menuMain" href="/">Home</a></li>
25
<li><a class="menuMain" href="{% url news_index %}">News</a> </li>
27
<a class="menuMain" href="http://xoops.widelands.org/modules/wfdownloads/">Downloads</a>
28
<li class="sub"><a href="t=hit">Popular</a></li>
29
<li class="sub"><a href="rate">Top Rated</a></li>
30
<a class="menuMain" href="http://xoops.widelands.org/modules/smartfaq/">FAQ</a>
31
<a class="menuMain" href="http://xoops.widelands.org/modules/xcgal/">Screenshots</a>
33
<li><a class="menuMain" href="{% url wiki_index %}">Wiki (Help & Docu.)</a></li>
34
<li><a class="menuMain" href="{% url pybb_index %}">Forum</a></li>
36
<a class="menuMain" href="http://xoops.widelands.org/modules/xpjirc/">IRC Chat</a>
37
<a class="menuMain" href="http://xoops.widelands.org/modules/Contentview/">SVN-View</a>
38
<a class="menuMain" href="http://xoops.widelands.org/modules/Tracker/">Bug-Tracker & Feature Requests</a>
39
<a class="menuMain" href="http://xoops.widelands.org/modules/poll/">Polls</a>
63
<h3 class="box_title">Login</h3>
64
<div class="box_content">
66
<a href="/accounts/login/?next={{ request.path }}">Click here to login</a><br/><br/>
67
<a href="/accounts/password/reset/">Lost password?</a><br/>
68
<a href="/accounts/register">Register now!</a><br/>
72
<!-- Current polls if any -->
73
{% get_open_polls as polls %}
76
<h3 class="box_title">Polls</h3>
77
<div class="box_content" align="center">
79
<div class="sub_content">
81
{% if not user.is_anonymous %}
82
{% if p.user_has_voted %}
83
<p>You already voted on this!</p>
85
<form method="post" action="{% url wlpoll_vote p.id %}">
86
<table class="poll_vote">
87
{% for c in p.choices.all %}
89
<td><input type="radio" name="choice_id" value="{{ c.id }}" /></td>
90
<td>{{ c.choice }}</td>
94
<input type="submit" value="Vote" />
99
<p>Log in to vote!</p>
101
<input type="button" value="Results" onclick="location='{% url wlpoll_detail p.id %}'" />
104
<a href="{% url wlpoll_archive %}">Archive</a>
109
<!-- Future Events if any -->
110
{% get_future_events as events %}
111
{% if events.count %}
112
<h3 class="box_title">Important Dates</h3>
113
<div class="box_content" align="center">
114
{% for e in events %}
116
<a href="{{e.link}}" class="link">{{e.name}}</a><br />
118
{{e.start_date|date:"d M"}}
119
{% ifnotequal e.start_date e.end_date %}
120
- {{e.end_date|date:"d M"}}
128
<!-- Logged in users -->
129
{%load online_users %}
130
{% online_users 10 %}
131
<h3 class="box_title">Most recently posted</h3>
132
<div class="box_content">
133
{% pybb_last_posts %}