shithub: werc

Download patch

ref: 0ff9d7d6ecc1675ef97fbd81d1736f5a3018e2a9
parent: 959dfb4859a194d4fb4dc378cf9baaed8a3223de
author: uriel <[email protected]>
date: Mon Aug 10 08:34:19 EDT 2009

Add rel="nofollow" for links to user loggin page.

--- a/apps/bridge/app.rc
+++ b/apps/bridge/app.rc
@@ -31,7 +31,7 @@
                 ll_add handlers_body_foot template apps/bridge/foot.tpl
         }
         if not if(~ $REQUEST_METHOD GET)
-            ll_add handlers_body_foot echo '<hr><p>To post a comment you need to <a href="/_users/login">login</a> first.</p>'
+            ll_add handlers_body_foot echo '<hr><p>To post a comment you need to <a href="/_users/login" rel="nofollow">login</a> first.</p>'
     }
 }
 
--- a/apps/bridge/foot.tpl
+++ b/apps/bridge/foot.tpl
@@ -19,7 +19,7 @@
         <input type="password" name="comment_passwd2" value="">
     </label>
     <div style="font-size: 70%">
-    Enter your desired user name/password and after your comment has been reviewed by an admin it will be posted and your account will be enabled. If you are already registered please <a href="/_users/login">login</a> before posting.
+    Enter your desired user name/password and after your comment has been reviewed by an admin it will be posted and your account will be enabled. If you are already registered please <a href="/_users/login" rel="nofollow">login</a> before posting.
     </div>
 % }
 </form>