diff options
author | andi <andi@splitbrain.org> | 2005-03-04 19:47:55 +0100 |
---|---|---|
committer | andi <andi@splitbrain.org> | 2005-03-04 19:47:55 +0100 |
commit | 6ba61cb15efe2327eaa6cb1b6a985209e028418a (patch) | |
tree | a0a95bdaf4f543daf97cd0501d23d7f103e76bc1 /inc | |
parent | ad15db82c169247243e799f8c16eaef89e6138d1 (diff) | |
download | rpg-6ba61cb15efe2327eaa6cb1b6a985209e028418a.tar.gz rpg-6ba61cb15efe2327eaa6cb1b6a985209e028418a.tar.bz2 |
relnofollow added #181
darcs-hash:20050304184755-9977f-9dccfd8e8330b18c179298f2b0f09819cc5fb913.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/format.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/format.php b/inc/format.php index 7c4028930..9c418e9ad 100644 --- a/inc/format.php +++ b/inc/format.php @@ -148,6 +148,7 @@ function format_link_externalurl($link){ $link['url'] = $link['url']; //keep it $link['title'] = htmlspecialchars($link['url']); if(!$link['name']) $link['name'] = htmlspecialchars($link['url']); + if($conf['relnofollow']) $link['more'] .= ' rel="nofollow"'; //thats it :-) return $link; } |