nofollow on tag refine links

git-svn-id: file:///home/shish/svn/shimmie2/trunk@161 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-06-14 12:34:17 +00:00
parent 9bab5f0c29
commit baf57f5c74

View file

@ -293,7 +293,7 @@ class TagList extends Extension {
else {
$tags = array_remove($tags, $tag);
$tags = array_remove($tags, "-$tag");
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Remove'>R</a>";
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Remove' rel='nofollow'>R</a>";
}
}
@ -304,7 +304,7 @@ class TagList extends Extension {
else {
$tags = array_remove($tags, "-$tag");
$tags = array_add($tags, $tag);
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Add'>A</a>";
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Add' rel='nofollow'>A</a>";
}
}
@ -315,7 +315,7 @@ class TagList extends Extension {
else {
$tags = array_remove($tags, $tag);
$tags = array_add($tags, "-$tag");
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Subtract'>S</a>";
return "<a href='".make_link("index", "search=".url_escape(join(' ', $tags)))."' title='Subtract' rel='nofollow'>S</a>";
}
}
// }}}