aboutsummaryrefslogtreecommitdiff
path: root/mod/groups/views/default/forms
diff options
context:
space:
mode:
Diffstat (limited to 'mod/groups/views/default/forms')
-rw-r--r--mod/groups/views/default/forms/groups/edit.php47
1 files changed, 47 insertions, 0 deletions
diff --git a/mod/groups/views/default/forms/groups/edit.php b/mod/groups/views/default/forms/groups/edit.php
index 35eb065c6..267e9bb5b 100644
--- a/mod/groups/views/default/forms/groups/edit.php
+++ b/mod/groups/views/default/forms/groups/edit.php
@@ -57,7 +57,54 @@
<?php echo elgg_view('input/access', array('internalname' => 'access_id','value' => $vars['entity']->access_id )); ?>
</label>
</p>
+ <p>
+ <label>
+ <?php echo elgg_echo('groups:enablepages'); ?><br />
+ <?php
+ echo elgg_view("input/radio",array(
+ "internalname" => "pages_enable",
+ "value" => $vars['entity']->pages_enable,
+ 'options' => array(
+ elgg_echo('groups:yes') => 'yes',
+ elgg_echo('groups:no') => 'no',
+ ),
+ ));
+ ?>
+ </label>
+ </p>
+ <p>
+ <label>
+ <?php echo elgg_echo('groups:enableforum'); ?><br />
+ <?php
+
+ echo elgg_view("input/radio",array(
+ "internalname" => "forum_enable",
+ "value" => $vars['entity']->forum_enable,
+ 'options' => array(
+ elgg_echo('groups:yes') => 'yes',
+ elgg_echo('groups:no') => 'no',
+ ),
+ ));
+ ?>
+ </label>
+ </p>
+ <p>
+ <label>
+ <?php echo elgg_echo('groups:enablefiles'); ?><br />
+ <?php
+
+ echo elgg_view("input/radio",array(
+ "internalname" => "files_enable",
+ "value" => $vars['entity']->files_enable,
+ 'options' => array(
+ elgg_echo('groups:yes') => 'yes',
+ elgg_echo('groups:no') => 'no',
+ ),
+ ));
+ ?>
+ </label>
+ </p>
<p>
<?php
if ($vars['entity'])