3 //XXX duplicate to get_node_commanders,
4 //only one can survive;)
6 function smarty_function_get_node_commanders2($brawco,&$smarty) {
8 $node_id=$node['node_id'];
9 $set=$db->query("select node_permission,users.login from node_access left join users on node_access.user_id=users.user_id where node_id='$node_id' and node_permission!='' order by node_permission");
11 while ($set->next()) {
12 $commanders[$set->getString('node_permission')][]=$set->getString('login');
15 $smarty->assign('get_node_commanders2',$commanders);
16 // $smarty->assign('masters',$commanders['master']);
17 // $smarty->assign('ops',$commanders['op']);
18 // $smarty->assign('access',$commanders['access']);
19 // $smarty->assign('bans',$commanders['ban']);
20 // $smarty->assign('silence',$commanders['silence']);
21 // $smarty->assign('execute',$commanders['execute']);
This page took 0.300241 seconds and 4 git commands to generate.