Browse Source

BugFix - Small BugFix to Archive and Voting (adding line of text)

main
PupperWoff 7 years ago
committed by discomrade
parent
commit
fca78a3a04
  1. 3
      inc/archive.php
  2. 2
      templates/mod/archive_featured_list.html
  3. 3
      templates/mod/archive_list.html

3
inc/archive.php

@ -277,7 +277,6 @@ class Archive {
'config' => $config,
'mod' => false,
'hide_dashboard_link' => true,
'board' => $board,
'boardlist' => createBoardList(false),
'title' => $title,
'subtitle' => "",
@ -337,9 +336,9 @@ class Archive {
'boardlist' => createBoardList(false),
'title' => $title,
'subtitle' => "",
'boardlist' => createBoardlist(),
'body' => Element("mod/archive_featured_list.html", array(
'config' => $config,
'board' => $board,
'archive' => $archive
))
));

2
templates/mod/archive_featured_list.html

@ -1,7 +1,7 @@
{% if config.archive.threads %}
<p style="text-align: center">
<a id="unimportant" href="{% if mod %}{{ config.file_mod }}?{% endif %}{{ config.root }}{{ board.dir }}{{ config.dir.archive }}">[{% trans %}Thread Archive{% endtrans %}]</a>
<a id="unimportant" href="{% if mod %}{{ config.file_mod }}?{% endif %}{{ config.root }}{{ board.dir }}{{ config.dir.archive }}">[{% trans %}Board Archive{% endtrans %}]</a>
</p>
{% endif %}

3
templates/mod/archive_list.html

@ -9,7 +9,8 @@
</p>
{% endif %}
<p style="text-align: center">
<b>{% trans 'Displaying' %} {{ thread_count }} {% trans 'expired threads' %}{% if config.archive.lifetime %} {% trans 'from the past' %} {{ config.archive.lifetime }} {% trans 'days' %}{% endif %}</b>
<b>{% trans 'Displaying' %} {{ thread_count }} {% trans 'expired threads' %}{% if config.archive.lifetime %} {% trans 'from the past' %} {{ config.archive.lifetime }}{% endif %}</b><br/>
<small>Vote for a thread to be added to the featured archive</small>
</p>
<table id="archive-list" class="archive-list modlog">

Loading…
Cancel
Save