Elgg  Version 6.0
validation_pending.php
Go to the documentation of this file.
1 <?php
7 
9 if (!$session->get('admin_validation')) {
10  throw new ValidationException();
11 }
12 
13 $session->remove('admin_validation');
14 
15 $shell = elgg_get_config('walled_garden') ? 'walled_garden' : 'default';
16 
17 echo elgg_view_page(elgg_echo('account:validation:pending:title'), [
18  'content' => elgg_view('output/longtext', [
19  'value' => elgg_echo('account:validation:pending:content')
20  ]),
21  'sidebar' => false,
22  'filter' => false,
23 ], $shell);
elgg_get_config(string $name, $default=null)
Get an Elgg configuration value.
elgg_get_session()
Gets Elgg&#39;s session object.
Definition: sessions.php:15
elgg_echo(string $message_key, array $args=[], string $language= '')
Elgg language module Functions to manage language and translations.
Definition: languages.php:17
elgg_view(string $view, array $vars=[], string $viewtype= '')
Return a parsed view.
Definition: views.php:156
elgg_view_page(string $title, string|array $body, string $page_shell= 'default', array $vars=[])
Assembles and outputs a full page.
Definition: views.php:235