aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
Diffstat (limited to 'mod')
-rw-r--r--mod/twitterservice/views/default/twitterservice/login.php5
-rw-r--r--mod/uservalidationbyemail/views/default/admin/users/unvalidated.php2
2 files changed, 4 insertions, 3 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;
diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
index 332fac3f9..88cc88a7e 100644
--- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
+++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
@@ -31,7 +31,7 @@ elgg_set_ignore_access($ia);
// setup pagination
$pagination = elgg_view('navigation/pagination', array(
- 'baseurl' => $vars['url'] . 'pg/admin/users/unvalidated',
+ 'baseurl' => elgg_get_site_url() . 'pg/admin/users/unvalidated',
'offset' => $offset,
'count' => $count,
'limit' => $limit,