First working transport - not so cool yet...
authorHarvie <tomas@mudrunka.cz>
Fri, 24 Dec 2010 00:57:08 +0000 (01:57 +0100)
committerHarvie <tomas@mudrunka.cz>
Fri, 24 Dec 2010 00:57:08 +0000 (01:57 +0100)
wwwroot/inc/smarty/node_methodz/function.get_threaded_children.php

index 2ed046792cdf13ea6ccb09b323ec6548a269522a..7f18e893b816bec134dcc3df3961d3f0d231e0df 100644 (file)
@@ -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'].':<br />'.$transports[$child['transport']]['get_node_content']($child['node_id']);
+       }
 }
 
 $get_children_array[]=$child;
This page took 0.125137 seconds and 4 git commands to generate.