diff --git a/lib/editor/coursefiles.php b/lib/editor/coursefiles.php index 84cf10923d9dc..ec9e4db27827d 100644 --- a/lib/editor/coursefiles.php +++ b/lib/editor/coursefiles.php @@ -1,4 +1,4 @@ -id); if (! isteacheredit($course->id) ) { - error("You need to be a teacher with editing privileges"); + error("Only teachers can edit files"); } function html_footer() { - echo ""; + echo "\n\n\n"; } function html_header($course, $wdir, $formfield=""){ @@ -42,8 +42,11 @@ function html_header($course, $wdir, $formfield=""){ global $CFG; ?> + + " /> coursefiles