Elgg
Version 1.11
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:167
echo
elgg echo
Translates a string.
Definition:
languages.js:43
elgg_view
elgg_view($view, $vars=array(), $bypass=false, $ignored=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:354
$token
$token
Definition:
securitytoken.php:12
$ts
$ts
Definition:
securitytoken.php:11
Generated on Sat Dec 21 2024 00:00:50 for Elgg by
1.8.11