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

index 0df34e63dd0740801a7b2164a30835a62a40e943..3d65edb078ce63339950f474a4a0d5620bab112e 100644 (file)
@@ -1132,7 +1132,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 rel="nofollow" href="' . $link . '" title="'. $text .'">'. $text .'</a>';
     }
 
     function introspect_config_item($name, &$propbag)