diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-15 10:25:26 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-15 10:25:26 -0400 |
commit | 5ff8d8d447f306f4ad654d56b47cc6f740321c38 (patch) | |
tree | 113c2546f5fab3687f8101fb33a8a25b5880114d /actions/tag.php | |
parent | 8da76e0810342a90ac006f67cfd73500972f883a (diff) | |
parent | 8439477201cd59a6c0dba84ddf48eb86a6154199 (diff) |
Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x
Conflicts:
actions/public.php
Diffstat (limited to 'actions/tag.php')
-rw-r--r-- | actions/tag.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/actions/tag.php b/actions/tag.php index 7f82c2a58..02f3e3522 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); |