summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 07:40:03 +1100
committerSavetheinternet <savetheinternet@tinyboard.org>2011-11-16 07:40:03 +1100
commita48572119e463e95298fd813c9efd93701995038 (patch)
tree430ea4a51b27d93d247dc3e43710818020f7abf4
parent1ca037732fff95610bd37061db792f9de2a627b5 (diff)
Added rel="directory" to "return" links
-rw-r--r--inc/display.php2
-rw-r--r--templates/thread.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/inc/display.php b/inc/display.php
index 655aaf22..f0c426f8 100644
--- a/inc/display.php
+++ b/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> /';
}
}
}
diff --git a/templates/thread.html b/templates/thread.html
index 01063c1b..4f865206 100644
--- a/templates/thread.html
+++ b/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>