mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 05:13:54 -07:00
Minor improvements (#1446)
* Minor improvements * Updated * Update edit_user_profile.php * Update CHANGELOG.md
This commit is contained in:
parent
edcdaad690
commit
71a372ed66
3 changed files with 2 additions and 3 deletions
|
@ -11,7 +11,7 @@
|
||||||
- Improved app debug [\#1438](https://github.com/torrentpier/torrentpier/pull/1438) ([belomaxorka](https://github.com/belomaxorka))
|
- Improved app debug [\#1438](https://github.com/torrentpier/torrentpier/pull/1438) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Demo mode: Allow registering torrents by default [\#1440](https://github.com/torrentpier/torrentpier/pull/1440) ([belomaxorka](https://github.com/belomaxorka))
|
- Demo mode: Allow registering torrents by default [\#1440](https://github.com/torrentpier/torrentpier/pull/1440) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Code refactoring [\#1441](https://github.com/torrentpier/torrentpier/pull/1441) ([belomaxorka](https://github.com/belomaxorka))
|
- Code refactoring [\#1441](https://github.com/torrentpier/torrentpier/pull/1441) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443) ([belomaxorka](https://github.com/belomaxorka))
|
- Minor improvements [\#1435](https://github.com/torrentpier/torrentpier/pull/1435), [\#1443](https://github.com/torrentpier/torrentpier/pull/1443), [\#1446](https://github.com/torrentpier/torrentpier/pull/1446) ([belomaxorka](https://github.com/belomaxorka))
|
||||||
- New Crowdin updates [\#1444](https://github.com/torrentpier/torrentpier/pull/1444)
|
- New Crowdin updates [\#1444](https://github.com/torrentpier/torrentpier/pull/1444)
|
||||||
|
|
||||||
## [v2.4.2](https://github.com/torrentpier/torrentpier/tree/v2.4.2) (2024-03-30)
|
## [v2.4.2](https://github.com/torrentpier/torrentpier/tree/v2.4.2) (2024-03-30)
|
||||||
|
|
|
@ -105,7 +105,6 @@ switch ($field) {
|
||||||
$this->response['new_value'] = $this->request['value'];
|
$this->response['new_value'] = $this->request['value'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'user_from':
|
|
||||||
case 'user_occ':
|
case 'user_occ':
|
||||||
case 'user_interests':
|
case 'user_interests':
|
||||||
$value = htmlCHR($value);
|
$value = htmlCHR($value);
|
||||||
|
|
|
@ -794,7 +794,7 @@ function generate_user_info($row, bool $have_auth = IS_ADMIN): array
|
||||||
{
|
{
|
||||||
global $userdata, $lang, $images, $bb_cfg;
|
global $userdata, $lang, $images, $bb_cfg;
|
||||||
|
|
||||||
$from = !empty($row['user_from']) ? $row['user_from'] : $lang['NOSELECT'];
|
$from = !empty($row['user_from']) ? render_flag($row['user_from']) : $lang['NOSELECT'];
|
||||||
$joined = bb_date($row['user_regdate'], 'Y-m-d H:i', false);
|
$joined = bb_date($row['user_regdate'], 'Y-m-d H:i', false);
|
||||||
$user_time = !empty($row['user_time']) ? sprintf('%s <span class="signature">(%s)</span>', bb_date($row['user_time']), delta_time($row['user_time'])) : $lang['NOSELECT'];
|
$user_time = !empty($row['user_time']) ? sprintf('%s <span class="signature">(%s)</span>', bb_date($row['user_time']), delta_time($row['user_time'])) : $lang['NOSELECT'];
|
||||||
$posts = '<a href="search.php?search_author=1&uid=' . $row['user_id'] . '" target="_blank">' . $row['user_posts'] ?: 0 . '</a>';
|
$posts = '<a href="search.php?search_author=1&uid=' . $row['user_id'] . '" target="_blank">' . $row['user_posts'] ?: 0 . '</a>';
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue