Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 52... Línea 52...
52
        $mform->addElement('hidden', 'action', 'quickgrade');
52
        $mform->addElement('hidden', 'action', 'quickgrade');
53
        $mform->setType('action', PARAM_ALPHA);
53
        $mform->setType('action', PARAM_ALPHA);
54
        $mform->addElement('hidden', 'lastpage', $instance['page']);
54
        $mform->addElement('hidden', 'lastpage', $instance['page']);
55
        $mform->setType('lastpage', PARAM_INT);
55
        $mform->setType('lastpage', PARAM_INT);
Línea 56... Línea 56...
56
 
56
 
57
        // Skip notifications option.
-
 
58
        $mform->addElement('selectyesno', 'sendstudentnotifications', get_string('sendstudentnotifications', 'assign'));
-
 
59
        $mform->setDefault('sendstudentnotifications', $instance['sendstudentnotifications']);
-
 
60
 
57
        // No need to add a submit button.
61
        // Buttons.
-
 
62
        $savemessage = get_string('saveallquickgradingchanges', 'assign');
58
        // The submit button is in the footer.
63
        $mform->addElement('submit', 'savequickgrades', $savemessage);
59
        $mform->addElement('html', $instance['footer']);
64
    }
60
    }