Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 35... Línea 35...
35
 * @package    core
35
 * @package    core
36
 * @copyright  2020 Brendan Heywood <brendan@catalyst-au.net>
36
 * @copyright  2020 Brendan Heywood <brendan@catalyst-au.net>
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
37
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
38
 */
38
 */
39
class error_feedback extends moodleform {
39
class error_feedback extends moodleform {
40
 
-
 
41
    /**
-
 
42
     * Error form definition
40
    #[\Override]
43
     */
-
 
44
    public function definition() {
41
    public function definition() {
45
        global $CFG;
42
        global $CFG;
Línea 46... Línea 43...
46
 
43
 
47
        $mform = $this->_form;
44
        $mform = $this->_form;
Línea 53... Línea 50...
53
 
50
 
54
        $mform->addElement('textarea', 'text', get_string('pleasereport', 'error'), 'wrap="virtual" rows="10" cols="50"');
51
        $mform->addElement('textarea', 'text', get_string('pleasereport', 'error'), 'wrap="virtual" rows="10" cols="50"');
55
        $mform->addElement('submit', 'submitbutton', get_string('sendmessage', 'error'));
52
        $mform->addElement('submit', 'submitbutton', get_string('sendmessage', 'error'));
56
    }
53
    }
57
}
-