GIT.Harvie.CZ
/
mirrors
/
Kyberia-bloodline.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf631f1
)
Now assigning JSON interpretation of node to Smarty
author
Harvie
<tomas@mudrunka.cz>
Mon, 20 Dec 2010 19:04:57 +0000
(20:04 +0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 20 Dec 2010 19:04:57 +0000
(20:04 +0100)
wwwroot/nodes.php
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/nodes.php
b/wwwroot/nodes.php
index 2425b50a8d3983ff23f596956297a8dd395595d0..2d7dc8cf360c0986a31b172bd98c467087721d57 100644
(file)
--- a/
wwwroot/nodes.php
+++ b/
wwwroot/nodes.php
@@
-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.164414 seconds
and
4
git commands to generate.