MDL-29794 Initial support for re-using a shared grading form
authorDavid Mudrak <david@moodle.com>
Tue, 1 Nov 2011 02:16:54 +0000 (03:16 +0100)
committerDavid Mudrak <david@moodle.com>
Tue, 1 Nov 2011 02:16:54 +0000 (03:16 +0100)
commit20836db99924d57598c7ca685b66d9629a998af5
tree3afea5bcb9480d7a159ecb92e2f61c5c3f4fc768
parent18dd4a69d0886587a52b633e6724a8b7c27effba
MDL-29794 Initial support for re-using a shared grading form

The patch introduces a new script templates.php that allows to search
for a previously shared form (template) and re-use it.

The patch also modifies the preview rendering of grading forms. Now
plugins are responsible for rendering the form itselft, without any
headers, descriptions etc (we need to embed the form preview into
various places so the caller looks after the frame).
grade/grading/form/lib.php
grade/grading/form/rubric/lib.php
grade/grading/lib.php
grade/grading/manage.php
grade/grading/renderer.php
grade/grading/simpletest/testlib.php
grade/grading/templates.php [new file with mode: 0644]
grade/grading/templates_form.php [new file with mode: 0644]
lang/en/grading.php
theme/standard/style/grade.css