Skip to content
Snippets Groups Projects
Commit 78cbfcb6 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

mor nofollow for links to non-existant pages FS#1260

darcs-hash:20080122203104-7ad00-0c5c6978383520a66df25af7360319fdd7d39a19.gz
parent fc39f9b4
No related branches found
No related tags found
No related merge requests found
......@@ -803,7 +803,7 @@ function tpl_youarehere($sep=' » '){
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=' » '){
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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment