mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -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,
|
'dateformat' => true,
|
||||||
];
|
];
|
||||||
|
|
||||||
|
$bb_cfg['show_board_start_date'] = true;
|
||||||
|
|
||||||
$bb_cfg['trash_forum_id'] = 0; // (int) 7
|
$bb_cfg['trash_forum_id'] = 0; // (int) 7
|
||||||
|
|
||||||
$bb_cfg['first_logon_redirect_url'] = 'index.php';
|
$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)),
|
'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'])])),
|
'S_TIMEZONE' => preg_replace('/\(.*?\)/', '', sprintf($lang['ALL_TIMES'], $lang['TZ'][str_replace(',', '.', (float)$bb_cfg['board_timezone'])])),
|
||||||
'BOARD_TIMEZONE' => $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,
|
'PM_INFO' => $pm_info,
|
||||||
'PRIVMSG_IMG' => $icon_pm,
|
'PRIVMSG_IMG' => $icon_pm,
|
||||||
|
|
|
@ -174,6 +174,10 @@
|
||||||
<p>{TOTAL_GENDER}</p>
|
<p>{TOTAL_GENDER}</p>
|
||||||
<p>{NEWEST_USER}</p>
|
<p>{NEWEST_USER}</p>
|
||||||
|
|
||||||
|
<!-- IF $bb_cfg['show_board_start_date'] -->
|
||||||
|
<p style="margin-top: 4px;">{BOARD_START}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
<!-- IF $bb_cfg['tor_stats'] -->
|
<!-- IF $bb_cfg['tor_stats'] -->
|
||||||
<div class="hr1" style="margin: 5px 0 4px;"></div>
|
<div class="hr1" style="margin: 5px 0 4px;"></div>
|
||||||
<p>{TORRENTS_STAT}</p>
|
<p>{TORRENTS_STAT}</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue