Subversion Repositories instagram

[/] [modules/] [ig/] [connected_users.php] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 ffruehstueck
<?php
2
 
3
$module = $Params['Module'];
4
$http = eZHTTPTool::instance();
5
$tpl = eZTemplate::factory();
6
 
7
$Module                         = $Params['Module'];
8
 
9
$tokenArray = eZIG::fetchAll( );
10
 
11
$user = eZUser::currentUser();
12
 
13
$tpl->setVariable( 'connected_users', $tokenArray );
14
 
15
 
16
$Result = array();
17
$Result['left_menu'] = "design:ig/backoffice_left_menu.tpl";
18
$Result['content'] = $tpl->fetch( 'design:ig/connected_users.tpl' );
19
$Result['path'] = array( array( 'text' => ezpI18n::tr( 'extension/ig', 'Connected Users' ),
20
                                'url' => false ) );
21
 
22
return $Result;
23