Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 23... Línea 23...
23
 */
23
 */
Línea 24... Línea 24...
24
 
24
 
25
require_once("../../config.php");
25
require_once("../../config.php");
Línea 26... Línea -...
26
require_once("lib.php");
-
 
27
 
-
 
28
feedback_init_feedback_session();
26
require_once("lib.php");
29
 
27
 
30
$id = required_param('id', PARAM_INT);
28
$id = required_param('id', PARAM_INT);
31
$courseid = optional_param('courseid', null, PARAM_INT);
29
$courseid = optional_param('courseid', null, PARAM_INT);
Línea 132... Línea 130...
132
        // Display the form with the questions.
130
        // Display the form with the questions.
133
        echo $feedbackcompletion->render_items();
131
        echo $feedbackcompletion->render_items();
134
    }
132
    }
135
} else {
133
} else {
136
    echo $OUTPUT->box_start('generalbox boxaligncenter');
134
    echo $OUTPUT->box_start('generalbox boxaligncenter');
-
 
135
    echo $OUTPUT->notification(
137
    echo $OUTPUT->notification(get_string('this_feedback_is_already_submitted', 'feedback'));
136
        get_string('this_feedback_is_already_submitted', 'feedback'),
-
 
137
        \core\output\notification::NOTIFY_INFO,
-
 
138
        closebutton: false,
-
 
139
    );
138
    echo $OUTPUT->continue_button(course_get_url($courseid ?: $course->id));
140
    echo $OUTPUT->continue_button(course_get_url($courseid ?: $course->id));
139
    echo $OUTPUT->box_end();
141
    echo $OUTPUT->box_end();
140
}
142
}
Línea 141... Línea 143...
141
 
143