3 * template_lite default modifier plugin
7 * Purpose: designate default value for empty variables
8 * Credit: Taken from the original Smarty
9 * http://smarty.php.net
11 function tpl_modifier_default($string, $default = '')
13 if (!isset($string) ||
$string === '')