mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Refactoring: Created constants for datetime values (#1648)
* Refactoring: Created constants for datetime values * Updated * Updated * Update tracker.php * Update tracker.php * Update index.php * Update admin_log.php * Update viewtopic.php * Updated * Update Poll.php * Updated * Updated * Update viewtopic.php * Update User.php * Update privmsg.php * Update poll.php * Update tr_make_snapshot.php * Update displaying_torrent.php * Update CHANGELOG.md
This commit is contained in:
parent
4fe467e64a
commit
6eca29714a
30 changed files with 58 additions and 52 deletions
|
@ -743,7 +743,7 @@ if (!$mode || $show_main_page) {
|
|||
'FORUM_DESC' => htmlCHR($forum_rows[$j]['forum_desc']),
|
||||
'NUM_TOPICS' => $forum_rows[$j]['forum_topics'],
|
||||
'NUM_POSTS' => $forum_rows[$j]['forum_posts'],
|
||||
'PRUNE_DAYS' => !empty($forum_rows[$j]['prune_days']) ? delta_time((TIMENOW - 86400 * $forum_rows[$j]['prune_days']), TIMENOW, 'days') : $lang['DISABLED'],
|
||||
'PRUNE_DAYS' => !empty($forum_rows[$j]['prune_days']) ? delta_time((TIME_DAY * $forum_rows[$j]['prune_days']), TIMENOW, 'days') : $lang['DISABLED'],
|
||||
|
||||
'ORDER' => $forum_rows[$j]['forum_order'],
|
||||
'FORUM_ID' => $forum_rows[$j]['forum_id'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue