Elgg  Version 3.0
securitytoken.php
Go to the documentation of this file.
1 <?php
11 $ts = time();
13 
14 echo elgg_view('input/hidden', ['name' => '__elgg_token', 'value' => $token]);
15 echo elgg_view('input/hidden', ['name' => '__elgg_ts', 'value' => $ts]);
elgg echo
Translates a string.
Definition: languages.js:43
$token
generate_action_token($timestamp)
Generate an action token.
Definition: actions.php:83
elgg_view($view, $vars=[], $viewtype= '')
Return a parsed view.
Definition: views.php:246