diff options
author | raul | 2014-07-07 15:50:47 +0200 |
---|---|---|
committer | Michael Pereira Neves | 2014-07-11 15:05:32 +0200 |
commit | 690def6ba7a94fd21e78fe26e1eabd1f4a9450cd (patch) | |
tree | 1ab4ebeea720b04c2b840d0ee916a05b06408005 /inc | |
parent | [i18n]finished translation with sql, queries and translated hardcoded message (diff) | |
download | slx-admin-690def6ba7a94fd21e78fe26e1eabd1f4a9450cd.tar.gz slx-admin-690def6ba7a94fd21e78fe26e1eabd1f4a9450cd.tar.xz slx-admin-690def6ba7a94fd21e78fe26e1eabd1f4a9450cd.zip |
[i18n]separated jsons by template, and finished other php details
Diffstat (limited to 'inc')
-rw-r--r-- | inc/render.inc.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/render.inc.php b/inc/render.inc.php index 3d5b3864..1b45535d 100644 --- a/inc/render.inc.php +++ b/inc/render.inc.php @@ -163,7 +163,8 @@ class Render */ public static function parse($template, $params = false) { - $dictionary = Dictionary::getArray(); + $dictionary = Dictionary::getArrayTemplate($template); + //$dictionary = Dictionary::getArray(); if (is_array($params) || $params === false || is_null($params)) $params['token'] = Session::get('token'); return self::$mustache->render(self::getTemplate($template), array_merge($dictionary,$params)); |