mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Minor improvements (#1713)
* Minor improvements
* Update init_bb.php
* Updated
* Revert "Updated"
This reverts commit af83788c22
.
* Update CHANGELOG.md
This commit is contained in:
parent
fd951a27fa
commit
b27fa94ee8
18 changed files with 31 additions and 31 deletions
|
@ -90,13 +90,13 @@ switch ($mode) {
|
|||
// Log action
|
||||
$log_msg = sprintf($lang['TOR_STATUS_LOG_ACTION'], $bb_cfg['tor_icons'][$new_status] . ' <b> ' . $lang['TOR_STATUS_NAME'][$new_status] . '</b>', $bb_cfg['tor_icons'][$tor['tor_status']] . ' <b> ' . $lang['TOR_STATUS_NAME'][$tor['tor_status']] . '</b>');
|
||||
if ($comment && $comment != $lang['COMMENT']) {
|
||||
$log_msg .= "<br>{$lang['COMMENT']}: <b>$comment</b>.";
|
||||
$log_msg .= "<br/>{$lang['COMMENT']}: <b>$comment</b>.";
|
||||
}
|
||||
$log_action->mod('mod_topic_change_tor_status', [
|
||||
'forum_id' => $tor['forum_id'],
|
||||
'topic_id' => $tor['topic_id'],
|
||||
'topic_title' => $tor['topic_title'],
|
||||
'log_msg' => $log_msg . '<br>-------------',
|
||||
'log_msg' => $log_msg . '<br/>-------------',
|
||||
]);
|
||||
|
||||
$this->response['status'] = $bb_cfg['tor_icons'][$new_status] . ' <b> ' . $lang['TOR_STATUS_NAME'][$new_status] . '</b> · ' . profile_url($userdata) . ' · <i>' . delta_time(TIMENOW) . $lang['TOR_BACK'] . '</i>';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue