]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/all.php
add greenBg for license
[quix0rs-gnu-social.git] / actions / all.php
index 93be7290f339f01ac773fd20bcbedded04f14011..b929b6c1c1666030bd4fc0483509fec9d0d48111 100644 (file)
@@ -44,7 +44,8 @@ class AllAction extends StreamAction {
 
                # Looks like we're good; show the header
 
-               common_show_header($profile->nickname . _t(" and friends"));
+               common_show_header($profile->nickname . _t(" and friends"),
+                                                  array($this, 'show_header'), $user);
 
                $cur = common_current_user();
 
@@ -56,6 +57,14 @@ class AllAction extends StreamAction {
                
                common_show_footer();
        }
+       
+       function show_header($user) {
+               common_element('link', array('rel' => 'alternate',
+                                                                        'href' => common_local_url('allrss', array('nickname' =>
+                                                                                                                                                          $user->nickname)),
+                                                                        'type' => 'application/rss+xml',
+                                                                        'title' => _t('Feed for friends of ') . $user->nickname));
+       }
 
        function show_notices($profile) {