* moved duplicate utility/dom-functions from global.js to basic.js

- consequentially prepended $WH to those functions (since i do have issues with regEx, some errors may occur)
* simplified including required JS and CSS files per page
* replaced old Menu-class with (almost) current version. Since it relies heavily on jQuery it is also loaded.
This commit is contained in:
Sarjuuk
2013-08-02 15:57:27 +02:00
parent b47be3c14a
commit e834f1aee3
70 changed files with 6122 additions and 5917 deletions

View File

@@ -20,15 +20,17 @@ if (!$smarty->loadCache($cacheKey, $pageData))
}
$page = array(
'tab' => 0, // for g_initHeader($tab)
// menuId 12: Class g_initPath()
// tabId 0: Database g_initHeader()
$smarty->updatePageVars(array(
'title' => Util::ucFirst(Lang::$game['classes']),
'path' => "[0, 12]",
);
$smarty->updatePageVars($page);
'tab' => 0
));
$smarty->assign('lang', Lang::$main);
$smarty->assign('lvData', $pageData);
// load the page
$smarty->display('generic-no-filter.tpl');
?>