Browse Source

Merge pull request #67 from AshtonHarding/master

Update zine.html & banned.html & re-added spoiler button in post
pull/40/head
Michael Walker 8 years ago
committed by GitHub
parent
commit
8dcb5c7d3b
  1. 1
      templates/banned.html
  2. 2
      templates/post_form.html
  3. 5
      templates/themes/zine/zine.html

1
templates/banned.html

@ -1,6 +1,7 @@
{% filter remove_whitespace %}
{# Automatically removes unnecessary whitespace #}
<div class="ban">
<iframe width="420" height="315" src="https://www.youtube.com/embed/FXPKJUE86d0" frameborder="0" allowfullscreen></iframe>
{% if ban.expires and time() >= ban.expires %}
<h2>{% trans %}You were banned! ;_;{% endtrans %}</h2>
{% else %}

2
templates/post_form.html

@ -52,6 +52,7 @@
<td>
<input style="float:left;" type="text" name="subject" size="25" maxlength="100" autocomplete="off">
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label>
</td>
</tr>
{% endif %}
@ -66,6 +67,7 @@
{% if not (not (config.field_disable_subject or (id and config.field_disable_reply_subject)) or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
{% if not (not config.field_disable_email or (mod and post.mod|hasPermission(config.mod.bypass_field_disable, board.uri))) %}
<input accesskey="s" style="margin-left:2px;" type="submit" name="post" value="{% if id %}{{ config.button_reply }}{% else %}{{ config.button_newtopic }}{% endif %}" />
<input id="spoiler" name="spoiler" type="checkbox"><label for="spoiler">Spoiler Image</label> <!-- General idea, but it might need those {% code %}-->
{% endif %}
{% endif %}
</td>

5
templates/themes/zine/zine.html

@ -59,8 +59,9 @@
<span>download</span>
</h2>
<div class="cont">
<a href="2015-04-20.pdf"><img src="2015-04-20.jpg"/><br/><span>01</span></a>
<a href="2015-08-28.pdf"><img src="2015-08-28.jpg"/><br/><span>02</span></a>
<a href="http://lainzine.neocities.org/all-releases/lainzine01.pdf"><img src="http://lainzine.neocities.org/img/lainzine01.png"/><br/><span>01</span></a>
<a href="http://lainzine.neocities.org/all-releases/lainzine02.pdf"><img src="http://lainzine.neocities.org/img/lainzine02.png"/><br/><span>02</span></a>
<a href="http://lainzine.neocities.org/all-releases/lainzine03.pdf"><img src="http://lainzine.neocities.org/img/lainzine03.png"/><br/><span>03</span></a>
</div>
</div>
</body>

Loading…
Cancel
Save