Permalink
Browse files

fixed missing courseid in breadcrumbs

  • Loading branch information...
1 parent a10171e commit 0befd376af5a61e81b701957f3114c3b9e367aac gustav_delius committed Jan 19, 2005
Showing with 5 additions and 5 deletions.
  1. +5 −5 mod/quiz/category.php
View
@@ -20,6 +20,11 @@
error("Only teachers authorized to edit the course '{$course->fullname}' can use this page!");
}
+ /// Header:
+ print_header_simple(get_string('editcategories', 'quiz'), '',
+ "<a href=\"index.php?id=$course->id\">".get_string('modulenameplural', 'quiz').'</a>'.
+ ' -> '.get_string('editcategories', 'quiz'));
+
/// CHECK FOR AND ACT UPON VARIABLES SUBMITTED VIA GET OR POST
$qcobject = new quiz_category_object();
$qcobject->set_course($course);
@@ -118,11 +123,6 @@ function quiz_category_object() {
$this->str->editcategories = get_string('editcategories', 'quiz');
$this->pixpath = $CFG->pixpath;
- /// Header:
- print_header_simple($this->str->editcategories, '',
- "<a href=\"index.php?id=$this->course->id\">".get_string('modulenameplural', 'quiz').'</a>'.
- " -> {$this->str->editcategories}");
-
}
/**

0 comments on commit 0befd37

Please sign in to comment.