10 * Smarty default modifier plugin
14 * Purpose: designate default value for empty variables
15 * @link http://smarty.php.net/manual/en/language.modifier.default.php
16 * default (Smarty online manual)
21 function smarty_modifier_default($string, $default = '')
23 if (!isset($string) ||
$string === '')
29 /* vim: set expandtab: */