Added node.node_kid (base36 id) for use in Smarty templates
authorHarvie <tomas@mudrunka.cz>
Mon, 29 Nov 2010 02:09:44 +0000 (03:09 +0100)
committerHarvie <tomas@mudrunka.cz>
Mon, 29 Nov 2010 02:09:44 +0000 (03:09 +0100)
wwwroot/inc/nodes.inc

index 2f63e55265648747b7ef17714ac58858916eabac..47bba1bfa0765f8f033407542e639f8778eef314 100644 (file)
@@ -195,6 +195,7 @@ where $table_name.node_id='$node_handle'";
                 }
                 else {
                         $node=$result->getRecord();
+                        $node['node_kid']=base_convert($node['node_id'],10,36);
                         $node['node_vector']=trim($node['node_vector'],"z");
                         $ancestors=str_split($node['node_vector'],VECTOR_CHARS);
                         foreach ($ancestors as $ancestor) {
This page took 0.113146 seconds and 4 git commands to generate.