Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Corrected password protected workshops (they showed the assignment!);

minor
html additional to edit assessments page.
  • Loading branch information...
commit ac220a6d801ce7a4011926ea7d9a821a833c1b41 1 parent 4f91674
rkingdon authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  mod/workshop/assessments.php
  2. +1 −1  mod/workshop/view.php
View
2  mod/workshop/assessments.php
@@ -467,7 +467,7 @@
// close table and form
?>
- </table>
+ </table><br />
<input type="submit" value="<?php print_string("savechanges") ?>" />
<input type="submit" name="cancel" value="<?php print_string("cancel") ?>" />
</center>
View
2  mod/workshop/view.php
@@ -210,7 +210,6 @@
/****************** student's view could be in 1 of 4 stages ***********************/
elseif ($action == 'studentsview') {
- workshop_print_assignment_info($workshop);
// is a password needed?
if ($workshop->usepassword) {
$correctpass = false;
@@ -247,6 +246,7 @@
exit();
}
}
+ workshop_print_assignment_info($workshop);
// in Stage 1? - are there any teacher's submissions? and...
// ...has student assessed the required number of the teacher's submissions
if ($workshop->ntassessments and (!workshop_test_user_assessments($workshop, $USER))) {
Please sign in to comment.
Something went wrong with that request. Please try again.