<div id="editgroupsettingsform" class="popup">
    <h3><?php print_string('editgroupsettings', 'group'); ?></h3>
    <form action="">
        <p><?php print_string('groupname', 'group'); ?></p>
        <p><input id="groupname" type="text" size="40" /></p>
        <p><?php print_string("description") ?><br />
                    <?php helpbutton("text", get_string("helptext")) ?></p>
        <p><?php print_textarea($usehtmleditor, 5, 45, 200, 400, "groupdescription");?> </p>
        <p><?php print_string('enrolmentkey') ?></p>
        <p><input type="text" id="enrolmentkey" size="25" /></p>
        <?php if ($printuploadpicture) {  ?>
		<p><?php print_string("hidepicture") ?></p>
        <p><?php $options = NULL; $options[0] = get_string("no"); $options[1] = get_string("yes");
				 choose_from_menu ($options, "hidepicture", $group->hidepicture, ""); ?></p>
            <p><?php print_string("newpicture") ?></p>
            <p><?php upload_print_form_fragment(1,array('groupicon'),null,false,null,0,0,false);
				     helpbutton("picture", get_string("helppicture"));
				     print_string("maxsize", "", display_size($maxbytes), 'group'); ?></p>
            <?php } ?>
            <p><input type="button" id="editgroupsettings" value="<?php print_string('save', 'group'); ?>" />&nbsp;<input type="button" id="canceleditgroupsettings" value="<?php print_string('cancel', 'group'); ?>" /></p>
    </form>
</div>
