2013-07-20 13:50:33 +02:00
< form style = "display:inline" action = "?/search" method = "post" >
< 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" >
2013-07-20 18:05:42 +02:00
< option value = "posts" { % if search_type = = ' posts ' % } selected { % endif % } > {% trans 'Posts' %}< / option >
2013-07-20 13:50:33 +02:00
{% if mod|hasPermission(config.mod.view_notes) and mod|hasPermission(config.mod.show_ip) %}
2013-07-20 18:05:42 +02:00
< option value = "IP_notes" { % if search_type = = ' IP_notes ' % } selected { % endif % } > {% trans 'IP address notes' %}< / option >
2013-07-20 13:50:33 +02:00
{% endif %}
{% if mod|hasPermission(config.mod.view_banlist) %}
2013-07-20 18:05:42 +02:00
< 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 >
2013-07-20 13:50:33 +02:00
{% endif %}
< / select >
< 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 >