diff --git a/library/attach_mod/displaying_torrent.php b/library/attach_mod/displaying_torrent.php index bfd81e5a1..632325906 100644 --- a/library/attach_mod/displaying_torrent.php +++ b/library/attach_mod/displaying_torrent.php @@ -501,7 +501,7 @@ if ($tor_reged && $tor_info) { // Show "seeder last seen info" if (($s_mode == 'count' && !$seed_count) || (!$seeders && !defined('SEEDER_EXIST'))) { $last_seen_time = ($tor_info['seeder_last_seen']) ? delta_time($tor_info['seeder_last_seen']) : $lang['NEVER']; - $last_seeder_username = !empty($tor_info['last_seeder_id']) ? '(' .get_userdata($tor_info['last_seeder_id'])['username']. ')' : ''; + $last_seeder_username = (!empty($tor_info['last_seeder_id']) && $last_seeder = get_userdata($tor_info['last_seeder_id'])) ? ' -> ' . profile_url(['username' => $last_seeder['username'], 'user_id' => $last_seeder['user_id'], 'user_rank' => $last_seeder['user_rank']]) . '' : ''; $template->assign_vars(['SEEDER_LAST_SEEN' => sprintf($lang['SEEDER_LAST_SEEN'], $last_seen_time)]); $template->assign_vars(['SEEDER_USERNAME' => $last_seeder_username]); diff --git a/library/config.php b/library/config.php index 7b5f9dce5..0c894f702 100644 --- a/library/config.php +++ b/library/config.php @@ -454,7 +454,6 @@ $bb_cfg['show_poster_posts'] = true; // показывать количеств $bb_cfg['show_poster_from'] = true; // показывать страну пользователя $bb_cfg['show_bot_nick'] = false; // показывать ник бота $bb_cfg['text_buttons'] = false; // replace EDIT, QUOTE... images with text links -$bb_cfg['parse_ed2k_links'] = true; // make ed2k links clickable $bb_cfg['post_date_format'] = 'd-M-Y H:i'; // формат даты публикации в топиках $bb_cfg['ext_link_new_win'] = true; // open external links in new window diff --git a/library/language/en/main.php b/library/language/en/main.php index 7da9c269d..9beedc638 100644 --- a/library/language/en/main.php +++ b/library/language/en/main.php @@ -2531,7 +2531,7 @@ $lang['BOT_TOPIC_MOVED_FROM_TO'] = 'Topic has been moved from forum [b]%s[/b] to $lang['BOT_MESS_SPLITS'] = 'Topic has been split. New topic - [b]%s[/b][br][br]%s'; $lang['BOT_TOPIC_SPLITS'] = 'Topic has been split from [b]%s[/b][br][br]%s'; -$lang['CALLSEED'] = 'Downloaded the call'; +$lang['CALLSEED'] = 'Call seeds'; $lang['CALLSEED_EXPLAIN'] = 'Take notice with a request to return to the distribution'; $lang['CALLSEED_SUBJECT'] = 'Download help %s'; $lang['CALLSEED_TEXT'] = 'Hello![br]Your help is needed in the release [url=%s]%s[/url][br]If you decide to help, but already deleted the torrent file, you can download it [url=%s]this[/url][br][br]I hope for your help!'; diff --git a/library/language/source/main.php b/library/language/source/main.php index ad06eb6c8..fce63b4b1 100644 --- a/library/language/source/main.php +++ b/library/language/source/main.php @@ -2531,7 +2531,7 @@ $lang['BOT_TOPIC_MOVED_FROM_TO'] = 'Topic has been moved from forum [b]%s[/b] to $lang['BOT_MESS_SPLITS'] = 'Topic has been split. New topic - [b]%s[/b][br][br]%s'; $lang['BOT_TOPIC_SPLITS'] = 'Topic has been split from [b]%s[/b][br][br]%s'; -$lang['CALLSEED'] = 'Downloaded the call'; +$lang['CALLSEED'] = 'Call seeds'; $lang['CALLSEED_EXPLAIN'] = 'Take notice with a request to return to the distribution'; $lang['CALLSEED_SUBJECT'] = 'Download help %s'; $lang['CALLSEED_TEXT'] = 'Hello![br]Your help is needed in the release [url=%s]%s[/url][br]If you decide to help, but already deleted the torrent file, you can download it [url=%s]this[/url][br][br]I hope for your help!'; diff --git a/styles/templates/default/viewtopic_attach.tpl b/styles/templates/default/viewtopic_attach.tpl index cfcf3d5e3..2de55bc1a 100644 --- a/styles/templates/default/viewtopic_attach.tpl +++ b/styles/templates/default/viewtopic_attach.tpl @@ -213,8 +213,8 @@ - {L_COMPLETED}: - {postrow.attach.tor_reged.DOWNLOAD_COUNT} + {L_DOWNLOADED}: + {postrow.attach.tor_reged.DOWNLOAD_COUNT} {L_SIZE}: diff --git a/styles/templates/default/viewtopic_torrent.tpl b/styles/templates/default/viewtopic_torrent.tpl index 2cd480a6f..d463c2520 100644 --- a/styles/templates/default/viewtopic_torrent.tpl +++ b/styles/templates/default/viewtopic_torrent.tpl @@ -57,7 +57,7 @@ ajax.callback.callseed = function (data) { {L_SIZE}:  {TOR_SIZE}   |    {L_IS_REGISTERED}:  {TOR_LONGEVITY}   |    - {L_COMPLETED}:  {TOR_DOWNLOAD_COUNT} + {L_DOWNLOADED}:  {TOR_DOWNLOAD_COUNT}