some pagination work

This commit is contained in:
Baris Soner Usakli
2014-01-24 13:27:36 -05:00
parent 620ff65cbe
commit cf39c66017
5 changed files with 62 additions and 17 deletions

View File

@@ -528,6 +528,10 @@ var socket,
});
templates.setGlobal('relative_path', RELATIVE_PATH);
templates.setGlobal('usePagination', config.usePagination);
templates.setGlobal('topicsPerPage', config.topicsPerPage);
templates.setGlobal('postsPerPage', config.postsPerPage);
console.log(templates.globals);
});
showWelcomeMessage = location.href.indexOf('loggedin') !== -1;