diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 14:13:23 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2010-04-26 14:13:23 +0000 |
commit | 8e3eede2d960b9f96f904ab1c57ebf4701d0a817 (patch) | |
tree | 268be56efcde19bf5310adab0fb899b9c3121386 | |
parent | 0ab20c0f0d7e59ddeaac47f6db6e8d510eff666f (diff) | |
download | elgg-8e3eede2d960b9f96f904ab1c57ebf4701d0a817.tar.gz elgg-8e3eede2d960b9f96f904ab1c57ebf4701d0a817.tar.bz2 |
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
-rw-r--r-- | mod/groups/views/default/forms/groups/edit.php | 39 |
1 files changed, 22 insertions, 17 deletions
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 @@ </p> <?php - //var_export($vars['profile']); - if (is_array($vars['config']->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') { ?> - - <p> - <label> - <?php echo elgg_echo("groups:{$shortname}") ?><br /> - <?php echo elgg_view("input/{$valtype}",array( - 'internalname' => $shortname, - 'value' => $vars['entity']->$shortname, - )); ?> - </label> + <p><label> + <?php echo elgg_echo("groups:{$shortname}") ?></label> + <?php echo elgg_view("input/{$valtype}",array( + 'internalname' => $shortname, + 'value' => $vars['entity']->$shortname, + )); ?> </p> - +<?php + } else { +?> + <p><label> + <?php echo elgg_echo("groups:{$shortname}") ?><br /> + <?php echo elgg_view("input/{$valtype}",array( + 'internalname' => $shortname, + 'value' => $vars['entity']->$shortname, + )); ?> + </label></p> <?php - - } - + } +} ?> <p> |