mirror of
https://github.com/friendica/friendica
synced 2025-05-08 21:44:10 +02:00
Replace remaining mentions of "Status" by "Conversations" or "Posts"
This commit is contained in:
parent
d0648b10ef
commit
5c8cd8fdd6
9 changed files with 34 additions and 34 deletions
|
@ -51,7 +51,7 @@ use Friendica\Util\Profiler;
|
|||
use Friendica\Util\Strings;
|
||||
use Psr\Log\LoggerInterface;
|
||||
|
||||
class Status extends BaseProfile
|
||||
class Conversations extends BaseProfile
|
||||
{
|
||||
/** @var App */
|
||||
private $app;
|
||||
|
@ -147,8 +147,8 @@ class Status extends BaseProfile
|
|||
$commpage = $profile['page-flags'] == User::PAGE_FLAGS_COMMUNITY;
|
||||
$commvisitor = $commpage && $remote_contact;
|
||||
|
||||
$this->page['aside'] .= Widget::postedByYear($this->baseUrl . '/profile/' . $profile['nickname'] . '/status', $profile['profile_uid'] ?? 0, true);
|
||||
$this->page['aside'] .= Widget::categories($profile['uid'], $this->baseUrl . '/profile/' . $profile['nickname'] . '/status', $category);
|
||||
$this->page['aside'] .= Widget::postedByYear($this->baseUrl . '/profile/' . $profile['nickname'] . '/conversations', $profile['profile_uid'] ?? 0, true);
|
||||
$this->page['aside'] .= Widget::categories($profile['uid'], $this->baseUrl . '/profile/' . $profile['nickname'] . '/conversations', $category);
|
||||
$this->page['aside'] .= Widget::tagCloud($profile['uid']);
|
||||
|
||||
if (Security::canWriteToUserWall($profile['uid'])) {
|
|
@ -42,7 +42,7 @@ use Psr\Log\LoggerInterface;
|
|||
* ActivityPub endpoint, but it should show statuses to web users.
|
||||
*
|
||||
* Both these view have dedicated sub-paths,
|
||||
* respectively https://domain.tld/profile/nickname/profile and https://domain.tld/profile/nickname/status
|
||||
* respectively https://domain.tld/profile/nickname/profile and https://domain.tld/profile/nickname/conversations
|
||||
*/
|
||||
class Index extends BaseModule
|
||||
{
|
||||
|
@ -90,6 +90,6 @@ class Index extends BaseModule
|
|||
|
||||
protected function content(array $request = []): string
|
||||
{
|
||||
return (new Status($this->mode, $this->pConfig, $this->conversation, $this->session, $this->config, $this->dateTimeFormat, $this->page, $this->app, $this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->content();
|
||||
return (new Conversations($this->mode, $this->pConfig, $this->conversation, $this->session, $this->config, $this->dateTimeFormat, $this->page, $this->app, $this->l10n, $this->baseUrl, $this->args, $this->logger, $this->profiler, $this->response, $this->server, $this->parameters))->content();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue