mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
WIP: Cumulative update ☕ (#685)
* Use lang variables instead of strings * [Cache/Datastore] Use switch constructions * Removed old-style debug from SQL wrapper * Removed useless functions * Use bb_date instead of native function
This commit is contained in:
parent
cef8db9af7
commit
4ff334bb45
11 changed files with 49 additions and 103 deletions
|
@ -235,8 +235,8 @@ foreach ($cat_forums as $cid => $c) {
|
|||
'FORUM_ID' => $fid,
|
||||
'FORUM_NAME' => $fname_html,
|
||||
'FORUM_DESC' => $f['forum_desc'],
|
||||
'POSTS' => commify($f['forum_posts']),
|
||||
'TOPICS' => commify($f['forum_topics']),
|
||||
'POSTS' => number_format($f['forum_posts']),
|
||||
'TOPICS' => number_format($f['forum_topics']),
|
||||
'LAST_SF_ID' => $f['last_sf_id'] ?? null,
|
||||
'MODERATORS' => isset($moderators[$fid]) ? implode(', ', $moderators[$fid]) : '',
|
||||
'FORUM_FOLDER_ALT' => $new ? $lang['NEW'] : $lang['OLD'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue