diff options
Diffstat (limited to 'templates/mod/dashboard.html')
| -rw-r--r-- | templates/mod/dashboard.html | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/templates/mod/dashboard.html b/templates/mod/dashboard.html index e54b3cd3..619663f5 100644 --- a/templates/mod/dashboard.html +++ b/templates/mod/dashboard.html @@ -101,22 +101,17 @@ </ul> </fieldset> -{# +{% if mod|hasPermission(config.mod.search) %} <fieldset> <legend>{% trans 'Search' %}</legend> <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> + {% include 'mod/search_form.html' %} </li> </ul> </fieldset> -#} +{% endif %} {% if config.debug %} <fieldset> |
