From: Harvie Date: Tue, 30 Nov 2010 07:38:46 +0000 (+0100) Subject: Added smarty_function_base_convert() - now we can simply get base36 ID in templates... X-Git-Url: http://git.harvie.cz/?a=commitdiff_plain;h=6a70b95a7d865988724e83a95e918258114183e6;p=mirrors%2FKyberia-bloodline.git 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} --- 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 @@ +