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

[livejournal] r18644: LJSUP-7762: Mail.Ru

Committer: esavintcev
LJSUP-7762: Mail.Ru
U   trunk/templates/CommentForm/Author-Anonymous.tmpl
U   trunk/templates/CommentForm/Author-OpenID.tmpl
U   trunk/templates/CommentForm/Author-User.tmpl
Modified: trunk/templates/CommentForm/Author-Anonymous.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-Anonymous.tmpl	2011-03-21 07:36:13 UTC (rev 18643)
+++ trunk/templates/CommentForm/Author-Anonymous.tmpl	2011-03-21 08:09:33 UTC (rev 18644)
@@ -8,7 +8,7 @@
         </div>
     <TMPL_ELSE>
         <div class="b-postform-login-item b-postform-login-anonymous">
-            <input type="radio" name="usertype" value="anonymous" id="talkpostfromanon" class="b-postform-login-radio" <TMPL_IF whocheck_anonymous>checked="checked"</TMPL_IF> />
+            <input type="radio" name="usertype" value="anonymous" id="talkpostfromanon" class="b-postform-login-radio" tabindex="5" <TMPL_IF whocheck_anonymous>checked="checked"</TMPL_IF> />
             <label for="talkpostfromanon" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></label>
             <div class="b-postform-login-opts b-postform-login-opts-anonymous">
                 <strong><TMPL_VAR expr="ml('/talkpost.bml.opt.anonymous')"></strong>

Modified: trunk/templates/CommentForm/Author-OpenID.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-OpenID.tmpl	2011-03-21 07:36:13 UTC (rev 18643)
+++ trunk/templates/CommentForm/Author-OpenID.tmpl	2011-03-21 08:09:33 UTC (rev 18644)
@@ -2,7 +2,7 @@
     <TMPL_IF everyone_can_comment>
         <TMPL_IF is_identity>
             <div class="b-postform-login-item b-postform-login-openid">
-                <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" <TMPL_IF whocheck_openid_cookie>checked="checked"</TMPL_IF> />
+                <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid_cookie>checked="checked"</TMPL_IF> />
                 <label for="talkpostfromoid" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                 <div class="b-postform-login-opts">
                     <strong><TMPL_VAR remote_display_name></strong>
@@ -11,10 +11,10 @@
             </div>
         <TMPL_ELSE>
             <div class="b-postform-login-item b-postform-login-openid">
-                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
+                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
                 <label for="talkpostfromoidlo" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                 <div class="b-postform-login-opts">
-                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="6" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
+                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="8" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
                     <TMPL_VAR ml_willscreen>
                 </div>
             </div>
@@ -28,7 +28,7 @@
                         <TMPL_VAR ml_banned>
                     </div>
                 <TMPL_ELSE>
-                    <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" <TMPL_IF whocheck_openid_cookie>checked='checked'</TMPL_IF> />
+                    <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid_cookie>checked='checked'</TMPL_IF> />
                     <label for="talkpostfromoidli" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                     <div class="b-postform-login-opts">
                         <strong><TMPL_VAR remote_display_name></strong>
@@ -46,10 +46,10 @@
             </div>
         <TMPL_ELSE>
             <div class="b-postform-login-item b-postform-login-openid">
-                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
+                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
                 <label for="talkpostfromoidlo" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                 <div class="b-postform-login-opts">
-                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="6" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
+                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="8" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
                     <TMPL_VAR ml_willscreen>
                 </div>
             </div>
@@ -58,7 +58,7 @@
         <TMPL_IF is_identity>
             <TMPL_IF remote_can_comment>
                 <div class="b-postform-login-item b-postform-login-openid">
-                    <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" <TMPL_IF whocheck_openid_cookie>checked="checked"</TMPL_IF> />
+                    <input type="radio" name="usertype" value="openid_cookie" id="talkpostfromoidli" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid_cookie>checked="checked"</TMPL_IF> />
                     <label for="talkpostfromoidli" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                     <div class="b-postform-login-opts">
                         <strong><TMPL_VAR remote_display_name></strong>
@@ -77,10 +77,10 @@
             </TMPL_IF>
         <TMPL_ELSE>
             <div class="b-postform-login-item b-postform-login-openid">
-                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
+                <input type="radio" name="usertype" value="openid" id="talkpostfromoidlo" class="b-postform-login-radio" tabindex="7" <TMPL_IF whocheck_openid>checked="checked"</TMPL_IF> />
                 <label for="talkpostfromoidlo" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.openid')"></label>
                 <div class="b-postform-login-opts">
-                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="6" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
+                    <span class="i-bubble b-bubble-lite"><i class="i-bubble-arrow-border"></i><i class="i-bubble-arrow"></i><label for="openid:url"><TMPL_VAR expr="ml('/talkpost.bml.openid.identity.url')">&nbsp;</label><input class="textbox" name="openid:url" maxlength="60" size="42" id="openid:url" value="<TMPL_VAR openid_url_default>" tabindex="8" /><TMPL_VAR helpicon_openid><input type="hidden" name="oiddo_login" id="oidlogincheck" <TMPL_VAR oiddo_login_checked> /></span>
                     <TMPL_VAR ml_willscreen>
                 </div>
             </div>

Modified: trunk/templates/CommentForm/Author-User.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-User.tmpl	2011-03-21 07:36:13 UTC (rev 18643)
+++ trunk/templates/CommentForm/Author-User.tmpl	2011-03-21 08:09:33 UTC (rev 18644)
@@ -10,7 +10,7 @@
     <TMPL_ELSE>
         <TMPL_IF remote_can_comment>
             <div class="b-postform-login-item b-postform-login-user">
-                <input type="radio" name="usertype" value="cookieuser" id="talkpostfromremote" class="b-postform-login-radio" <TMPL_IF whocheck_remote>checked="checked"</TMPL_IF> />
+                <input type="radio" name="usertype" value="cookieuser" id="talkpostfromremote" class="b-postform-login-radio" tabindex="5" <TMPL_IF whocheck_remote>checked="checked"</TMPL_IF> />
                 <label for="talkpostfromremote" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.livejournal')"></label>
                 <div class="b-postform-login-opts">
                     <TMPL_VAR ml_loggedin>
@@ -34,7 +34,7 @@
     </TMPL_IF>
 </TMPL_IF>
 <div class="b-postform-login-item b-postform-login-livejournal">
-    <input type="radio" name="usertype" value="user" id="talkpostfromlj" class="b-postform-login-radio" <TMPL_IF whocheck_ljuser>checked="checked"</TMPL_IF> />
+    <input type="radio" name="usertype" value="user" id="talkpostfromlj" class="b-postform-login-radio" tabindex="5" <TMPL_IF whocheck_ljuser>checked="checked"</TMPL_IF> />
     <label for="talkpostfromlj" class="b-postform-login-service"><TMPL_VAR expr="ml('/talkpost.bml.livejournal')"></label>
     <div class="b-postform-login-opts">
         <input class="textbox" name="userpost" size="13" maxlength="15" id="username" value="<TMPL_VAR username_default>" placeholder="<TMPL_VAR expr="ml('Username')">" tabindex="6" />
@@ -50,3 +50,7 @@
         </TMPL_UNLESS>
     </div>
 </div>
+
+<script type="text/javascript">
+	jQuery('#username').placeholder();
+</script>

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