summaryrefslogtreecommitdiff
path: root/actions/groups.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/groups.php')
-rw-r--r--actions/groups.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/actions/groups.php b/actions/groups.php
index 39dc2232b..b0bf7cfc2 100644
--- a/actions/groups.php
+++ b/actions/groups.php
@@ -129,4 +129,24 @@ class GroupsAction extends Action
$gbm = new GroupsByMembersSection($this);
$gbm->show();
}
+
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ // Machine-readable pagination
+ if ($this->page > 1) {
+ $this->element('link', array('rel' => 'next',
+ 'href' => common_local_url('groups',
+ array('page' => $this->page - 1)),
+ 'title' => _('Next Groups')));
+ }
+ $this->element('link', array('rel' => 'prev',
+ 'href' => common_local_url('groups',
+ array('page' => $this->page + 1)),
+ 'title' => _('Previous Groups')));
+ }
}