]> git.mjollnir.org Git - s9y.git/commitdiff
nofollow for superuser plugin, thanks to kallussed
authorgarvinhicking <garvinhicking>
Tue, 21 Aug 2007 16:49:31 +0000 (16:49 +0000)
committergarvinhicking <garvinhicking>
Tue, 21 Aug 2007 16:49:31 +0000 (16:49 +0000)
include/plugin_internal.inc.php

index 136015cd31fa61e2fa0c9fdb36df8fac37f85eb2..80d0f2a3e1e2057e27a0743dbde55897cba64424 100644 (file)
@@ -1146,7 +1146,7 @@ class serendipity_superuser_plugin extends serendipity_plugin {
 
         $link = $base . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] .'?/' : '') . PATH_ADMIN;
         $text = (($_SESSION['serendipityAuthedUser'] === true) ? SUPERUSER_OPEN_ADMIN : SUPERUSER_OPEN_LOGIN);
-        echo '<a href="' . $link . '" title="'. $text .'">'. $text .'</a>';
+        echo '<a href="' . $link . '" rel="nofollow" title="'. $text .'">'. $text .'</a>';
     }
 
     function introspect_config_item($name, &$propbag)