blob: b6cc010dff7a9bc0998e911ae776c469d9b7fd43 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
<?php
/**
* Elgg default_widgets plugin.
*
* @package DefaultWidgets
*
**/
// Set admin user for user block
set_page_owner(get_loggedin_userid());
// create the view
$time = time();
echo elgg_view('defaultwidgets/editor', array(
'token' => generate_action_token($time),
'ts' => $time,
'context' => 'dashboard',
));
|