6 * simplified xl() version for smarty templates
7 * Christian Navalici 2007
12 * Smarty {xl} function plugin
16 * Purpose: translate in OpenEMR - Smarty templates<br>
26 require_once(dirname(__FILE__
) . '../../translation.inc.php');
28 function smarty_function_xl($params, &$smarty)
30 if (empty($params['t'])) {
31 $smarty->trigger_error("xk: missing 't' parameter");
34 $translate = $params['t'];
40 /* vim: set expandtab: */