mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#801)
This commit is contained in:
parent
23544f4acf
commit
eabc49f68e
35 changed files with 44 additions and 22 deletions
|
@ -8,16 +8,21 @@
|
|||
*/
|
||||
|
||||
define('BB_SCRIPT', 'index');
|
||||
define('BB_ROOT', './');
|
||||
|
||||
require __DIR__ . '/common.php';
|
||||
|
||||
$page_cfg['load_tpl_vars'] = array(
|
||||
'post_icons',
|
||||
);
|
||||
|
||||
// Show last topic
|
||||
$show_last_topic = true;
|
||||
$last_topic_max_len = 28;
|
||||
|
||||
// Show online stats
|
||||
$show_online_users = true;
|
||||
|
||||
// Show subforums
|
||||
$show_subforums = true;
|
||||
|
||||
$datastore->enqueue(array(
|
||||
|
@ -25,6 +30,7 @@ $datastore->enqueue(array(
|
|||
'moderators',
|
||||
'cat_forums',
|
||||
));
|
||||
|
||||
if ($bb_cfg['show_latest_news']) {
|
||||
$datastore->enqueue('latest_news');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue