From: aroquen Date: Sat, 25 Jul 2015 12:45:45 +0000 (+0200) Subject: Show page title in user's profile page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ad49158fb51a954c3b92ae6d42ac3e38ac7e539c;p=quix0rs-gnu-social.git Show page title in user's profile page --- diff --git a/actions/showstream.php b/actions/showstream.php index 890c1e711b..24b6bcc7dc 100644 --- a/actions/showstream.php +++ b/actions/showstream.php @@ -58,7 +58,6 @@ class ShowstreamAction extends NoticestreamAction return $stream; } - function title() { $base = $this->target->getFancyName(); @@ -74,7 +73,7 @@ class ShowstreamAction extends NoticestreamAction } } else { if ($this->page == 1) { - return $base; + return sprintf(_('Notices by %s'), $base); } else { // TRANS: Extended page title showing tagged notices in one user's timeline. // TRANS: %1$s is the username, %2$d is the page number. diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 20f9aa775f..2bd4b4fe0c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -693,10 +693,6 @@ address .poweredby { font-style:italic; } -#showstream h1 { - display:none; -} - #remoteprofile .notice .h-entry, #showstream .notice .h-entry, #remoteprofile .notice .entry-title,