diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-23 16:57:39 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-04-23 16:57:39 +0000 |
commit | 470935d05e7a557180c1a4a6d2620755f7c472fb (patch) | |
tree | c9f24ca5491d7378577cfb79d5d5d170276c34a4 /mod | |
parent | 214864e2c5308fb87611f99141c2e2b3747b87d7 (diff) | |
download | elgg-470935d05e7a557180c1a4a6d2620755f7c472fb.tar.gz elgg-470935d05e7a557180c1a4a6d2620755f7c472fb.tar.bz2 |
Refs #969: Added admin menu option for enabling private groups
git-svn-id: https://code.elgg.org/elgg/trunk@3231 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'mod')
-rw-r--r-- | mod/groups/views/default/settings/groups/edit.php | 18 |
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 |