summaryrefslogtreecommitdiff
path: root/actions
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlyourself.ca>2009-01-21 09:55:44 -0500
committerEvan Prodromou <evan@controlyourself.ca>2009-01-21 09:55:44 -0500
commit1499a5e048ac64c8a51c67ba6e612d72652c30c8 (patch)
tree47663b382d2161ac1ebc81ced140a171acbb4939 /actions
parent5d162aeaefd381b223570ca7fc7c3f59a5f40717 (diff)
Add tabset to group and admin tabs
Diffstat (limited to 'actions')
-rw-r--r--actions/editgroup.php8
-rw-r--r--actions/showgroup.php6
2 files changed, 14 insertions, 0 deletions
diff --git a/actions/editgroup.php b/actions/editgroup.php
index 5f853a089..e0d4c0d03 100644
--- a/actions/editgroup.php
+++ b/actions/editgroup.php
@@ -96,6 +96,8 @@ class EditgroupAction extends Action
$this->clientError(_('No such group'), 404);
return false;
}
+
+ return true;
}
/**
@@ -124,6 +126,12 @@ class EditgroupAction extends Action
$this->showPage();
}
+ function showLocalNav()
+ {
+ $nav = new GroupNav($this, $this->group);
+ $nav->show();
+ }
+
function showContent()
{
$form = new GroupEditForm($this, $this->group);
diff --git a/actions/showgroup.php b/actions/showgroup.php
index f404c648d..5c72996bf 100644
--- a/actions/showgroup.php
+++ b/actions/showgroup.php
@@ -144,6 +144,12 @@ class ShowgroupAction extends Action
$this->showPage();
}
+ function showLocalNav()
+ {
+ $nav = new GroupNav($this, $this->group);
+ $nav->show();
+ }
+
/**
* Show the page content
*