diff options
Diffstat (limited to 'mod/twitterservice/views/default')
-rw-r--r-- | mod/twitterservice/views/default/twitterservice/login.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mod/twitterservice/views/default/twitterservice/login.php b/mod/twitterservice/views/default/twitterservice/login.php index 8db63af36..65adba1f7 100644 --- a/mod/twitterservice/views/default/twitterservice/login.php +++ b/mod/twitterservice/views/default/twitterservice/login.php @@ -3,12 +3,13 @@ * */ -$url = "{$vars['url']}pg/twitterservice/forward"; +$url = elgg_get_site_url() . 'pg/twitterservice/forward'; +$img_url = elgg_get_site_url() . 'mod/twitterservice/graphics/sign_in_with_twitter.gif'; $login = <<<__HTML <div id="login_with_twitter"> <a href="$url"> - <img src="{$vars['url']}mod/twitterservice/graphics/sign_in_with_twitter.gif" alt="Twitter" /> + <img src="$img_url" alt="Twitter" /> </a> </div> __HTML; |