moved get_node_userlist into backend, removed some warnings
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_node_userlist.php
... / ...
CommitLineData
1<?php
2
3// Get list of users currently viewing specified node.
4
5function 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.081793 seconds and 4 git commands to generate.