* Name: sugar_getjspath
* Purpose: Adds JS caching string to path * * @author Collin Lee {clee@sugarcrm.com} * @param array * @param Smarty */ function smarty_function_sugar_getjspath($params, &$smarty) { if(!isset($params['file'])) { $smarty->trigger_error($GLOBALS['app_strings']['ERR_MISSING_REQUIRED_FIELDS'] . 'file'); } return getJSPath($params['file']); } ?>