diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/uservalidationbyemail/views/default/admin/users/unvalidated.php | 3 | ||||
-rw-r--r-- | mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php | 6 |
2 files changed, 5 insertions, 4 deletions
diff --git a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php index f34447b65..8b72126ef 100644 --- a/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php +++ b/mod/uservalidationbyemail/views/default/admin/users/unvalidated.php @@ -1,4 +1,7 @@ <?php +/** + * List of unvalidated users + */ echo elgg_view_form('uservalidationbyemail/bulk_action', array( 'name' => 'unvalidated-users', diff --git a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php index fb0d9e5b1..9f04aca94 100644 --- a/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php +++ b/mod/uservalidationbyemail/views/default/forms/uservalidationbyemail/bulk_action.php @@ -27,10 +27,8 @@ if (!$count) { access_show_hidden_entities($hidden_entities); elgg_set_ignore_access($ia); - echo elgg_view('page_elements/contentwrapper', array( - 'body' => elgg_echo('uservalidationbyemail:admin:no_unvalidated_users') - )); - return; + echo autop(elgg_echo('uservalidationbyemail:admin:no_unvalidated_users')); + return TRUE; } $options['count'] = FALSE; |