* Name: sugar_include
* Purpose: Handles rendering the global file includes from the metadata files defined * in templateMeta=>includes. * * @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']); } ?>