summaryrefslogtreecommitdiff
path: root/lib/groupeditform.php
diff options
context:
space:
mode:
authorRobin Millette <millette@plantard.controlezvous.ca>2009-01-22 04:22:50 +0000
committerRobin Millette <millette@plantard.controlezvous.ca>2009-01-22 04:22:50 +0000
commit205eb386c542502f39e0df1f4544c10a87d91b4b (patch)
tree48ce8bce829e92f75b305621e056f7c3243b1c70 /lib/groupeditform.php
parent7f25b9db4bce69e076ab6447a4070d1cb7c3651a (diff)
parent07b52e19beff39a7f7cb5de4ebb199f2d894ad08 (diff)
Merge branch 'master' of /var/www/trunk
Diffstat (limited to 'lib/groupeditform.php')
-rw-r--r--lib/groupeditform.php18
1 files changed, 15 insertions, 3 deletions
diff --git a/lib/groupeditform.php b/lib/groupeditform.php
index f6e326078..14205d250 100644
--- a/lib/groupeditform.php
+++ b/lib/groupeditform.php
@@ -78,9 +78,9 @@ class GroupEditForm extends Form
function id()
{
if ($this->group) {
- return 'group_edit-' . $this->group->id;
+ return 'form_group_edit-' . $this->group->id;
} else {
- return 'group_add';
+ return 'form_group_add';
}
}
@@ -92,7 +92,7 @@ class GroupEditForm extends Form
function formClass()
{
- return 'form_group_add';
+ return 'form_settings';
}
/**
@@ -111,6 +111,18 @@ class GroupEditForm extends Form
}
}
+
+ /**
+ * Name of the form
+ *
+ * @return void
+ */
+
+ function formLegend()
+ {
+ $this->out->element('legend', null, _('Create a new group'));
+ }
+
/**
* Data elements of the form
*