Minor improvements (#1409)

* Minor improvements

* Update CHANGELOG.md

* Update viewforum.tpl

* Update viewforum.php

* Update search.php

* Update globals.css

* Update modcp.php

* Update modcp.php

* Revert "Update modcp.php"

This reverts commit decd1d58da.

* Revert "Update modcp.php"

This reverts commit 866ce37218.

* Update modcp.php
This commit is contained in:
Roman Kelesidis 2024-02-22 17:51:09 +07:00 committed by GitHub
commit 39d069016c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 9 additions and 9 deletions

View file

@ -17,7 +17,7 @@
- Fixed Undefined variable $wordCensor [\#1400](https://github.com/torrentpier/torrentpier/pull/1400) ([belomaxorka](https://github.com/belomaxorka))
- Improved word censor 🤐 [\#1393](https://github.com/torrentpier/torrentpier/pull/1393) ([belomaxorka](https://github.com/belomaxorka))
- Used hashing for filenames generation [\#1385](https://github.com/torrentpier/torrentpier/pull/1385) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405), [\#1406](https://github.com/torrentpier/torrentpier/pull/1406), [\#1408](https://github.com/torrentpier/torrentpier/pull/1408) ([belomaxorka](https://github.com/belomaxorka))
- Minor improvements [\#1382](https://github.com/torrentpier/torrentpier/pull/1382), [\#1383](https://github.com/torrentpier/torrentpier/pull/1383), [\#1391](https://github.com/torrentpier/torrentpier/pull/1391), [\#1398](https://github.com/torrentpier/torrentpier/pull/1398), [\#1405](https://github.com/torrentpier/torrentpier/pull/1405), [\#1406](https://github.com/torrentpier/torrentpier/pull/1406), [\#1408](https://github.com/torrentpier/torrentpier/pull/1408), [\#1409](https://github.com/torrentpier/torrentpier/pull/1409) ([belomaxorka](https://github.com/belomaxorka))
- Some bugfixes [\#1380](https://github.com/torrentpier/torrentpier/pull/1380) ([belomaxorka](https://github.com/belomaxorka))
- New Crowdin updates [\#1384](https://github.com/torrentpier/torrentpier/pull/1384), [\#1389](https://github.com/torrentpier/torrentpier/pull/1389), [\#1392](https://github.com/torrentpier/torrentpier/pull/1392), [\#1402](https://github.com/torrentpier/torrentpier/pull/1402), [\#1403](https://github.com/torrentpier/torrentpier/pull/1403) ([Exileum](https://github.com/Exileum))

View file

@ -110,7 +110,7 @@ if ($topic_id) {
";
if (!$topic_row = DB()->fetch_row($sql)) {
bb_die('Topic post not exist');
bb_die($lang['INVALID_TOPIC_ID_DB']);
}
$forum_id = $topic_row['forum_id'];

View file

@ -791,7 +791,7 @@ else {
'IS_UNREAD' => $is_unread,
'TOPIC_ICON' => get_topic_icon($topic, $is_unread),
'PAGINATION' => $moved ? '' : build_topic_pagination(TOPIC_URL . $topic_id, $topic['topic_replies'], $bb_cfg['posts_per_page']),
'REPLIES' => $topic['topic_replies'],
'REPLIES' => $moved ? '' : $topic['topic_replies'],
'ATTACH' => $topic['topic_attachment'],
'STATUS' => $topic['topic_status'],
'TYPE' => $topic['topic_type'],

View file

@ -830,7 +830,7 @@ table.forumline {
color: #D5E4EC;
font-size: 11px;
font-weight: bold;
background: #4E5E6F;
background: #1C508C;
}
/* "lte IE 6" in page_header.tpl */

View file

@ -60,7 +60,7 @@ ajax.callback.posts = function(data) {
<option value="26">&nbsp;size=26</option>
<option value="28">&nbsp;size=28</option>
</select>
&nbsp;
<select name="codeAlign" class="text_size">
<option value="left" selected>{L_ALIGN}</option>
<option value="left">&nbsp;{L_LEFT}</option>
@ -68,7 +68,7 @@ ajax.callback.posts = function(data) {
<option value="center">&nbsp;{L_CENTER}</option>
<option value="justify">&nbsp;{L_JUSTIFY}</option>
</select>
&nbsp;
<span class="buttons">
<input type="button" value="sup" name="codeSup" title="{L_SUPERSCRIPT}" />
<input type="button" value="sub" name="codeSub" title="{L_SUBSCRIPT}" />&nbsp;

View file

@ -473,7 +473,7 @@ td.topic_id { cursor: pointer; }
<td class="tCenter small nowrap" style="padding: 3px 4px 2px;">
<p>
<span title="{L_REPLIES}: {t.REPLIES}">{t.REPLIES}</span>
<span class="small"> | </span>
<!-- IF t.REPLIES and t.VIEWS --><span class="small"> | </span><!-- ENDIF -->
<span title="{L_VIEWS}: {t.VIEWS}">{t.VIEWS}</span>
</p>
<!-- BEGIN tor -->

View file

@ -445,8 +445,8 @@ foreach ($topic_rowset as $topic) {
'IS_UNREAD' => $is_unread,
'TOPIC_ICON' => get_topic_icon($topic, $is_unread),
'PAGINATION' => $moved ? '' : build_topic_pagination(TOPIC_URL . $topic_id, $replies, $bb_cfg['posts_per_page']),
'REPLIES' => $replies,
'VIEWS' => $topic['topic_views'],
'REPLIES' => $moved ? '' : $replies,
'VIEWS' => $moved ? '' : $topic['topic_views'],
'TOR_STALED' => ($forum_data['allow_reg_tracker'] && !($t_type == POST_ANNOUNCE || $t_type == POST_STICKY || $topic['tor_size'])),
'TOR_FROZEN' => isset($topic['tor_status']) ? ((!IS_AM) ? isset($bb_cfg['tor_frozen'][$topic['tor_status']]) : '') : '',
'TOR_TYPE' => isset($topic['tor_type']) ? is_gold($topic['tor_type']) : '',