added get_synapse_weight function
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / smarty / node_methodz / function.get_synapse_weight.php
1 <?php
2
3 // Function for getting synapse weight from actual user to a node
4 // used for node setting
5
6 function smarty_function_get_synapse_weight($params,&$smarty) {
7
8 global $db,$node;
9
10 $user_id=$_SESSION['user_id'];
11 $node_id=$params['node_id'];
12
13 $synapse_weight=nodes::getSynapseWeight($user_id,$node_id);
14
15 $smarty->assign('synapse_weight',$synapse_weight);
16
17 }
18 ?>
This page took 0.380677 seconds and 4 git commands to generate.