From 2a760de2896a02af98caa013537166b5d3fcc717 Mon Sep 17 00:00:00 2001 From: Michael Save Date: Wed, 14 Mar 2012 21:44:41 +1100 Subject: Multiple changes. Added $config['minify_js'] to compress Javascript with minify Added $config['additional_javascript_compile'] to put all Javascript files/addons into one file. Moved delete/report post controls to a shared template. Ability to have different Javascript files between boards. --- templates/index.html | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'templates/index.html') diff --git a/templates/index.html b/templates/index.html index 19798292..6c9b8dab 100644 --- a/templates/index.html +++ b/templates/index.html @@ -8,7 +8,12 @@ {% if config.meta_keywords %}{% endif %} - {% if not nojavascript %}{% for javascript in config.additional_javascript %}{% endfor %}{% endif %} + {% if not nojavascript %} + + {% if not config.additional_javascript_compile %} + {% for javascript in config.additional_javascript %}{% endfor %} + {% endif %} + {% endif %} {% if config.recaptcha %}