summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorlanc33 <lancee@55ch.org>2013-05-29 19:16:37 -0300
committerlanc33 <lancee@55ch.org>2013-05-29 19:16:37 -0300
commit0e490407e18679de2458647b891edaeb664a2f8f (patch)
treea933fdcd2a5ed93c229ee7ca4ed023a36c712a0d /templates
parentb9140f3c079c925092dd7a6d53ed05226888756a (diff)
Fixes #59 by making quick-reply.js agnostic to the value of $config['button_reply'].
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
index 761227ed..112756d1 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -10,6 +10,11 @@
{% if config.default_stylesheet.1 != '' %}<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}">{% endif %}
{% if not nojavascript %}
<script type="text/javascript" src="{{ config.url_javascript }}"></script>
+ {% if config.quick_reply %}
+ <script type="text/javascript">
+ var new_reply_string = "{{ config.button_reply }}";
+ </script>
+ {% endif %}
{% if not config.additional_javascript_compile %}
{% for javascript in config.additional_javascript %}<script type="text/javascript" src="{{ config.additional_javascript_url }}{{ javascript }}"></script>{% endfor %}
{% endif %}