Aralot (aralot) wrote in changelog,
Aralot
aralot
changelog

[livejournal] r19946: LJSUP-8857: Updating commenting form

Committer: szhirkov
LJSUP-8857: Updating commenting form
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-02 07:43:57 UTC (rev 19945)
+++ trunk/htdocs/stc/lj_base.css	2011-09-02 08:35:44 UTC (rev 19946)
@@ -1656,7 +1656,18 @@
 	display: none !important;
 	}
 
+.b-postform-captchabox {
+	display: none;
+	}
+.b-postform-captchabox-active {
+	display: table-row;
+	*display: block;
+	}
+	.b-postform-captchabox-active #captcha-container {
+		background: url(/img/preloader-s.gif?v=1) no-repeat 0 50%;
+		}
 
+
 .b-postform-login-label {
 	margin: 0;
 	padding: 2px 0;

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-09-02 07:43:57 UTC (rev 19945)
+++ trunk/templates/CommentForm/Form.tmpl	2011-09-02 08:35:44 UTC (rev 19946)
@@ -141,7 +141,7 @@
 
             <TMPL_VAR extra_rows>
 
-            <tr class="b-postform-submitbox">
+            <tr class="b-postform-submitbox b-postform-captchabox <TMPL_IF need_captcha>b-postform-captchabox-active</TMPL_IF>">
                 <td>&nbsp;</td>
                 <td id="captcha-container">
                		<TMPL_IF need_captcha><noscript><TMPL_VAR captcha_html></noscript></TMPL_IF>

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