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

[ljcom] r9548: LJSUP-6867: adding buttons for twitter a...

Committer: mchervonniy
LJSUP-6867: adding buttons for twitter authorization

U   trunk/cgi-bin/bml/scheme/lanzelot.look
U   trunk/htdocs/identity/login.bml.text.local
U   trunk/templates/Identity/Login-twitter.tmpl
Modified: trunk/cgi-bin/bml/scheme/lanzelot.look
===================================================================
--- trunk/cgi-bin/bml/scheme/lanzelot.look	2010-09-24 07:22:20 UTC (rev 9547)
+++ trunk/cgi-bin/bml/scheme/lanzelot.look	2010-09-24 09:44:45 UTC (rev 9548)
@@ -154,7 +154,7 @@
     $returnto
     $extra_fields
                                 <table class="login-form"><tr>
-                                        <td colspan="3"><a href="<?siteroot?>/create.bml">$ML{'horizon.login.create'}</a> $ML{'horizon.login.loginwith'} <a href="<?siteroot?>/identity/login.bml?type=openid" title="$ML{'horizon.login.openid'}" class="i-auth"><img src="$LJ::IMGPREFIX/icons/openid-16.gif" width="16" height="16" alt="$ML{'horizon.login.openid'}" /></a> <a href="<?siteroot?>/identity/login.bml?type=facebook" title="$ML{'horizon.login.facebook'}" class="i-auth"><img src="$LJ::IMGPREFIX/icons/facebook-16.gif" width="16" height="16" alt="$ML{'horizon.login.facebook'}" /></a></td>
+                                        <td colspan="3"><a href="<?siteroot?>/create.bml">$ML{'horizon.login.create'}</a> $ML{'horizon.login.loginwith'} <a href="<?siteroot?>/identity/login.bml?type=openid" title="$ML{'horizon.login.openid'}" class="i-auth"><img src="$LJ::IMGPREFIX/icons/openid-16.gif" width="16" height="16" alt="$ML{'horizon.login.openid'}" /></a> <a href="<?siteroot?>/identity/login.bml?type=facebook" title="$ML{'horizon.login.facebook'}" class="i-auth"><img src="$LJ::IMGPREFIX/icons/facebook-16.gif" width="16" height="16" alt="$ML{'horizon.login.facebook'}" /></a> <a href="<?siteroot?>/identity/login.bml?type=twitter" title="$ML{'horizon.login.twitter'}" class="i-auth"><img src="$LJ::IMGPREFIX/icons/twitter-16.gif" width="16" height="16" alt="$ML{'horizon.login.twiiter'}" /></a></td>
                                 </tr>
                                 <tr>
                                         <td><input type="text" class="txt" name="user" id="login_user" value="username" onblur="if (this.value=='') this.value='username';" onfocus="if (this.value=='username') this.value='';" /></td>

Modified: trunk/htdocs/identity/login.bml.text.local
===================================================================
--- trunk/htdocs/identity/login.bml.text.local	2010-09-24 07:22:20 UTC (rev 9547)
+++ trunk/htdocs/identity/login.bml.text.local	2010-09-24 09:44:45 UTC (rev 9548)
@@ -8,3 +8,5 @@
 
 .twitter.btn.connect=Sign in with Twitter
 
+.twitter.desc=Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut gravida nunc vitae purus egestas lobortis. Morbi varius ligula vitae diam vehicula a elementum felis sagittis. Morbi in sapien sit amet lectus dignissim consequat nec eu arcu.
+

Modified: trunk/templates/Identity/Login-twitter.tmpl
===================================================================
--- trunk/templates/Identity/Login-twitter.tmpl	2010-09-24 07:22:20 UTC (rev 9547)
+++ trunk/templates/Identity/Login-twitter.tmpl	2010-09-24 09:44:45 UTC (rev 9548)
@@ -4,4 +4,6 @@
     </TMPL_LOOP>
 </TMPL_IF>
 
-<button type="submit"><TMPL_VAR expr="ml('.twitter.btn.connect')"></button>
+<button type="submit" class="b-twitterbtn"><span><i></i><TMPL_VAR expr="ml('.twitter.btn.connect')"></span></button>
+<p class="b-auth-desc"><TMPL_VAR expr="ml('.twitter.desc')"></p>
+<TMPL_IF errors><TMPL_LOOP errors><p class="b-auth-error"><span class="i-message i-message-error"><TMPL_VAR error></span></p></TMPL_LOOP></TMPL_IF>

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