mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
- 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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user