]> gitweb.fluxo.info Git - semanticscuttle.git/commitdiff
search engines should not follow voting links (not that they are visible to them)
authorcweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 27 Oct 2009 20:40:12 +0000 (20:40 +0000)
committercweiske <cweiske@b3834d28-1941-0410-a4f8-b48e95affb8f>
Tue, 27 Oct 2009 20:40:12 +0000 (20:40 +0000)
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@441 b3834d28-1941-0410-a4f8-b48e95affb8f

data/templates/bookmarks-vote.inc.tpl.php

index 58842845be2aca1f0002bbbaed5896c8b770df14..5979827e4bbe0057c980900d8754e59e4a84613a 100644 (file)
@@ -16,7 +16,7 @@ if (isset($row['hasVoted']) && !$row['hasVoted']) {
 echo '<span class="' . $classes . '">';
 
 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>';
 } else {
     echo '<span class="vote-for-inactive">+</span>';
@@ -25,7 +25,7 @@ if (isset($row['hasVoted']) && !$row['hasVoted']) {
 echo '<span class="voting">' . $row['bVoting'] . '</span>';
 
 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>';
 } else {
     echo '<span class="vote-against-inactive">-</span>';