search engines should not follow voting links (not that they are visible to them)

git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@441 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
cweiske 2009-10-27 20:40:12 +00:00
parent b9e269b595
commit 4bf8c2fff9

View file

@ -16,7 +16,7 @@ if (isset($row['hasVoted']) && !$row['hasVoted']) {
echo '<span class="' . $classes . '">'; echo '<span class="' . $classes . '">';
if (isset($row['hasVoted']) && !$row['hasVoted']) { if (isset($row['hasVoted']) && !$row['hasVoted']) {
echo '<a class="vote-for" href="' echo '<a class="vote-for" rel="nofollow" href="'
. createVoteURL(true, $row['bId']) . '">+</a>'; . createVoteURL(true, $row['bId']) . '">+</a>';
} else { } else {
echo '<span class="vote-for-inactive">+</span>'; echo '<span class="vote-for-inactive">+</span>';
@ -25,7 +25,7 @@ if (isset($row['hasVoted']) && !$row['hasVoted']) {
echo '<span class="voting">' . $row['bVoting'] . '</span>'; echo '<span class="voting">' . $row['bVoting'] . '</span>';
if (isset($row['hasVoted']) && !$row['hasVoted']) { if (isset($row['hasVoted']) && !$row['hasVoted']) {
echo '<a class="vote-against" href="' echo '<a class="vote-against" rel="nofollow" href="'
. createVoteURL(false, $row['bId']) . '">-</a>'; . createVoteURL(false, $row['bId']) . '">-</a>';
} else { } else {
echo '<span class="vote-against-inactive">-</span>'; echo '<span class="vote-against-inactive">-</span>';