]> git.mxchange.org Git - quix0rs-gnu-social.git/blob - lib/peopletag.php
Introduced common_location_shared() to check if location sharing is always,
[quix0rs-gnu-social.git] / lib / peopletag.php
1 <?php
2
3 if (!defined('GNUSOCIAL')) { exit(1); }
4
5 class Peopletag extends PeopletagListItem
6 {
7     protected $avatarSize = AVATAR_PROFILE_SIZE;
8
9     function showStart()
10     {
11         $mode = $this->peopletag->private ? 'private' : 'public';
12         $this->out->elementStart('div', array('class' => 'h-entry peopletag peopletag-profile mode-'.$mode,
13                                              'id' => 'peopletag-' . $this->peopletag->id));
14     }
15
16     function showEnd()
17     {
18         $this->out->elementEnd('div');
19     }
20 }