2012-04-12 19:29:08 -04:00
< fieldset >
2012-04-20 07:54:30 -04:00
< legend > {% trans 'Boards' %}< / legend >
2012-04-12 19:29:08 -04:00
< ul >
{% for board in boards %}
< li >
< a href = "?/{{ config.board_path|sprintf(board.uri) }}{{ config.file_index }}" > {{ config.board_abbreviation|sprintf(board.uri) }}< / a >
-
2012-05-05 11:33:10 -04:00
{{ board.title|e }}
2012-04-12 19:29:08 -04:00
{% if board.subtitle %}
2012-05-05 11:33:10 -04:00
< small > — {{ board.subtitle|e }}< / small >
2012-04-12 19:29:08 -04:00
{% endif %}
{% if mod|hasPermission(config.mod.manageboards) %}
2012-05-05 11:33:10 -04:00
< a href = "?/edit/{{ board.uri }}" > < small > [{% trans 'edit' %}]< / small > < / a >
2012-04-12 19:29:08 -04:00
{% endif %}
< / li >
{% endfor %}
{% if mod|hasPermission(config.mod.newboard) %}
2012-05-05 11:33:10 -04:00
< li style = "margin-top:15px" > < a href = "?/new-board" > < strong > {% trans 'Create new board' %}< / strong > < / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
< / ul >
< / fieldset >
2012-05-05 11:33:10 -04:00
< fieldset >
< legend > {% trans 'Messages' %}< / legend >
< ul >
{% if mod|hasPermission(config.mod.noticeboard) %}
2012-04-20 22:42:41 -04:00
{% if noticeboard|count > 0 %}
2012-04-20 07:54:30 -04:00
< li >
2012-05-05 11:33:10 -04:00
{% trans 'Noticeboard' %}:
2012-04-20 07:54:30 -04:00
< ul >
{% for post in noticeboard %}
< li >
< a href = "?/noticeboard#{{ post.id }}" >
{% if post.subject %}
{{ post.subject|e }}
{% else %}
< em > {% trans 'no subject' %}< / em >
{% endif %}
< / a >
< small class = "unimportant" >
— by
{% if post.username %}
2012-05-05 11:33:10 -04:00
{{ post.username|e }}
2012-04-20 07:54:30 -04:00
{% else %}
< em > deleted?< / em >
{% endif %}
at
2012-05-19 07:12:40 -04:00
{{ post.time|date(config.post_date) }}
2012-04-20 07:54:30 -04:00
< / small >
< / li >
{% endfor %}
< / ul >
< / li >
{% endif %}
2012-08-27 12:24:29 -04:00
< li > < a href = "?/noticeboard" > {% trans 'View all noticeboard entries' %}< / a > < / li >
2012-05-05 11:33:10 -04:00
{% endif %}
< li > < a href = "?/news" > {% trans 'News' %}< / a > < / li >
< li >
< a href = "?/inbox" >
2012-05-28 03:08:29 -04:00
{% trans 'PM inbox' %}
{% if unread_pms > 0 %}< strong > {%endif %}({{ unread_pms }} unread){% if unread_pms > 0 %}< / strong > {%endif %}
2012-05-05 11:33:10 -04:00
< / a >
< / li >
< / ul >
< / fieldset >
2012-04-12 19:29:08 -04:00
< fieldset >
2012-04-20 07:54:30 -04:00
< legend > {% trans 'Administration' %}< / legend >
2012-04-12 19:29:08 -04:00
< ul >
{% if mod|hasPermission(config.mod.reports) %}
2012-05-25 07:40:01 -04:00
< li >
{% if reports > 0 %}< strong > {% endif %}
< a href = "?/reports" > {% trans 'Report queue' %} ({{ reports }})< / a >
{% if reports > 0 %}< / strong > {% endif %}
< / li >
2012-04-12 19:29:08 -04:00
{% endif %}
{% if mod|hasPermission(config.mod.view_banlist) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/bans" > {% trans 'Ban list' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
{% if mod|hasPermission(config.mod.manageusers) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/users" > {% trans 'Manage users' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% elseif mod|hasPermission(config.mod.change_password) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/users/{{ mod.id }}" > {% trans 'Change password' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
2012-08-12 10:18:13 -04:00
{% if mod|hasPermission(config.mod.themes) %}
< li > < a href = "?/themes" > {% trans 'Manage themes' %}< / a > < / li >
{% endif %}
2012-04-12 19:29:08 -04:00
{% if mod|hasPermission(config.mod.modlog) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/log" > {% trans 'Moderation log' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
{% if mod|hasPermission(config.mod.rebuild) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/rebuild" > {% trans 'Rebuild' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
{% if mod|hasPermission(config.mod.show_config) %}
2012-04-20 07:54:30 -04:00
< li > < a href = "?/config" > {% trans 'Configuration' %}< / a > < / li >
2012-04-12 19:29:08 -04:00
{% endif %}
2012-08-12 10:18:13 -04:00
2012-04-12 19:29:08 -04:00
< / ul >
< / fieldset >
< fieldset >
2012-04-20 07:54:30 -04:00
< legend > {% trans 'Search' %}< / legend >
2012-04-12 19:29:08 -04:00
2012-08-27 12:24:29 -04:00
< ul >
< li >
< form style = "display:inline" action = "?/search" method = "post" >
< label style = "display:inline" for = "search" > {% trans 'Phrase:' %}< / label >
< input id = "search" name = "search" type = "text" size = "35" >
< input type = "submit" value = "{% trans 'Search' %}" >
< / form >
< p class = "unimportant" > {% trans '(Search is case-insensitive, and based on keywords. To match exact phrases, use "quotes". Use an asterisk (*) for wildcard.)' %}< / p >
< / li >
< / ul >
2012-04-12 19:29:08 -04:00
< / fieldset >
2012-04-16 06:11:10 -04:00
{% if config.debug %}
< fieldset >
2012-04-20 07:54:30 -04:00
< legend > {% trans 'Debug' %}< / legend >
2012-04-16 06:11:10 -04:00
< ul >
2012-04-20 07:54:30 -04:00
< li > < a href = "?/debug/antispam" > {% trans 'Anti-spam' %}< / a > < / li >
2012-04-16 06:11:10 -04:00
< / ul >
< / fieldset >
{% endif %}
2012-05-05 11:33:10 -04:00
{% if newer_release %}
< fieldset >
< legend > Update< / legend >
< ul >
< li >
A newer version of Tinyboard
(< strong > v{{ newer_release.massive }}.{{ newer_release.major }}.{{ newer_release.minor }}< / strong > ) is available!
See < a href = "http://tinyboard.org" > http://tinyboard.org/< / a > for upgrade instructions.
< / li >
< / ul >
< / fieldset >
{% endif %}
< fieldset >
< legend > {% trans 'User account' %}< / legend >
< ul >
< li > < a href = "?/logout" > {% trans 'Logout' %}< / a > < / li >
< / ul >
< / fieldset >