~ubuntu-branches/ubuntu/natty/moodle/natty

« back to all changes in this revision

Viewing changes to mod/lesson/essay.php

  • Committer: Bazaar Package Importer
  • Author(s): Tomasz Muras
  • Date: 2010-10-30 12:19:28 UTC
  • mfrom: (1.1.12 upstream) (3.1.10 squeeze)
  • Revision ID: james.westby@ubuntu.com-20101030121928-qzobi6mctpnk4dif
Tags: 1.9.9.dfsg2-2
* Added Romanian translation
* Updated Japanese translation (closes: #596820)
* Backporting security fixes from Moodle 1.9.10 (closes: #601384)
   - Updated embedded CAS to 1.1.3
   - Added patch for MDL-24523:
     clean_text() not filtering text in markdown format
   - Added patch for MDL-24810 and upgraded customized HTML Purifier to 4.2.0 
   - Added patch for MDL-24258:
     students can delete their forum posts later than $CFG->maxeditingtime 
     under certain conditions
   - Added patch for MDL-23377:
     Can't delete quiz attempts in course without enrolled students

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?php  // $Id: essay.php,v 1.9 2007/08/27 23:05:42 mattc-catalyst Exp $
 
1
<?php  // $Id: essay.php,v 1.9.2.1 2009/11/02 17:01:07 tjhunt Exp $
2
2
/**
3
3
 * Provides the interface for grading essay questions
4
4
 *
5
 
 * @version $Id: essay.php,v 1.9 2007/08/27 23:05:42 mattc-catalyst Exp $
 
5
 * @version $Id: essay.php,v 1.9.2.1 2009/11/02 17:01:07 tjhunt Exp $
6
6
 * @license http://www.gnu.org/copyleft/gpl.html GNU Public License
7
7
 * @package lesson
8
8
 **/
60
60
            }
61
61
            break;
62
62
        case 'grade':  // Grading form - get the necessary data
63
 
            confirm_sesskey();
 
63
            require_sesskey();
64
64
            
65
65
            $attemptid = required_param('attemptid', PARAM_INT);
66
66
 
136
136
            }
137
137
            break;
138
138
        case 'email': // Sending an email(s) to a single user or all
139
 
            confirm_sesskey();
 
139
            require_sesskey();
140
140
            
141
141
            // Get our users (could be singular)
142
142
            if ($userid = optional_param('userid', 0, PARAM_INT)) {