MDL-10210 MDL-10207 Tabs implemented.

This commit is contained in:
nicolasconnault 2007-06-26 06:19:45 +00:00
parent bb7c8ac797
commit 3969778b76
2 changed files with 78 additions and 0 deletions

View file

@ -0,0 +1,19 @@
<?php // $Id$
$row = $tabs = array();
$row[] = new tabobject('graderreport',
$CFG->wwwroot.'/grade/report.php?id='.$courseid.'&amp;report=grader',
get_string('graderreport', 'grades'));
$row[] = new tabobject('editcategory',
$CFG->wwwroot.'/grade/report/grader/category.php?id='.$courseid,
get_string('categoriesedit', 'grades'));
$row[] = new tabobject('preferences',
$CFG->wwwroot.'/grade/report/grader/preferences.php?id='.$courseid,
get_string('preferences'));
$tabs[] = $row;
echo '<div class="gradedisplay">';
print_tabs($tabs, $currenttab);
echo '</div>';
?>