summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-01-22 21:31:04 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-01-22 21:31:04 +0100
commit78cbfcb69c94fcab98320db16d576d06b9af6f31 (patch)
treebaaaec797a6db11cb90b83e348b3c25f8de6ae05
parentfc39f9b4386bcff9ffe0ccdfbd747b6f74756143 (diff)
downloadrpg-78cbfcb69c94fcab98320db16d576d06b9af6f31.tar.gz
rpg-78cbfcb69c94fcab98320db16d576d06b9af6f31.tar.bz2
mor nofollow for links to non-existant pages FS#1260
darcs-hash:20080122203104-7ad00-0c5c6978383520a66df25af7360319fdd7d39a19.gz
-rw-r--r--inc/template.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/template.php b/inc/template.php
index 1dfa73955..d97558ed1 100644
--- a/inc/template.php
+++ b/inc/template.php
@@ -803,7 +803,7 @@ function tpl_youarehere($sep=' &raquo; '){
if(!$title) $title = $parts[$i];
tpl_link(wl($page),hsc($title),'title="'.$page.'"');
}else{
- tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2"');
+ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"');
}
}
@@ -817,7 +817,7 @@ function tpl_youarehere($sep=' &raquo; '){
if(!$title) $title = $parts[$i];
tpl_link(wl($page),hsc($title),'title="'.$page.'"');
}else{
- tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2"');
+ tpl_link(wl($page),$parts[$i],'title="'.$page.'" class="wikilink2" rel="nofollow"');
}
return true;
}