summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorraul2014-07-07 15:50:47 +0200
committerMichael Pereira Neves2014-07-11 15:05:32 +0200
commit690def6ba7a94fd21e78fe26e1eabd1f4a9450cd (patch)
tree1ab4ebeea720b04c2b840d0ee916a05b06408005 /inc
parent[i18n]finished translation with sql, queries and translated hardcoded message (diff)
downloadslx-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.php3
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));