TwitterBridge uses Plugin::staticPath()
This commit is contained in:
parent
26407c3e35
commit
c8386c7ecb
@ -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');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user