mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-24 03:59:08 -05:00
update: torrent upload message
This commit is contained in:
@@ -220,11 +220,11 @@ class TorrentController extends BaseController
|
||||
// Announce To Shoutbox
|
||||
if ($anon == 0) {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('User [url=%s/users/', $appurl).$username.']'.$username.\sprintf('[/url] has uploaded [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url] grab it now! :slight_smile:'
|
||||
\sprintf('User [url=%s/users/', $appurl).$username.']'.$username.\sprintf('[/url] has uploaded a new '. $torrent->category->name .'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
);
|
||||
} else {
|
||||
$this->chatRepository->systemMessage(
|
||||
\sprintf('An anonymous user has uploaded [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url] grab it now! :slight_smile:'
|
||||
\sprintf('An anonymous user has uploaded a new '. $torrent->category->name .'. [url=%s/torrents/', $appurl).$torrent->id.']'.$torrent->name.'[/url], grab it now! :slight_smile:'
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user