mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 18:06:51 +02:00
Merge branch 'w38_MDL-29401_m22_frankenstyle' of git://github.com/skodak/moodle
This commit is contained in:
commit
e135797586
50 changed files with 267 additions and 142 deletions
|
@ -63,7 +63,7 @@ class workshop_assessment_form extends moodleform {
|
|||
|
||||
// add the data common for all subplugins
|
||||
$mform->addElement('hidden', 'strategy', $this->workshop->strategy);
|
||||
$mform->setType('strategy', PARAM_SAFEDIR);
|
||||
$mform->setType('strategy', PARAM_PLUGIN);
|
||||
|
||||
if (!empty($this->options['editableweight']) and !$mform->isFrozen()) {
|
||||
$mform->addElement('header', 'assessmentsettings', get_string('assessmentweight', 'workshop'));
|
||||
|
|
|
@ -63,7 +63,7 @@ class workshop_edit_strategy_form extends moodleform {
|
|||
$mform->setType('workshopid', PARAM_INT);
|
||||
|
||||
$mform->addElement('hidden', 'strategy', $this->workshop->strategy); // strategy name
|
||||
$mform->setType('strategy', PARAM_SAFEDIR);
|
||||
$mform->setType('strategy', PARAM_PLUGIN);
|
||||
|
||||
$this->definition_inner($mform);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue