Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r19974: LJSUP-9708: CAPTCHA is displayed to the ...

Committer: szhirkov
LJSUP-9708: CAPTCHA is displayed to the user who should not see her
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-09-06 09:48:07 UTC (rev 19973)
+++ trunk/htdocs/stc/lj_base.css	2011-09-06 09:56:08 UTC (rev 19974)
@@ -1653,7 +1653,7 @@
 .b-postform-authtype-anonymous.b-postform-user-friendonly .b-postform-alert-ajax,
 
 .b-postform-authtype-anonymous.b-postform-user-regonly .b-postform-alert-ajax {
-	display: none !important;
+	display: none;
 	}
 
 .b-postform-captchabox {

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-09-06 09:48:07 UTC (rev 19973)
+++ trunk/templates/CommentForm/Form.tmpl	2011-09-06 09:56:08 UTC (rev 19974)
@@ -12,6 +12,7 @@
         <TMPL_IF EXPR="will_be_screened eq 'A'">b-postform-user-screened b-postform-user-screened-all</TMPL_IF>
         <TMPL_IF EXPR="will_be_screened eq 'F' && !is_friend">b-postform-user-screened b-postform-user-screened-nonf</TMPL_IF>
         <TMPL_IF EXPR="will_be_screened eq 'R' and !email_active">b-postform-user-screened b-postform-user-screened-anon</TMPL_IF>
+		<TMPL_IF EXPR="commentcaptcha eq 'R'">b-postform-captcha-anon</TMPL_IF>
         b-postform-realauth-<TMPL_VAR usertype>
         b-postform-authtype-<TMPL_VAR usertype>
         ">

Tags: aralot, css, livejournal, tmpl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments