From 6a70b95a7d865988724e83a95e918258114183e6 Mon Sep 17 00:00:00 2001 From: Harvie Date: Tue, 30 Nov 2010 08:38:46 +0100 Subject: [PATCH] Added smarty_function_base_convert() - now we can simply get base36 ID in templates everywhere the base10 ID is... using {base_convert f='10' t='36' n=$node.node_id} --- wwwroot/inc/smarty/node_methodz/function.base_convert.php | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 wwwroot/inc/smarty/node_methodz/function.base_convert.php diff --git a/wwwroot/inc/smarty/node_methodz/function.base_convert.php b/wwwroot/inc/smarty/node_methodz/function.base_convert.php new file mode 100644 index 0000000..8bf8dbe --- /dev/null +++ b/wwwroot/inc/smarty/node_methodz/function.base_convert.php @@ -0,0 +1,4 @@ +