Bug 9044: (follow-up) restore the toolbar menu items
[koha.git] / course_reserves / course.pl
index e2af77f..a82c781 100755 (executable)
@@ -26,13 +26,12 @@ use C4::Auth;
 use C4::Output;
 use C4::Koha;
 
-use C4::CourseReserves;
+use C4::CourseReserves qw(GetCourse);
 
 my $cgi = new CGI;
 
 my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
-    {
-        template_name   => "course_reserves/course.tmpl",
+    {   template_name   => "course_reserves/course.tt",
         query           => $cgi,
         type            => "intranet",
         authnotrequired => 0,
@@ -49,7 +48,7 @@ if ($course_id) {
 
 $template->param(
     departments => GetAuthorisedValues('DEPARTMENT'),
-    terms => GetAuthorisedValues('TERM'),
+    terms       => GetAuthorisedValues('TERM'),
 );
 
 output_html_with_http_headers $cgi, $cookie, $template->output;