]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - lib/groupadminsection.php
common_fake_local_fancy_url to remove index.php/ from a local URL
[quix0rs-gnu-social.git] / lib / groupadminsection.php
1 <?php
2
3 if (!defined('GNUSOCIAL')) { exit(1); }
4
5 class GroupAdminSection extends ProfileSection
6 {
7     var $group;
8
9     function __construct($out, $group)
10     {
11         parent::__construct($out);
12         $this->group = $group;
13     }
14
15     function getProfiles()
16     {
17         return $this->group->getAdmins();
18     }
19
20     function title()
21     {
22         // TRANS: Title for list of group administrators on a group page.
23         return _m('TITLE','Admins');
24     }
25
26     function divId()
27     {
28         return 'group_admins';
29     }
30
31     function moreUrl()
32     {
33         return null;
34     }
35 }