Added new strings for question grade matching
[moodle-linuxchix.git] / course / group-edit.html
blob57969bbea034b9bdff0177f52f1d81c750512d56
1 <form method="post" enctype="multipart/form-data" action="group.php">
2 <table cellpadding="9" cellspacing="0" align="center">
3 <tr valign="top">
4 <td align="right"><?php print_string("name") ?>:</td>
5 <td><input type="text" name="name" size="30" value="<?php p($group->name) ?>" />
6 <?php if (isset($err["name"])) formerr($err["name"]); ?>
7 </td>
8 </tr>
9 <tr valign="top">
10 <td align="right"><?php print_string("description") ?>:<br />
11 <?php helpbutton("text", get_string("helptext")) ?>
12 </td>
13 <td><?php
14 print_textarea($usehtmleditor, 8, 35, 660, 200, "description", $group->description);
15 if (isset($err["description"])) formerr($err["description"]);
17 </td>
18 </tr>
20 <tr valign="top">
21 <td align="right"><?php print_string('enrolmentkey') ?>:</td>
22 <td><input type="text" name="password" size="25" value="<?php echo $group->password ?>" alt="<?print_string('enrolmentkey') ?>" /></td>
23 </tr>
25 <tr valign="top">
26 <td align="right"><?php print_string("hidepicture") ?>:</td>
27 <td><?php
28 $options = NULL;
29 $options[0] = get_string("no");
30 $options[1] = get_string("yes");
31 choose_from_menu ($options, "hidepicture", $group->hidepicture, "");
33 </td>
34 </tr>
36 <?php
37 $maxbytes = get_max_upload_file_size($CFG->maxbytes, $course->maxbytes);
38 if (!empty($CFG->gdversion) and $maxbytes) {
40 <tr valign="top">
41 <td align="right"><?php print_string("newpicture") ?>:</td>
42 <td>
43 <?php
44 require_once($CFG->dirroot.'/lib/uploadlib.php');
45 upload_print_form_fragment(1,array('imagefile'),null,false,null,0,0,false);
46 helpbutton("picture", get_string("helppicture"));
47 print_string("maxsize", "", display_size($maxbytes));
48 if (isset($err["imagefile"])) formerr($err["imagefile"]);
50 </td>
51 </tr>
52 <?php } ?>
53 <tr>
54 <td></td>
55 <td><input type="submit" value="<?php print_string("savechanges") ?>" /></td>
56 </table>
58 <input type="hidden" name="group" value="<?php p($group->id) ?>" />
59 <input type="hidden" name="id" value="<?php p($course->id) ?>" />
60 <input type="hidden" name="sesskey" value="<?php p($sesskey) ?>" />
61 </form>