Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
input
securitytoken.php
Go to the documentation of this file.
1
<?php
11
$ts
=
time
();
12
$token
=
generate_action_token
(
$ts
);
13
14
echo
elgg_view
(
'input/hidden'
, array(
'name'
=>
'__elgg_token'
,
'value'
=>
$token
));
15
echo
elgg_view
(
'input/hidden'
, array(
'name'
=>
'__elgg_ts'
,
'value'
=>
$ts
));
generate_action_token
generate_action_token($timestamp)
Generate an action token.
Definition:
actions.php:177
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
$token
$token
Definition:
securitytoken.php:12
$ts
$ts
Definition:
securitytoken.php:11
time
elgg subtext time
Definition:
typography.css.php:121
Generated on Mon Dec 30 2024 00:01:04 for Elgg by
1.8.11