diff options
Diffstat (limited to 'mod/groups')
-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> |