The version of vichan running on lainchan.org
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

87 рядки
4.0KB

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <script type="text/javascript">
  6. var active_page = "thread"
  7. , board_name = "{{ board.uri }}"
  8. , thread_id = "{{ thread.id }}";
  9. </script>
  10. {% include 'header.html' %}
  11. {% set meta_subject %}{% if config.thread_subject_in_title and thread.subject %}{{ thread.subject|e }}{% else %}{{ thread.body_nomarkup[:256]|remove_modifiers|e }}{% endif %}{% endset %}
  12. <meta name="description" content="{{ board.url }} - {{ board.title|e }} - {{ meta_subject }}" />
  13. <meta name="twitter:card" value="summary">
  14. <meta property="og:title" content="{{ meta_subject }}" />
  15. <meta property="og:type" content="article" />
  16. <meta property="og:url" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.res }}{{ thread.id }}.html" />
  17. {% if thread.files.0.thumb %}<meta property="og:image" content="{{ config.domain }}/{{ board.uri }}/{{ config.dir.thumb }}{{ thread.files.0.thumb }}" />{% endif %}
  18. <meta property="og:description" content="{{ thread.body_nomarkup|e }}" />
  19. <title>{{ board.url }} - {{ meta_subject }}</title>
  20. </head>
  21. <body class="8chan vichan {% if mod %}is-moderator{% else %}is-not-moderator{% endif %}" data-stylesheet="{% if config.default_stylesheet.1 != '' %}{{ config.default_stylesheet.1 }}{% else %}default{% endif %}">
  22. {{ boardlist.top }}
  23. {% 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 %}
  24. {% if config.url_banner %}<img class="board_image" src="{{ config.url_banner }}" {% if config.banner_width or config.banner_height %}style="{% if config.banner_width %}width:{{ config.banner_width }}px{% endif %};{% if config.banner_width %}height:{{ config.banner_height }}px{% endif %}" {% endif %}alt="" />{% endif %}
  25. <header>
  26. <h1>{{ board.url }} - {{ board.title|e }}</h1>
  27. <div class="subtitle">
  28. {% if board.subtitle %}
  29. {% if config.allow_subtitle_html %}
  30. {{ board.subtitle }}
  31. {% else %}
  32. {{ board.subtitle|e }}
  33. {% endif %}
  34. {% endif %}
  35. {% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
  36. </div>
  37. </header>
  38. {% include 'attention_bar.html' %}
  39. <div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a class="unimportant" href="javascript:window.scrollTo(0,document.body.scrollHeight);
  40. ">[{% trans %}Go to bottom {% endtrans %}]</a></div>
  41. {{ config.ad.top }}
  42. {% include 'post_form.html' %}
  43. {% if config.global_message %}<hr /><div class="blotter">{{ config.global_message }}</div>{% endif %}
  44. <hr />
  45. <a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
  46. <a href="#bottom" style="padding-left: 10px">[{% trans %}Go to bottom{% endtrans %}]</a>
  47. <hr />
  48. <form name="postcontrols" action="{{ config.post_url }}" method="post">
  49. <input type="hidden" name="board" value="{{ board.uri }}" />
  50. {% if mod %}<input type="hidden" name="mod" value="1" />{% endif %}
  51. {{ body }}
  52. {% include 'report_delete.html' %}
  53. </form>
  54. <span id="thread-links">
  55. <a id="thread-return" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
  56. <a id="thread-top" href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a>
  57. <a id="thread-catalog" style="padding-left: 10px" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a>
  58. </span>
  59. {{ boardlist.bottom }}
  60. {{ config.ad.bottom }}
  61. <footer>
  62. <p class="unimportant" style="margin-top:20px;text-align:center;">- Tinyboard +
  63. <a href="https://engine.vichan.net/">vichan</a> {{ config.version }} -
  64. <br>Tinyboard Copyright &copy; 2010-2014 Tinyboard Development Group
  65. <br><a href="https://engine.vichan.net/">vichan</a> Copyright &copy; 2012-2016 vichan-devel</p>
  66. {% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
  67. </footer>
  68. <script type="text/javascript">{% raw %}
  69. ready();
  70. {% endraw %}</script>
  71. </body>
  72. </html>