aboutsummaryrefslogtreecommitdiff
path: root/mod/twitterservice/views
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:25:51 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-03 12:25:51 +0000
commitbf39908f4d587785a197de80b528e73c43ce99d9 (patch)
tree7f6e5271c31ab7b5ff336bbd7bdb96de6113adac /mod/twitterservice/views
parent0ca854b4387127605836fb20904e9c1aa3d59321 (diff)
downloadelgg-bf39908f4d587785a197de80b528e73c43ce99d9.tar.gz
elgg-bf39908f4d587785a197de80b528e73c43ce99d9.tar.bz2
removes uses of $vars[url] from core and plugins
git-svn-id: http://code.elgg.org/elgg/trunk@8003 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/twitterservice/views')
-rw-r--r--mod/twitterservice/views/default/twitterservice/login.php5
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;