mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
* 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:
@@ -19,6 +19,8 @@ foreach ($rows as $i => $row)
|
||||
|
||||
$smarty->assign('news', isset($rows) ? $rows : NULL);
|
||||
$smarty->assign('lang', Lang::$main);
|
||||
|
||||
// load the page
|
||||
$smarty->display('main.tpl');
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user