Browse Source

Added rel="directory" to "return" links

pull/40/head
Savetheinternet 13 years ago
parent
commit
a48572119e
  1. 2
      inc/display.php
  2. 4
      templates/thread.html

2
inc/display.php

@ -36,7 +36,7 @@
if(($key = array_search($board, $list)) && gettype($key) == 'string') {
$body .= ' <a href="' . $board . '">' . $key . '</a> /';
} else {
$body .= ' <a href="' . $root . $board . '/' . $config['file_index'] . '">' . $board . '</a> /';
$body .= ' <a rel="directory" href="' . $root . $board . '/' . $config['file_index'] . '">' . $board . '</a> /';
}
}
}

4
templates/thread.html

@ -32,7 +32,7 @@
<h1>{{ board.url }} - {{ board.name }}</h1>
<div class="title">{% if board.title %}{{ board.title }}{% endif %}<p>{% if mod %}<a href="?/">Return to dashboard</a>{% endif %}</p></div>
<div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
<div class="banner">{% trans %}Posting mode: Reply{% endtrans %} <a rel="directory" class="unimportant" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a></div>
<form name="post" onsubmit="return dopost(this);" enctype="multipart/form-data" action="{{ config.post_url }}" method="post">
{{ hidden_inputs }}
<input type="hidden" name="thread" value="{{ id }}" />
@ -146,7 +146,7 @@
<input type="submit" name="report" value="{% trans %}Report{% endtrans %}" />
</div>
</form>
<a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
<a rel="directory" href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
{{ boardlist.bottom }}
<p class="unimportant" style="margin-top:20px;text-align:center;">Powered by <a href="http://tinyboard.org/">Tinyboard</a> {{ config.version }} | <a href="http://tinyboard.org/">Tinyboard</a> Copyright &copy; 2010-2011 Tinyboard Development Group</p>

Loading…
Cancel
Save