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:
117ec8d
)
Added node.node_kid (base36 id) for use in Smarty templates
author
Harvie
<tomas@mudrunka.cz>
Mon, 29 Nov 2010 02:09:44 +0000
(
03:09
+0100)
committer
Harvie
<tomas@mudrunka.cz>
Mon, 29 Nov 2010 02:09:44 +0000
(
03:09
+0100)
wwwroot/inc/nodes.inc
patch
|
blob
|
blame
|
history
diff --git
a/wwwroot/inc/nodes.inc
b/wwwroot/inc/nodes.inc
index 2f63e55265648747b7ef17714ac58858916eabac..47bba1bfa0765f8f033407542e639f8778eef314 100644
(file)
--- 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();
}
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) {
$node['node_vector']=trim($node['node_vector'],"z");
$ancestors=str_split($node['node_vector'],VECTOR_CHARS);
foreach ($ancestors as $ancestor) {
This page took
0.095316 seconds
and
4
git commands to generate.