- moved redButtons to separate brick-file (no more "here its translated, and not there" or mixed up button order and better management on top)

- implemented subTabs for spells (used on class-page)
- load sqlLimits from config into constants
This commit is contained in:
Sarjuuk
2013-12-13 16:29:47 +01:00
parent 07ee8213da
commit 954352e17a
33 changed files with 592 additions and 399 deletions

View File

@@ -288,7 +288,7 @@ class SmartyAoWoW extends Smarty
$cwd = str_replace("\\", "/", getcwd());
$this->assign('appName', $config['page']['name']);
$this->assign('appName', $config['name']);
$this->assign('AOWOW_REVISION', AOWOW_REVISION);
$this->config = $config;
$this->template_dir = $cwd.'/template/';
@@ -308,7 +308,8 @@ class SmartyAoWoW extends Smarty
'typeId' => null, // [int] entry to display
'path' => '[]' // [string] (js:array) path to preselect in the menu
);
$this->_tpl_vars['jsGlobals'] = [];
$this->_tpl_vars['jsGlobals'] = [];
$this->_tpl_vars['redButtons'] = [];
}
// using Smarty::assign would overwrite every pair and result in undefined indizes