var $page = null;
var $profile = null;
+ function isReadOnly($args)
+ {
+ return true;
+ }
+
function title()
{
if ($this->page == 1) {
function showContent()
{
+ $this->elementStart('p', array('id' => 'new_group'));
$this->element('a', array('href' => common_local_url('newgroup'),
- 'id' => 'new_group'),
+ 'class' => 'more'),
_('Create a new group'));
+ $this->elementEnd('p');
$offset = ($this->page-1) * GROUPS_PER_PAGE;
$limit = GROUPS_PER_PAGE + 1;
$this->pagination($this->page > 1, $cnt > GROUPS_PER_PAGE,
$this->page, 'groups');
}
+
+ function showSections()
+ {
+ $gbp = new GroupsByPostsSection($this);
+ $gbp->show();
+ $gbm = new GroupsByMembersSection($this);
+ $gbm->show();
+ }
+
+ /**
+ * Output document relationship links
+ *
+ * @return void
+ */
+ function showRelationshipLinks()
+ {
+ $this->sequenceRelationships($this->page > 1, $this->count > NOTICES_PER_PAGE, // FIXME
+ $this->page, 'groups', array('nickname' => $this->group->nickname));
+ }
}