diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 00:06:51 +1100 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-11-19 00:06:51 +1100 |
| commit | f25365dec55a9dc93ad7f3f79b6ee46ff8343614 (patch) | |
| tree | aac3f63554a1cf98b37b3208b3b2683edcdbcea8 /templates/page.html | |
| parent | 3e28328dc9b064efc8a03000c82b4e05ac4148eb (diff) | |
Added `nojavascript` option in template files; made use of it in install.php. Pre-compiled default main.js no longer distributed with Tinyboard.
Diffstat (limited to 'templates/page.html')
| -rw-r--r-- | templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/page.html b/templates/page.html index e61e47da..d3049392 100644 --- a/templates/page.html +++ b/templates/page.html @@ -7,7 +7,7 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<link rel="stylesheet" type="text/css" id="stylesheet" href="{{ config.uri_stylesheets }}{{ config.default_stylesheet.1 }}" />
- <script type="text/javascript" src="{{ config.url_javascript }}"></script>
+ {% if not nojavascript %}<script type="text/javascript" src="{{ config.url_javascript }}"></script>{% endif %}
</head>
<body>
{% if pm %}<div class="top_notice">You have <a href="?/PM/{{ pm.id }}">an unread PM</a>{% if pm.waiting > 0 %}, plus {{ pm.waiting }} more waiting{% endif %}.</div><hr />{% endif %}
|
