mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Added show board start date on index page (#725)
This commit is contained in:
parent
00afae9c88
commit
108fe39ade
3 changed files with 7 additions and 0 deletions
|
@ -518,6 +518,8 @@ $bb_cfg['allow_change'] = [
|
|||
'dateformat' => true,
|
||||
];
|
||||
|
||||
$bb_cfg['show_board_start_date'] = true;
|
||||
|
||||
$bb_cfg['trash_forum_id'] = 0; // (int) 7
|
||||
|
||||
$bb_cfg['first_logon_redirect_url'] = 'index.php';
|
||||
|
|
|
@ -139,6 +139,7 @@ $template->assign_vars(array(
|
|||
'CURRENT_TIME' => sprintf($lang['CURRENT_TIME'], bb_date(TIMENOW, $bb_cfg['last_visit_date_format'], false)),
|
||||
'S_TIMEZONE' => preg_replace('/\(.*?\)/', '', sprintf($lang['ALL_TIMES'], $lang['TZ'][str_replace(',', '.', (float)$bb_cfg['board_timezone'])])),
|
||||
'BOARD_TIMEZONE' => $bb_cfg['board_timezone'],
|
||||
'BOARD_START' => $bb_cfg['show_board_start_date'] ? ($lang['BOARD_STARTED'] . ': ' . '<b>' . bb_date($bb_cfg['board_startdate']) . '</b>') : '',
|
||||
|
||||
'PM_INFO' => $pm_info,
|
||||
'PRIVMSG_IMG' => $icon_pm,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue