summaryrefslogtreecommitdiff
path: root/lib/groupeditform.php
diff options
context:
space:
mode:
authorsarven <csarven@plantard.controlezvous.ca>2009-01-21 22:44:27 +0000
committersarven <csarven@plantard.controlezvous.ca>2009-01-21 22:44:27 +0000
commit4b42c3526985a497418db7fbcfe1e7912bb5474d (patch)
tree1bdb8463188346122806ed49bcf00656dc6fd7c9 /lib/groupeditform.php
parenta39bb4a3b8bddfffc02a0c9f3c5666ff3cba2357 (diff)
General markup and style cleanup
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
*