From 9371f8b6a238eef18ede5cd21fa68b5591d037b6 Mon Sep 17 00:00:00 2001 From: Harvie Date: Mon, 29 Nov 2010 03:09:44 +0100 Subject: [PATCH] Added node.node_kid (base36 id) for use in Smarty templates --- wwwroot/inc/nodes.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/wwwroot/inc/nodes.inc b/wwwroot/inc/nodes.inc index 2f63e55..47bba1b 100644 --- a/wwwroot/inc/nodes.inc +++ b/wwwroot/inc/nodes.inc @@ -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) { -- 2.30.2