Elgg  Version 3.0
unvalidated.php
Go to the documentation of this file.
1 <?php
9 $form = elgg_view_form('admin/users/unvalidated', [
10  'id' => 'admin-users-unvalidated-bulk',
11 ]);
12 
13 if (empty($form)) {
14  echo elgg_view('output/longtext', [
15  'value' => elgg_echo('admin:users:unvalidated:no_results'),
16  ]);
17  return;
18 }
19 
20 elgg_load_css('admin/users/unvalidated');
21 
22 // add header
23 $header = elgg_view_menu('user:unvalidated:bulk', [
24  'class' => 'elgg-menu-hz',
25 ]);
26 
27 // show list
28 echo elgg_view_module('info', '', $form, ['header' => $header]);
elgg_echo($message_key, array $args=[], $language="")
Given a message key, returns an appropriately translated full-text string.
Definition: languages.php:21
elgg_view_menu($menu, array $vars=[])
Render a menu.
Definition: views.php:755
elgg_load_css($name)
Load a CSS file for this page.
Definition: elgglib.php:234
$header
Definition: unvalidated.php:23
elgg_view_form($action, $form_vars=[], $body_vars=[])
Definition: views.php:1318
elgg_view_module($type, $title, $body, array $vars=[])
Wrapper function for the module display pattern.
Definition: views.php:1198
elgg echo
Translates a string.
Definition: languages.js:43
$form
List all unvalidated users in the admin area.
Definition: unvalidated.php:9
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246