From 8e3eede2d960b9f96f904ab1c57ebf4701d0a817 Mon Sep 17 00:00:00 2001 From: pete Date: Mon, 26 Apr 2010 14:13:23 +0000 Subject: Update to edit Groups page for ECML and longtext controls positioning. git-svn-id: http://code.elgg.org/elgg/trunk@5876 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/groups/views/default/forms/groups/edit.php | 39 +++++++++++++++----------- 1 file changed, 22 insertions(+), 17 deletions(-) (limited to 'mod/groups') diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php index 3712add82..c0c9591f3 100644 --- a/mod/groups/views/default/forms/groups/edit.php +++ b/mod/groups/views/default/forms/groups/edit.php @@ -32,26 +32,31 @@

group) && sizeof($vars['config']->group) > 0) - foreach($vars['config']->group as $shortname => $valtype) { - +//var_export($vars['profile']); +if (is_array($vars['config']->group) && sizeof($vars['config']->group) > 0) + foreach($vars['config']->group as $shortname => $valtype) { + if ($shortname == 'description') { ?> - -

- +

+ $shortname, + 'value' => $vars['entity']->$shortname, + )); ?>

- + +

-- cgit v1.2.3