mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
minor typos and a corrected staticUrl for the clientside scripts
This commit is contained in:
@@ -49,13 +49,14 @@ class Smarty_AoWoW extends Smarty
|
||||
$this->assign('app_name', $config['page']['name']);
|
||||
$this->assign('AOWOW_REVISION', AOWOW_REVISION);
|
||||
$this->_tpl_vars['page'] = array(
|
||||
'reqJS' => [], // <[string]> path to required JSFile
|
||||
'reqCSS' => [], // <[string,string]> path to required CSSFile, IE condition
|
||||
'title' => null, // [string] page title
|
||||
'tab' => null, // [int] # of tab to highlight in the menu
|
||||
'type' => null, // [int] numCode for spell, npx, object, ect
|
||||
'typeId' => null, // [int] entry to display
|
||||
'path' => '[]', // [string] (js:array) path to preselect in the menu
|
||||
'reqJS' => [], // <[string]> path to required JSFile
|
||||
'reqCSS' => [], // <[string,string]> path to required CSSFile, IE condition
|
||||
'title' => null, // [string] page title
|
||||
'tab' => null, // [int] # of tab to highlight in the menu
|
||||
'type' => null, // [int] numCode for spell, npx, object, ect
|
||||
'typeId' => null, // [int] entry to display
|
||||
'path' => '[]', // [string] (js:array) path to preselect in the menu
|
||||
'gStaticUrl' => substr('http://'.$_SERVER['SERVER_NAME'].strtr($_SERVER['SCRIPT_NAME'], ['index.php' => '']), 0, -1)
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user