From 489e485410866e270269411a59cc0d06c076f306 Mon Sep 17 00:00:00 2001 From: rurban Date: Thu, 20 Jan 2005 10:09:27 +0000 Subject: [PATCH] rel=nofollow git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@4391 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- themes/Portland/themeinfo.php | 6 +++--- themes/Wordpress/themeinfo.php | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/themes/Portland/themeinfo.php b/themes/Portland/themeinfo.php index c5d37b437..04e67575c 100644 --- a/themes/Portland/themeinfo.php +++ b/themes/Portland/themeinfo.php @@ -1,5 +1,5 @@ 'create')); - $link = HTML::span(HTML::a(array('href' => $url), '?')); + $link = HTML::span(HTML::a(array('href' => $url, 'rel' => 'nofollow'), '?')); if (!empty($linktext)) { $link->unshiftContent(HTML::u($linktext)); @@ -31,7 +31,7 @@ class Theme_Portland extends Theme { } if ($request->getArg('frame')) $link->setAttr('target', '_top'); - + return $link; } function getRecentChangesFormatter ($format) { diff --git a/themes/Wordpress/themeinfo.php b/themes/Wordpress/themeinfo.php index 28c379b48..ef8a5b655 100644 --- a/themes/Wordpress/themeinfo.php +++ b/themes/Wordpress/themeinfo.php @@ -1,5 +1,5 @@ 'create')); - $link = HTML::span(HTML::a(array('href' => $url), '?')); + $link = HTML::span(HTML::a(array('href' => $url, 'rel' => 'nofollow'), '?')); if (!empty($linktext)) { $link->unshiftContent(HTML::u($linktext)); -- 2.45.0