peopletag.php 522 B

123456789101112131415161718192021
  1. <?php
  2. if (!defined('GNUSOCIAL')) { exit(1); }
  3. class Peopletag extends PeopletagListItem
  4. {
  5. protected $avatarSize = AVATAR_PROFILE_SIZE;
  6. function showStart()
  7. {
  8. $mode = $this->peopletag->private ? 'private' : 'public';
  9. $this->out->elementStart('div', array('class' => 'h-entry peopletag peopletag-profile mode-'.$mode,
  10. 'id' => 'peopletag-' . $this->peopletag->id));
  11. }
  12. function showEnd()
  13. {
  14. $this->out->elementEnd('div');
  15. }
  16. }