MDL-13050 Reverting, it's not working out as well as planned

This commit is contained in:
nicolasconnault
2008-01-21 13:39:51 +00:00
parent 9455d7c920
commit 0fbc5579fb
8 changed files with 10 additions and 162 deletions
+1 -20
View File
@@ -1020,26 +1020,7 @@ class assignment_base {
add_to_log($course->id, 'assignment', 'view submission', 'submissions.php?id='.$this->assignment->id, $this->assignment->id, $this->cm->id);
$navlinks = array();
$navlinks[] = array(
'name' => get_string('grades'),
'link' => $CFG->wwwroot . '/grade/report/index.php?id=' . $cm->course,
'type' => 'link');
$navlinks[] = array(
'name' => get_string('modulenameplural', $cm->modname),
'link' => $CFG->wwwroot . '/mod/' . $cm->modname . '/index.php?id=' . $cm->course,
'type' => 'activity');
$navlinks[] = array(
'name' => format_string($cm->name),
'link' => $CFG->wwwroot . '/mod/' . $cm->modname . '/view.php?id=' . $cm->id,
'type' => 'activityinstance');
$navlinks[] = array(
'name' => $this->strsubmissions,
'link' => '',
'type' => 'link');
$navigation = build_navigation($navlinks);
$navigation = build_navigation($this->strsubmissions, $this->cm);
print_header_simple(format_string($this->assignment->name,true), "", $navigation,
'', '', true, update_module_button($cm->id, $course->id, $this->strassignment), navmenu($course, $cm));