Added smarty_function_base_convert() - now we can simply get base36 ID in templates...
authorHarvie <tomas@mudrunka.cz>
Tue, 30 Nov 2010 07:38:46 +0000 (08:38 +0100)
committerHarvie <tomas@mudrunka.cz>
Tue, 30 Nov 2010 07:39:26 +0000 (08:39 +0100)
wwwroot/inc/smarty/node_methodz/function.base_convert.php [new file with mode: 0644]

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 (file)
index 0000000..8bf8dbe
--- /dev/null
@@ -0,0 +1,4 @@
+<?php
+       function smarty_function_base_convert($params,&$smarty) {
+               return(base_convert($params['n'],$params['f'],$params['t']));
+       }
This page took 0.137134 seconds and 4 git commands to generate.