diff --git a/inc/config.php b/inc/config.php index db424e36..c206e167 100644 --- a/inc/config.php +++ b/inc/config.php @@ -1641,6 +1641,9 @@ // Enable the search form $config['search']['enable'] = false; + // Enable search in the board index. + $config['board_search'] = false; + // Maximal number of queries per IP address per minutes $config['search']['queries_per_minutes'] = Array(15, 2); diff --git a/templates/index.html b/templates/index.html index 1be614e3..e18279eb 100644 --- a/templates/index.html +++ b/templates/index.html @@ -57,6 +57,17 @@ {% if config.global_message %}
{{ config.global_message }}
{% endif %}
+ + {% if config.board_search %} +
+

+ + + +

+
+ {% endif %} +
{% if mod %}{% endif %}