moved get_node_userlist into backend, removed some warnings
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_node_userlist.php
1 <?php
2
3 // Get list of users currently viewing specified node.
4
5 function smarty_function_get_node_userlist($params,&$smarty) {
6
7 global $node;
8
9 if (isset($params['node_id']) && is_numeric($params['node_id'])) {
10 $node_id=$params['node_id'];
11 } else {
12 $node_id=$node['node_id'];
13 }
14
15 $userlist=nodes::getNodeUserlist($node_id);
16 $smarty->assign('userlist',$userlist);
17 }
18 ?>
This page took 0.274626 seconds and 4 git commands to generate.