Skip to content

Commit

Permalink
// Admin smartyTranslate Fix missing js params
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromenadaud committed Feb 4, 2014
1 parent c007574 commit ddb5364
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/smartyadmin.config.inc.php
Expand Up @@ -47,7 +47,7 @@ function smartyTranslate($params, &$smarty)


// If the template is part of a module // If the template is part of a module
if (!empty($params['mod'])) if (!empty($params['mod']))
return Translate::getModuleTranslation($params['mod'], $params['s'], basename($filename, '.tpl'), $sprintf); return Translate::getModuleTranslation($params['mod'], $params['s'], basename($filename, '.tpl'), $sprintf, isset($params['js']));


// If the tpl is at the root of the template folder // If the tpl is at the root of the template folder
if (dirname($filename) == '.') if (dirname($filename) == '.')
Expand Down

0 comments on commit ddb5364

Please sign in to comment.