Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17219: LJSUP-6655 (Need activate choice identit...

Committer: ailyin
LJSUP-6655 (Need activate choice identity accounts if enables comments allow comments from registered users)
U   trunk/templates/CommentForm/Author-OpenID.tmpl
Modified: trunk/templates/CommentForm/Author-OpenID.tmpl
===================================================================
--- trunk/templates/CommentForm/Author-OpenID.tmpl	2010-08-27 10:51:05 UTC (rev 17218)
+++ trunk/templates/CommentForm/Author-OpenID.tmpl	2010-08-30 03:02:44 UTC (rev 17219)
@@ -39,7 +39,7 @@
                 </td>
             </TMPL_IF>
             </tr>
-        <TMPL_ELSE>
+        <TMPL_ELSIF is_identity>
             <tr valign='middle'>
             <td class="b-postform-icon"><img src='<TMPL_VAR lj_imgprefix>/openid-profile.gif' onclick='handleRadios(3);' /></td>
             <td class="b-postform-radio">(  )</td>
@@ -49,6 +49,16 @@
                 <TMPL_VAR helpicon_openid>
             </td>
             </tr>
+        <TMPL_ELSE>
+            <tr valign='middle' id='oidlo' name='oidlo'>
+            <td class="b-postform-icon"><img src='<TMPL_VAR lj_imgprefix>/openid-profile.gif' onclick='handleRadios(3);' /></td>
+            <td class="b-postform-radio"><input type='radio' name='usertype' value='openid' id='talkpostfromoidlo' <TMPL_IF whocheck_openid>checked='checked'</TMPL_IF> /></td>
+            <td class="b-postform-data">
+                <label for='talkpostfromoidlo' onclick='handleRadios(4);return false;' class="i-postform-label"><b>OpenID</b></label>
+                <TMPL_VAR ml_willscreen>
+                <span id="oid_more" class="i-bubble b-bubble-lite b-postform-openid"><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>' /> <input type='hidden' name='oiddo_login' id='oidlogincheck' <TMPL_VAR oiddo_login_checked> /> <TMPL_VAR helpicon_openid></span>
+            </td>
+            </tr>
         </TMPL_IF>
     <TMPL_ELSIF friends_can_comment>
         <TMPL_IF is_identity>

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