X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Ftag.php;h=02f3e35225cca6976fc7efe5a8b0930b346664eb;hb=fbb0d1dd54bb1455c25eabfa333f599d5e494f00;hp=d15f64498dc0c76e2fd1f5c47f20889c7e82ec37;hpb=5067939e9abaa7451faa26a7246460214aafb320;p=quix0rs-gnu-social.git diff --git a/actions/tag.php b/actions/tag.php index d15f64498d..02f3e35225 100644 --- a/actions/tag.php +++ b/actions/tag.php @@ -45,6 +45,13 @@ class TagAction extends Action return true; } + function showSections() + { + $pop = new PopularNoticeSection($this); + $pop->show(); + } + + function title() { if ($this->page == 1) { @@ -70,6 +77,17 @@ class TagAction extends Action sprintf(_('Feed for tag %s'), $this->tag))); } + /** + * Output document relationship links + * + * @return void + */ + function showRelationshipLinks() + { + $this->sequenceRelationships($this->page > 1, $this->count > NOTICES_PER_PAGE, // FIXME + $this->page, 'tag', array('tag' => $this->tag)); + } + function showPageNotice() { return sprintf(_('Messages tagged "%s", most recent first'), $this->tag); @@ -86,4 +104,9 @@ class TagAction extends Action $this->pagination($this->page > 1, $cnt > NOTICES_PER_PAGE, $this->page, 'tag', array('tag' => $this->tag)); } + + function isReadOnly($args) + { + return true; + } }