Adding hidden role assignment, currently used in course participants page and print_course function.

Please test.
This commit is contained in:
toyomoyo
2006-11-15 04:28:18 +00:00
parent 4158fd81ce
commit 3997cb4037
5 changed files with 33 additions and 6 deletions
+2
View File
@@ -31,6 +31,8 @@
</select></td>
<td valign="top">
<input type="checkbox" name="hidden" value="1" />
<img src="<?php echo $CFG->pixpath; ?>/t/hide.gif" alt="<?php print_string('hiddenassign') ?>" class="hide-show-image" />
<br />
<input name="add" type="submit" id="add" value="&larr;" />
<br />
+1 -1
View File
@@ -19,7 +19,7 @@
$timeend = optional_param('timened', 0, PARAM_INT);
$userid = optional_param('userid', 0, PARAM_INT); // needed for user tabs
$courseid = optional_param('courseid', 0, PARAM_INT); // needed for user tabs
$errors = array();
$previoussearch = ($searchtext != '') or ($previoussearch) ? 1:0;