</td>
</tr>
+<tr valign=top>
+ <td align="right"><P><?php print_string("hidepicture") ?>:</td>
+ <td><?php
+ $options = NULL;
+ $options[0] = get_string("no");
+ $options[1] = get_string("yes");
+ choose_from_menu ($options, "hidepicture", $group->hidepicture, "");
+ ?>
+ </td>
+</tr>
+
<?php
$maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
if (!empty($CFG->gdversion) and $maxbytes) {
$group->picture = save_profile_image($group->id, $filename, 'groups');
}
}
- $group->name = $form->name;
+ $group->name = $form->name;
$group->description = $form->description;
+ $group->hidepicture = $form->hidepicture;
if (!update_record("groups", $group)) {
notify("A strange error occurred while trying to save ");
} else {
$string['helpwiki'] = 'How to write Wiki text';
$string['helpwriting'] = 'Write carefully';
$string['hide'] = 'Hide';
+$string['hidepicture'] = 'Hide picture';
$string['hits'] = 'Hits';
$string['hitsoncourse'] = 'Hits on $a->coursename by $a->username';
$string['hitsoncoursetoday'] = 'Today\'s hits on $a->coursename by $a->username';