1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-30 18:24:29 +01:00

Added rel="directory" to "return" links

This commit is contained in:
Savetheinternet 2011-11-16 07:40:03 +11:00
parent 1ca037732f
commit a48572119e
2 changed files with 3 additions and 3 deletions

View File

@ -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> /';
}
}
}

View File

@ -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>