From: Harvie Date: Fri, 24 Dec 2010 00:57:08 +0000 (+0100) Subject: First working transport - not so cool yet... X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=0eb768bf3a10faf5ad7848caf2c2472e297f2837;p=mirrors%2FKyberia-bloodline.git First working transport - not so cool yet... --- diff --git a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php index 2ed0467..7f18e89 100644 --- a/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php +++ b/wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php @@ -65,7 +65,12 @@ else $security = ""; $child = $result->getRecord(); if($child['synapse_creator']!='') { $child['node_status']='linked'; - if($child['transport']!='') $child['node_content']=$child['node_id'].'@'.$child['transport']; + if($child['transport']!='') { + require_once(INCLUDE_DIR.'transports.inc'); + transport_load($child['transport']); + global $transports; + $child['node_content']=$child['node_id'].'@'.$child['transport'].':
'.$transports[$child['transport']]['get_node_content']($child['node_id']); + } } $get_children_array[]=$child;