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

[livejournal] r17129: LJSUP-6473: Facebook

Committer: esavintcev
LJSUP-6473: Facebook
U   trunk/htdocs/login.bml
U   trunk/htdocs/login.bml.text
Modified: trunk/htdocs/login.bml
===================================================================
--- trunk/htdocs/login.bml	2010-08-16 09:58:02 UTC (rev 17128)
+++ trunk/htdocs/login.bml	2010-08-16 10:02:07 UTC (rev 17129)
@@ -213,6 +213,11 @@
             $body .= "<hr class='hr' />\n";
             $body .= "<h4>$ML{'.createaccount.header'}</h4>\n";
             $body .= "<form action='<?siteroot?>/create.bml' method='get'><input type='submit' value='$ML{'.createaccount.button'}' class='create-account' /></form>\n";
+            $body .= "<p>$ML{'.or.connect.using'}</p>\n";
+            $body .= "<p class=\"b-loginpage-btns\">";
+            $body .= "<a href=\"<?siteroot?>/identity/login.bml?type=facebook\"><img src=\"$LJ::IMGPREFIX/icons/facebook-32.gif\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.facebook'}\" title=\"$ML{'.connect.facebook'}\" /></a> <a href=\"<?siteroot?>/identity/login.bml?type=openid\"><img src=\"$LJ::IMGPREFIX/icons/openid-32.gif\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.openid'}\" title=\"$ML{'.connect.openid'}\" /></a>";
+            #<a href=\"<?siteroot?>/identity/login.bml?type=twitter\"><img src=\"$LJ::IMGPREFIX/icons/twitter-32.gif\" width=\"32\" height=\"32\" alt=\"$ML{'.connect.twitter'}\" title=\"$ML{'.connect.twitter'}\" /></a>";
+            $body .= "</p>\n";
             $body .= "<ul>\n";
             $body .= "<li>$ML{'.createaccount.whylogin.benefit1'}</li>";
             $body .= "<li>$ML{'.createaccount.whylogin.benefit2'}</li>";

Modified: trunk/htdocs/login.bml.text
===================================================================
--- trunk/htdocs/login.bml.text	2010-08-16 09:58:02 UTC (rev 17128)
+++ trunk/htdocs/login.bml.text	2010-08-16 10:02:07 UTC (rev 17129)
@@ -5,6 +5,12 @@
 
 .bindip.yes=Yes (safer)
 
+.connect.facebook=Login with Facebook
+
+.connect.openid=Login with Openid
+
+.connect.twitter=Login with Twitter
+
 .createaccount.button|staleness=1
 .createaccount.button=Create an Account
 
@@ -127,6 +133,8 @@
 
 .logout.loggedout=You are logged out.
 
+.or.connect.using=Or connect using: 
+
 .whylogin.benefit10|staleness=1
 .whylogin.benefit10=Add journals and communities to your Friends page.
 

Tags: bml, livejournal, savintsev_egor, text
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