summaryrefslogtreecommitdiff
path: root/lib/groupeditform.php
diff options
context:
space:
mode:
authorZach Copley <zach@controlyourself.ca>2009-01-22 04:26:57 +0000
committerZach Copley <zach@controlyourself.ca>2009-01-22 04:26:57 +0000
commit570a7c64b1a3653a801e95b7e9834bede6ce5b9e (patch)
treec521acc4c959cc34e23bcf95cee02e5b4f10e164 /lib/groupeditform.php
parent1a941d03fdcfcd1319da17c5400fe8972a755091 (diff)
parent205eb386c542502f39e0df1f4544c10a87d91b4b (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
*