From 4407e49e08f1b32f4d86334b1f3b873a142fc8db Mon Sep 17 00:00:00 2001 From: andrey Date: Tue, 21 Nov 2000 20:29:55 +0000 Subject: [PATCH] *** empty log message *** --- Smarty.addons.php | 37 +++++++++++++++++++++++++++++++++++++ Smarty.class.php | 37 +++++++++++++++++++++++-------------- demo/templates/index.tpl | 2 ++ libs/Smarty.class.php | 37 +++++++++++++++++++++++-------------- templates/index.tpl | 2 ++ 5 files changed, 87 insertions(+), 28 deletions(-) diff --git a/Smarty.addons.php b/Smarty.addons.php index c1976d8c..49b2ddf7 100644 --- a/Smarty.addons.php +++ b/Smarty.addons.php @@ -54,4 +54,41 @@ function smarty_mod_spacify($string, $spacify_char = ' ') return implode($spacify_char, preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY)); } + +/*============================================*\ + Custom functions +\*============================================*/ + +/*======================================================================*\ + Function: smarty_func_options + Purpose: Returns the list of