summaryrefslogtreecommitdiff
path: root/plugins/TwitterBridge/twitterlogin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TwitterBridge/twitterlogin.php')
-rw-r--r--plugins/TwitterBridge/twitterlogin.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/TwitterBridge/twitterlogin.php b/plugins/TwitterBridge/twitterlogin.php
index ae468ea15..ae67b4c15 100644
--- a/plugins/TwitterBridge/twitterlogin.php
+++ b/plugins/TwitterBridge/twitterlogin.php
@@ -46,7 +46,6 @@ require_once INSTALLDIR . '/plugins/TwitterBridge/twitter.php';
* @see SettingsAction
*/
-
class TwitterloginAction extends Action
{
function handle($args)
@@ -67,7 +66,7 @@ class TwitterloginAction extends Action
function getInstructions()
{
- return _('Login with your Twitter Account');
+ return _('Login with your Twitter account');
}
function showPageNotice()
@@ -81,9 +80,11 @@ class TwitterloginAction extends Action
function showContent()
{
- $this->elementStart('a', array('href' => common_local_url('twitterauthorization')));
- $this->element('img', array('src' => common_path('plugins/TwitterBridge/twitter_connect.gif'),
- 'alt' => 'Connect my Twitter account'));
+ $this->elementStart('a', array('href' => common_local_url('twitterauthorization',
+ null,
+ array('signin' => true))));
+ $this->element('img', array('src' => common_path('plugins/TwitterBridge/Sign-in-with-Twitter-lighter.png'),
+ 'alt' => 'Sign in with Twitter'));
$this->elementEnd('a');
}