Савинцев Егор 🚶 (savintsev_egor) wrote in changelog,
Савинцев Егор 🚶
savintsev_egor
changelog

[livejournal] r18956: LJSUP-8455: Comment Form

Committer: esavintcev
LJSUP-8455: Comment Form
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/CommentForm/AuthorTitle-User.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-04-22 08:31:05 UTC (rev 18955)
+++ trunk/htdocs/stc/lj_base.css	2011-04-22 08:50:48 UTC (rev 18956)
@@ -1222,7 +1222,8 @@
 			.b-postform-authtype-twitter.b-postform-ability-disabled-twitter .b-postform-login-services-current-pic,
 			.b-postform-authtype-openid.b-postform-ability-disabled-openid .b-postform-login-services-current-pic,
 			.b-postform-authtype-mailru.b-postform-ability-disabled-mailru .b-postform-login-services-current-pic,
-			.b-postform-authtype-vkontakte.b-postform-ability-disabled-vkontakte .b-postform-login-services-current-pic {
+			.b-postform-authtype-vkontakte.b-postform-ability-disabled-vkontakte .b-postform-login-services-current-pic,
+			.b-postform-authtype-user.b-postform-ability-disabled-anonymous.b-postform-ability-disabled-user .b-postform-login-services-current-pic {
 				background-image: url(/img/pencil.gif?v=1);
 				}
 			.b-postform-authtype-user .b-postform-login-services-current-pic {
@@ -1294,6 +1295,9 @@
 			.b-postform-anonymous-cookie .b-postform-login-services-show .b-postform-login-services-user {
 				display: none;
 				}
+			.b-postform-user-cookie.b-postform-ability-disabled-anonymous.b-postform-ability-disabled-user .b-postform-login-services-show .b-postform-login-services-livejournal {
+				display: block;
+				}
 				BODY .b-postform-login-services-item A:link,
 				BODY .b-postform-login-services-item A:visited {
 					display: block;
@@ -1418,7 +1422,8 @@
 		#js .b-postform-authtype-twitter.b-postform-ability-disabled-twitter .b-postform-login-livejournal,
 		#js .b-postform-authtype-openid.b-postform-ability-disabled-openid .b-postform-login-livejournal,
 		#js .b-postform-authtype-mailru.b-postform-ability-disabled-mailru .b-postform-login-livejournal,
-		#js .b-postform-authtype-vkontakte.b-postform-ability-disabled-vkontakte .b-postform-login-livejournal {
+		#js .b-postform-authtype-vkontakte.b-postform-ability-disabled-vkontakte .b-postform-login-livejournal,
+		#js .b-postform-authtype-user.b-postform-user-cookie.b-postform-ability-disabled-anonymous.b-postform-ability-disabled-user .b-postform-login-livejournal {
 			display: block;
 			}
 			#js .b-postform-login-item .b-postform-login-radio,
@@ -1476,6 +1481,10 @@
 				#js .b-postform-login-opts {
 					display:block;
 					}
+			.b-postform-authtype-user.b-postform-ability-disabled-anonymous.b-postform-ability-disabled-user .b-postform-login-livejournal .b-postform-login-opts-lj,
+			.b-postform-authtype-livejournal.b-postform-ability-disabled-anonymous.b-postform-ability-disabled-user .b-postform-login-livejournal .b-postform-login-opts-lj {
+				display: none;
+				}
 
 
 

Modified: trunk/templates/CommentForm/AuthorTitle-User.tmpl
===================================================================
--- trunk/templates/CommentForm/AuthorTitle-User.tmpl	2011-04-22 08:31:05 UTC (rev 18955)
+++ trunk/templates/CommentForm/AuthorTitle-User.tmpl	2011-04-22 08:50:48 UTC (rev 18956)
@@ -9,4 +9,4 @@
         </TMPL_IF>
     </TMPL_IF>
 </TMPL_IF>
-<span class="b-postform-login-services-item b-postform-login-services-livejournal"><a <TMPL_IF is_person>class="b-postform-login-invisible"</TMPL_IF> href="#livejournal" tabindex="5"><img src="<TMPL_VAR lj_imgprefix>/pencil.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.livejournal')"></span></a></span>
+<span class="b-postform-login-services-item b-postform-login-services-livejournal"><a <TMPL_IF is_person><TMPL_IF remote_can_comment>class="b-postform-login-invisible"</TMPL_IF></TMPL_IF> href="#livejournal" tabindex="5"><img src="<TMPL_VAR lj_imgprefix>/pencil.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.livejournal')"></span></a></span>

Tags: css, livejournal, savintsev_egor, 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