TwitterBridge uses Plugin::staticPath()

This commit is contained in:
Evan Prodromou 2011-02-03 11:03:24 -05:00
parent 26407c3e35
commit c8386c7ecb

View File

@ -83,7 +83,7 @@ class TwitterloginAction extends Action
$this->elementStart('a', array('href' => common_local_url('twitterauthorization', $this->elementStart('a', array('href' => common_local_url('twitterauthorization',
null, null,
array('signin' => true)))); array('signin' => true))));
$this->element('img', array('src' => common_path('plugins/TwitterBridge/Sign-in-with-Twitter-lighter.png'), $this->element('img', array('src' => Plugin::staticPath('TwitterBridge', 'Sign-in-with-Twitter-lighter.png'),
'alt' => _m('Sign in with Twitter'))); 'alt' => _m('Sign in with Twitter')));
$this->elementEnd('a'); $this->elementEnd('a');
} }