]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Tweak remote profile action: hide stats from sidebar, tweak wording on remote notice
authorBrion Vibber <brion@pobox.com>
Tue, 16 Nov 2010 00:38:18 +0000 (16:38 -0800)
committerBrion Vibber <brion@pobox.com>
Tue, 16 Nov 2010 00:38:18 +0000 (16:38 -0800)
plugins/ModPlus/remoteprofileaction.php

index 5b25da17019f0571f418d3185e7a98511e35e36b..caa5e6fbf36037ada44fb388a10135e4d027978b 100644 (file)
@@ -59,7 +59,8 @@ class RemoteProfileAction extends ShowstreamAction
         $url = $this->profile->profileurl;
         $host = parse_url($url, PHP_URL_HOST);
         $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,
                 $url);
         $html = common_markup_to_html($markdown);
@@ -97,4 +98,9 @@ class RemoteProfileAction extends ShowstreamAction
         // skip tag cloud
     }
 
+    function showStatistics()
+    {
+        // skip
+    }
+
 }
\ No newline at end of file