Максим Червонный (fiskus_boulder) wrote in changelog,
Максим Червонный
fiskus_boulder
changelog

[ljcom] r10522: LJINT-428: google authorization for side...

Committer: mchervonniy
LJINT-428: google authorization for side projects
U   trunk/templates/Identity/ExternalLogin.tmpl
Modified: trunk/templates/Identity/ExternalLogin.tmpl
===================================================================
--- trunk/templates/Identity/ExternalLogin.tmpl	2011-05-18 11:43:49 UTC (rev 10521)
+++ trunk/templates/Identity/ExternalLogin.tmpl	2011-05-19 03:15:55 UTC (rev 10522)
@@ -30,6 +30,9 @@
             <TMPL_LOOP type_mailru>
                 <li class="b-loginpopup-item"><a title="Login with <TMPL_VAR ml_tab_heading>" class="i-auth" href="?type=<TMPL_VAR type>"><img width="16" height="16" alt="Login with <TMPL_VAR ml_tab_heading>" src="/img/icons/<TMPL_VAR type>-16.gif?v=3"><TMPL_VAR ml_tab_heading></a></li>
             </TMPL_LOOP>
+            <TMPL_LOOP type_google>
+                <li class="b-loginpopup-item"><a title="Login with <TMPL_VAR ml_tab_heading>" class="i-auth" href="?type=<TMPL_VAR type>"><img width="16" height="16" alt="Login with <TMPL_VAR ml_tab_heading>" src="/img/icons/<TMPL_VAR type>-16.png?v=1"><TMPL_VAR ml_tab_heading></a></li>
+            </TMPL_LOOP>
             <TMPL_LOOP type_vkontakte>
                 <li class="b-loginpopup-item"><a title="Log in with <TMPL_VAR ml_tab_heading>" class="i-auth" href="?type=<TMPL_VAR type>"><img width="16" height="16" alt="Log in with <TMPL_VAR ml_tab_heading>" src="/img/icons/<TMPL_VAR type>-16.gif?v=1"><TMPL_VAR ml_tab_heading></a></li>
             </TMPL_LOOP>
@@ -138,6 +141,18 @@
         </li>
     </TMPL_LOOP>
 
+    <TMPL_LOOP type_google>
+        <li id="tab-google" class="b-auth-item" style="display:none">
+            <form action="<tmpl_var action>" method="post" target="ljidentityauth">
+                <button type="submit" class="b-googlebtn"><span><i></i><TMPL_VAR expr="ml('/identity/login.bml.google.btn.connect')"></span></button>
+                <p class="b-auth-desc"><TMPL_VAR expr="ml('/identity/login.bml.google.desc')"></p>
+                <TMPL_IF errors><TMPL_LOOP errors><p class="b-auth-error"><span class="i-message i-message-error"><TMPL_VAR error></span><i class="i-close"></i></p></TMPL_LOOP></TMPL_IF>
+
+                <input type="hidden" name="type" value="<TMPL_VAR type>" />
+            </form>
+        </li>
+    </TMPL_LOOP>
+
 </ul>
 <!--<p class="lj3-close">
     <a href="javascript:void(0);" id="close-button"></a>

Tags: fiskus_boulder, ljcom, 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