peopletag.php 567 B

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