Now assigning JSON interpretation of node to Smarty
[mirrors/Kyberia-bloodline.git] / wwwroot / nodes.php
index 2425b50a8d3983ff23f596956297a8dd395595d0..2d7dc8cf360c0986a31b172bd98c467087721d57 100644 (file)
@@ -488,7 +488,10 @@ if ($node['node_system_access']=='crypto') {
 $smarty->assign('error',$error);
 $smarty->assign('permissions',$permissions);
 $smarty->assign('current_vector',$node['node_vector']);
-if ($permissions['r']) $smarty->assign('node',$node);
+if ($permissions['r']) {
+       $smarty->assign('node',$node);
+       $smarty->assign('node_json',json_encode($node));
+}
 else {
 
        $smarty->assign('node',$node);
This page took 0.132079 seconds and 4 git commands to generate.