aboutsummaryrefslogtreecommitdiff
path: root/mod/uservalidationbyemail/views
diff options
context:
space:
mode:
authorewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
committerewinslow <ewinslow@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-30 22:23:45 +0000
commitbb1f45eb02bac603d67ac08cb674c4050a245c28 (patch)
tree239c6afba40d3160be53c22984e3b7ba1b7442ec /mod/uservalidationbyemail/views
parentb5c5261077640d2390f4e3c44cc51bfe4bed2e4c (diff)
downloadelgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.gz
elgg-bb1f45eb02bac603d67ac08cb674c4050a245c28.tar.bz2
Refs #2598: Converted most $vars['url'] to elgg_get_site_url()
git-svn-id: http://code.elgg.org/elgg/trunk@7149 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod/uservalidationbyemail/views')
-rw-r--r--mod/uservalidationbyemail/views/default/admin/users/unvalidated.php2
-rw-r--r--mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php6
2 files changed, 4 insertions, 4 deletions
diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
index dff1487e7..999eab44f 100644
--- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
+++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php
@@ -43,6 +43,6 @@ $form_body .= elgg_echo('uservalidationbyemail:admin:with_checked') . elgg_view(
$form_body .= '<br />' . elgg_view('input/button', array('value' => elgg_echo('submit')));
echo elgg_view('input/form', array(
- 'action' => $vars['url'] . 'action/uservalidationbyemail/bulk_action',
+ 'action' => elgg_get_site_url() . 'action/uservalidationbyemail/bulk_action',
'body' => $form_body
)); \ No newline at end of file
diff --git a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
index 368be6ab9..dbfc0ac66 100644
--- a/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
+++ b/mod/uservalidationbyemail/views/default/uservalidationbyemail/unvalidated_user.php
@@ -20,19 +20,19 @@ $created = sprintf(elgg_echo('uservalidationbyemail:admin:user_created'), elgg_v
$validate = elgg_view('output/confirmlink', array(
'confirm' => sprintf(elgg_echo('uservalidationbyemail:confirm_validate_user'), $user->username),
- 'href' => $vars['url'] . "action/uservalidationbyemail/validate/?user_guids[]=$user->guid",
+ 'href' => elgg_get_site_url() . "action/uservalidationbyemail/validate/?user_guids[]=$user->guid",
'text' => elgg_echo('uservalidationbyemail:admin:validate')
));
$resend_email = elgg_view('output/confirmlink', array(
'confirm' => sprintf(elgg_echo('uservalidationbyemail:confirm_resend_validation'), $user->username),
- 'href' => $vars['url'] . "action/uservalidationbyemail/resend_validation/?user_guids[]=$user->guid",
+ 'href' => elgg_get_site_url() . "action/uservalidationbyemail/resend_validation/?user_guids[]=$user->guid",
'text' => elgg_echo('uservalidationbyemail:admin:resend_validation')
));
$delete = elgg_view('output/confirmlink', array(
'confirm' => sprintf(elgg_echo('uservalidationbyemail:confirm_delete'), $user->username),
- 'href' => $vars['url'] . "action/uservalidationbyemail/delete/?user_guids[]=$user->guid",
+ 'href' => elgg_get_site_url() . "action/uservalidationbyemail/delete/?user_guids[]=$user->guid",
'text' => elgg_echo('uservalidationbyemail:admin:delete')
));