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

[livejournal] r18558: LJSUP-7762: Mail.ru

Committer: esavintcev
LJSUP-7762: Mail.ru
U   trunk/templates/CommentForm/Form.tmpl
Modified: trunk/templates/CommentForm/Form.tmpl
===================================================================
--- trunk/templates/CommentForm/Form.tmpl	2011-03-15 11:09:34 UTC (rev 18557)
+++ trunk/templates/CommentForm/Form.tmpl	2011-03-15 11:36:03 UTC (rev 18558)
@@ -44,16 +44,18 @@
                 </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_IF>'>
+        
+        
+            <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_IF><TMPL_IF everyone_can_comment><TMPL_UNLESS is_public> b-postform-ability-disabled-anonymous</TMPL_UNLESS><TMPL_ELSIF registered_can_comment> b-postform-ability-disabled-anonymous<TMPL_ELSIF friends_can_comment> b-postform-ability-disabled-anonymous</TMPL_IF><TMPL_IF is_person><TMPL_UNLESS remote_banned><TMPL_UNLESS remote_can_comment> b-postform-ability-disabled-user</TMPL_UNLESS></TMPL_UNLESS></TMPL_IF><TMPL_IF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-ability-disabled-facebook</TMPL_UNLESS></TMPL_IF></TMPL_IF><TMPL_IF registered_can_comment><TMPL_IF is_identity> b-postform-ability-disabled-twitter</TMPL_IF><TMPL_ELSIF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-ability-disabled-twitter</TMPL_UNLESS><TMPL_ELSE></TMPL_IF></TMPL_IF><TMPL_IF openid_enabled><TMPL_IF registered_can_comment><TMPL_IF is_identity> b-postform-ability-disabled-openid</TMPL_IF><TMPL_ELSIF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-ability-disabled-openid</TMPL_UNLESS><TMPL_ELSE></TMPL_IF></TMPL_IF></TMPL_IF><TMPL_IF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-ability-disabled-mailru</TMPL_UNLESS></TMPL_IF></TMPL_IF>'>
                 <div class="b-postform-login-services">
                     <div class="b-postform-login-services-items">
-                        <span class="b-postform-login-services-item b-postform-login-services-anonymous<TMPL_IF everyone_can_comment><TMPL_UNLESS is_public> b-postform-login-services-disabled</TMPL_UNLESS><TMPL_ELSIF registered_can_comment> b-postform-login-services-disabled<TMPL_ELSIF friends_can_comment> b-postform-login-services-disabled</TMPL_IF>"><a href="#anonymous"><img src="<TMPL_VAR lj_imgprefix>/anonymous.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></span></a></span>
-                        <span class="b-postform-login-services-item b-postform-login-services-user<TMPL_IF is_person><TMPL_UNLESS remote_banned><TMPL_UNLESS remote_can_comment> b-postform-login-services-disabled</TMPL_UNLESS></TMPL_UNLESS></TMPL_IF>"><a href="#user"><img src="<TMPL_VAR lj_imgprefix>/userinfo.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 href="#livejournal"><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-facebook<TMPL_IF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-login-services-disabled</TMPL_UNLESS></TMPL_IF></TMPL_IF>"><a href="#facebook"><img src="<TMPL_VAR lj_imgprefix>/icons/facebook-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.facebook')"></span></a></span>
-                        <span class="b-postform-login-services-item b-postform-login-services-twitter<TMPL_IF registered_can_comment><TMPL_IF is_identity> b-postform-login-services-disabled</TMPL_IF><TMPL_ELSIF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-login-services-disabled</TMPL_UNLESS><TMPL_ELSE></TMPL_IF></TMPL_IF>"><a href="#twitter"><img src="<TMPL_VAR lj_imgprefix>/icons/twitter-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.twitter')"></span></a></span>
-                        <span class="b-postform-login-services-item b-postform-login-services-openid<TMPL_IF openid_enabled><TMPL_IF registered_can_comment><TMPL_IF is_identity> b-postform-login-services-disabled</TMPL_IF><TMPL_ELSIF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-login-services-disabled</TMPL_UNLESS><TMPL_ELSE></TMPL_IF></TMPL_IF></TMPL_IF>"><a href="#openid"><img src="<TMPL_VAR lj_imgprefix>/icons/openid-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></span></a></span>
-                        <span class="b-postform-login-services-item b-postform-login-services-mailru<TMPL_IF friends_can_comment><TMPL_IF is_identity><TMPL_UNLESS remote_can_comment> b-postform-login-services-disabled</TMPL_UNLESS></TMPL_IF></TMPL_IF>"><a href="#mailru"><img src="<TMPL_VAR lj_imgprefix>/icons/mailru-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.mailru')"></span></a></span>
+                        <span class="b-postform-login-services-item b-postform-login-services-anonymous"><a href="#anonymous"><img src="<TMPL_VAR lj_imgprefix>/anonymous.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></span></a></span>
+                        <span class="b-postform-login-services-item b-postform-login-services-user"><a href="#user"><img src="<TMPL_VAR lj_imgprefix>/userinfo.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 href="#livejournal"><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-facebook"><a href="#facebook"><img src="<TMPL_VAR lj_imgprefix>/icons/facebook-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.facebook')"></span></a></span>
+                        <span class="b-postform-login-services-item b-postform-login-services-twitter"><a href="#twitter"><img src="<TMPL_VAR lj_imgprefix>/icons/twitter-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.twitter')"></span></a></span>
+                        <span class="b-postform-login-services-item b-postform-login-services-openid"><a href="#openid"><img src="<TMPL_VAR lj_imgprefix>/icons/openid-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></span></a></span>
+                        <span class="b-postform-login-services-item b-postform-login-services-mailru"><a href="#mailru"><img src="<TMPL_VAR lj_imgprefix>/icons/mailru-16.gif" /><span class="b-postform-login-services-name"><TMPL_VAR expr="ml('/talkpost.bml.mailru')"></span></a></span>
                     </div>
                 </div>
                 <div class="b-postform-login-details">
@@ -63,9 +65,9 @@
                 </div>
             </div>
         </TMPL_IF>
-		<script type="text/javascript">
-			jQuery('div.b-postform-login').authtype();
-		</script>		
+        <script type="text/javascript">
+            jQuery('div.b-postform-login').authtype();
+        </script>
     </td>
 </tr>
 
@@ -84,10 +86,10 @@
             <ul class="b-subjecticons-items">
                 <TMPL_LOOP subjicon_types>
                     <TMPL_IF __first__>
-                        <li class="b-subjecticons-item"><img src='<TMPL_VAR lj_imgprefix>/talk/none.gif' border='0' width='15' height='15' id='none' title='No subject icon' /></li>
+                        <li class="b-subjecticons-item"><img src='<TMPL_VAR lj_imgprefix>/talk/none.gif' border='0' width='15' height='15' id='none' title='No subject icon' onclick="subjectIconChange(this);" /></li>
                     </TMPL_IF>
                     <TMPL_LOOP subjicons>
-                        <li class="b-subjecticons-item"><img src='<TMPL_VAR lj_imgprefix>/talk/<TMPL_VAR subjicon_img>' border='0' width='<TMPL_VAR subjicon_w>' height='<TMPL_VAR subjicon_h>' id='<TMPL_VAR subjicon_id>' /></li>
+                        <li class="b-subjecticons-item"><img src='<TMPL_VAR lj_imgprefix>/talk/<TMPL_VAR subjicon_img>' border='0' width='<TMPL_VAR subjicon_w>' height='<TMPL_VAR subjicon_h>' id='<TMPL_VAR subjicon_id>' onclick="subjectIconChange(this);" /></li>
                     </TMPL_LOOP>
                 </TMPL_LOOP>
             </ul>

Tags: 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