'user', 'wheres' => uservalidationbyemail_get_unvalidated_users_sql_where(), 'limit' => $limit, 'offset' => $offset, 'count' => TRUE, ); $count = elgg_get_entities($options); if (!$count) { access_show_hidden_entities($hidden_entities); elgg_set_ignore_access($ia); echo autop(elgg_echo('uservalidationbyemail:admin:no_unvalidated_users')); return TRUE; } $options['count'] = FALSE; $users = elgg_get_entities($options); access_show_hidden_entities($hidden_entities); elgg_set_ignore_access($ia); // setup pagination $pagination = elgg_view('navigation/pagination',array( 'baseurl' => $vars['url'] . '/pg/uservalidationbyemail/admin/', 'offset' => $offset, 'count' => $count, 'limit' => $limit, )); echo $pagination; $bulk_actions_checkbox = ''; $validate = elgg_view('output/url', array( 'is_action' => TRUE, 'js' => 'title="' . elgg_echo('uservalidationbyemail:confirm_validate_checked') . '"', 'href' => $vars['url'] . "action/uservalidationbyemail/validate/", 'text' => elgg_echo('uservalidationbyemail:admin:validate'), 'class' => 'unvalidated-users-bulk-post', )); $resend_email = elgg_view('output/url', array( 'is_action' => TRUE, 'js' => 'title="' . elgg_echo('uservalidationbyemail:confirm_resend_validation_checked') . '"', 'href' => $vars['url'] . "action/uservalidationbyemail/resend_validation/", 'text' => elgg_echo('uservalidationbyemail:admin:resend_validation'), 'class' => 'unvalidated-users-bulk-post', )); $delete = elgg_view('output/url', array( 'is_action' => TRUE, 'js' => 'title="' . elgg_echo('uservalidationbyemail:confirm_delete_checked') . '"', 'href' => $vars['url'] . "action/uservalidationbyemail/delete/", 'text' => elgg_echo('uservalidationbyemail:admin:delete'), 'class' => 'unvalidated-users-bulk-post', )); $bulk_actions = <<<___END