123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- <?php
- if (!defined('GNUSOCIAL')) { exit(1); }
- class EventsAction extends ShowstreamAction
- {
- public function getStream()
- {
-
- $stream = new EventsNoticeStream($this->target, $this->scoped);
- return $stream;
- }
- function title()
- {
-
- return sprintf(_m('%s\'s happenings'), $this->target->getNickname());
- }
- function getFeeds()
- {
- return array(
- );
- }
- function showEmptyList() {
- $message = sprintf(_('This is %1$s\'s event stream, but %1$s hasn\'t received any events yet.'), $this->target->getNickname()) . ' ';
- $this->elementStart('div', 'guide');
- $this->raw(common_markup_to_html($message));
- $this->elementEnd('div');
- }
-
- function isReadOnly($args)
- {
- return true;
- }
- }
|