diff options
| author | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-20 12:05:42 -0400 |
|---|---|---|
| committer | Michael Foster <savetheinternet@tinyboard.org> | 2013-07-20 12:05:42 -0400 |
| commit | b776e0a7f005846d80716febc12f8cdf40d1d149 (patch) | |
| tree | ea4bf020913ba3e301c0711497626e632f2f0f4c /templates/mod/search_form.html | |
| parent | e62b83e79c8ed3b9ddf6e7e4b8bdeedc0d319ff4 (diff) | |
Search update
Diffstat (limited to 'templates/mod/search_form.html')
| -rw-r--r-- | templates/mod/search_form.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/mod/search_form.html b/templates/mod/search_form.html index c74121fd..d8a2fed4 100644 --- a/templates/mod/search_form.html +++ b/templates/mod/search_form.html @@ -2,12 +2,15 @@ <label style="display:inline" for="search">{% trans 'Phrase:' %}</label> <input id="search" name="query" type="text" size="60" value="{{ search_query|e }}"> <select name="type"> - <option value="posts"{% if search_type == 'posts'%} selected{% endif %}>Posts</option> + <option value="posts"{% if search_type == 'posts'%} selected{% endif %}>{% trans 'Posts' %}</option> {% if mod|hasPermission(config.mod.view_notes) and mod|hasPermission(config.mod.show_ip) %} - <option value="IP_notes"{% if search_type == 'IP_notes'%} selected{% endif %}>IP address notes</option> + <option value="IP_notes"{% if search_type == 'IP_notes'%} selected{% endif %}>{% trans 'IP address notes' %}</option> {% endif %} {% if mod|hasPermission(config.mod.view_banlist) %} - <option value="bans"{% if search_type == 'bans'%} selected{% endif %}>Bans</option> + <option value="bans"{% if search_type == 'bans'%} selected{% endif %}>{% trans 'Bans' %}</option> + {% endif %} + {% if mod|hasPermission(config.mod.modlog) %} + <option value="log"{% if search_type == 'log'%} selected{% endif %}>{% trans 'Moderation log' %}</option> {% endif %} </select> <input type="submit" value="{% trans 'Search' %}"> |
