forked from GNUsocial/gnu-social
Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
This commit is contained in:
parent
5fdcba472b
commit
fdcaac3653
@ -59,7 +59,8 @@ class RemoteProfileAction extends ShowstreamAction
|
|||||||
$url = $this->profile->profileurl;
|
$url = $this->profile->profileurl;
|
||||||
$host = parse_url($url, PHP_URL_HOST);
|
$host = parse_url($url, PHP_URL_HOST);
|
||||||
$markdown = sprintf(
|
$markdown = sprintf(
|
||||||
_m('This profile is registered on another site; see [the profile page on %s](%s).'),
|
_m('This remote profile is registered on another site; see [%s\'s original profile page on %s](%s).'),
|
||||||
|
$this->profile->nickname,
|
||||||
$host,
|
$host,
|
||||||
$url);
|
$url);
|
||||||
$html = common_markup_to_html($markdown);
|
$html = common_markup_to_html($markdown);
|
||||||
@ -97,4 +98,9 @@ class RemoteProfileAction extends ShowstreamAction
|
|||||||
// skip tag cloud
|
// skip tag cloud
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function showStatistics()
|
||||||
|
{
|
||||||
|
// skip
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user