Browse Source

synchronize catalog_link

pull/40/head
czaks 8 years ago
parent
commit
33ef3f9b01
  1. 4
      inc/config.php
  2. 4
      templates/thread.html

4
inc/config.php

@ -931,8 +931,8 @@
// Show page navigation links at the top as well. // Show page navigation links at the top as well.
$config['page_nav_top'] = false; $config['page_nav_top'] = false;
// Show "Catalog" link in page navigation. Use with the Catalog theme. // Show "Catalog" link in page navigation. Use with the Catalog theme. Set to false to disable.
// $config['catalog_link'] = 'catalog.html'; $config['catalog_link'] = 'catalog.html';
// Board categories. Only used in the "Categories" theme. // Board categories. Only used in the "Categories" theme.
// $config['categories'] = array( // $config['categories'] = array(

4
templates/thread.html

@ -62,7 +62,9 @@
<span id="thread-links"> <span id="thread-links">
<a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
<a id="thread-top" href="#top">[{% trans %}Go to top{% endtrans %}]</a> <a id="thread-top" href="#top">[{% trans %}Go to top{% endtrans %}]</a>
<a id="thread-catalog" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a> {% if config.catalog_link %}
<a id="thread-catalog" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a>
{% endif %}
</span> </span>
<span id="thread-quick-reply"> <span id="thread-quick-reply">

Loading…
Cancel
Save