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

[livejournal] r19001: LJSUP-8455: CommentForm Bugs

Committer: esavintcev
LJSUP-8455: CommentForm Bugs
U   trunk/htdocs/stc/lj_base.css
U   trunk/templates/CommentForm/AuthorTitle-User.tmpl
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/htdocs/stc/lj_base.css
===================================================================
--- trunk/htdocs/stc/lj_base.css	2011-04-28 02:46:00 UTC (rev 19000)
+++ trunk/htdocs/stc/lj_base.css	2011-04-28 03:24:01 UTC (rev 19001)
@@ -1293,9 +1293,11 @@
 				display: block;
 				}
 			.b-postform-user-cookie .b-postform-login-services-show .b-postform-login-services-livejournal,
+			.b-postform-useranonymous-cookie .b-postform-login-services-show .b-postform-login-services-livejournal,
 			.b-postform-anonymous-cookie .b-postform-login-services-show .b-postform-login-services-user {
 				display: none;
 				}
+			.b-postform-useranonymous-cookie .b-postform-login-services-show .b-postform-login-services-user,
 			.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;
 				}
@@ -1312,7 +1314,7 @@
 					background: #FFF;
 					font-weight: normal;
 					color: #222 !important;
-					text-decoration: none;
+					text-decoration: none !important;
 					}
 				BODY .b-postform-login-services-item A:hover,
 				BODY .b-postform-login-services-item A:active,
@@ -1328,7 +1330,7 @@
 					background: #C5E1F7;
 					font-weight: normal;
 					color: #222 !important;
-					text-decoration: none;
+					text-decoration: none !important;
 					}
 					.b-postform-login-services-item IMG {
 						position: static !important;
@@ -1453,7 +1455,8 @@
 				margin: 0;
 				padding: 7px 0;
 				}
-			.b-postform-user-cookie .b-postform-login-user .b-postform-login-opts,
+			.b-postform-user-cookie .b-postform-login-user .b-postform-login-opts,	
+			.b-postform-useranonymous-cookie .b-postform-login-user .b-postform-login-opts,
 			.b-postform-login-anonymous .b-postform-login-opts-anonymous {
 				padding: 6px 0;
 				}

Modified: trunk/templates/CommentForm/AuthorTitle-User.tmpl
===================================================================
--- trunk/templates/CommentForm/AuthorTitle-User.tmpl	2011-04-28 02:46:00 UTC (rev 19000)
+++ trunk/templates/CommentForm/AuthorTitle-User.tmpl	2011-04-28 03:24:01 UTC (rev 19001)
@@ -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><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>
+<span class="b-postform-login-services-item b-postform-login-services-livejournal"><a class="<TMPL_IF is_person><TMPL_IF remote_can_comment>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>

Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-04-28 02:46:00 UTC (rev 19000)
+++ trunk/templates/CommentForm/Form.tmpl	2011-04-28 03:24:01 UTC (rev 19001)
@@ -44,7 +44,8 @@
                 </div>
             </div>
         <TMPL_ELSE>
-            <div class='b-postform-login b-postform-authtype-<TMPL_IF expr="usertype_default eq 'anonymous'">anonymous b-postform-anonymous-cookie<TMPL_ELSIF expr="usertype_default eq 'cookieuser'">user b-postform-user-cookie<TMPL_ELSIF expr="usertype_default eq 'facebook_cookie'">facebook b-postform-facebook-cookie<TMPL_ELSIF expr="usertype_default eq 'twitter_cookie'">twitter b-postform-twitter-cookie<TMPL_ELSIF expr="usertype_default eq 'openid_cookie'">openid b-postform-openid-cookie<TMPL_ELSIF expr="usertype_default eq 'mailru_cookie'">mailru b-postform-mailru-cookie<TMPL_ELSIF expr="usertype_default eq 'vkontakte_cookie'">vkontakte b-postform-vkontakte-cookie</TMPL_IF>
+
+            <div class='b-postform-login b-postform-authtype-<TMPL_IF expr="usertype_default eq 'anonymous'">anonymous b-postform-anonymous-cookie<TMPL_IF is_person> b-postform-useranonymous-cookie</TMPL_IF><TMPL_ELSIF expr="usertype_default eq 'cookieuser'">user b-postform-user-cookie<TMPL_ELSIF expr="usertype_default eq 'facebook_cookie'">facebook b-postform-facebook-cookie<TMPL_ELSIF expr="usertype_default eq 'twitter_cookie'">twitter b-postform-twitter-cookie<TMPL_ELSIF expr="usertype_default eq 'openid_cookie'">openid b-postform-openid-cookie<TMPL_ELSIF expr="usertype_default eq 'mailru_cookie'">mailru b-postform-mailru-cookie<TMPL_ELSIF expr="usertype_default eq 'vkontakte_cookie'">vkontakte b-postform-vkontakte-cookie</TMPL_IF>
                 <TMPL_LOOP author_options>
                     <TMPL_INCLUDE expr="sprintf('templates/CommentForm/AuthorDisabled-%s.tmpl', short_code)">
                 </TMPL_LOOP>'>

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