aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/groups/views/default/settings/groups/edit.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/groups/views/default/settings/groups/edit.php b/mod/groups/views/default/settings/groups/edit.php
new file mode 100644
index 000000000..311e58dee
--- /dev/null
+++ b/mod/groups/views/default/settings/groups/edit.php
@@ -0,0 +1,18 @@
+<?php
+ $hidden_groups = $vars['entity']->hidden_groups;
+ if (!$hidden_groups) $hidden_groups = 'no';
+?>
+<p>
+ <?php echo elgg_echo('groups:allowhiddengroups'); ?>
+
+ <?php
+ echo elgg_view('input/pulldown', array(
+ 'internalname' => 'params[hidden_groups]',
+ 'options_values' => array(
+ 'no' => elgg_echo('option:no'),
+ 'yes' => elgg_echo('option:yes')
+ ),
+ 'value' => $hidden_groups
+ ));
+ ?>
+</p> \ No newline at end of file