mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-10210 MDL-10207 Tabs implemented.
This commit is contained in:
parent
bb7c8ac797
commit
3969778b76
2 changed files with 78 additions and 0 deletions
19
grade/report/grader/tabs.php
Normal file
19
grade/report/grader/tabs.php
Normal file
|
@ -0,0 +1,19 @@
|
|||
<?php // $Id$
|
||||
$row = $tabs = array();
|
||||
$row[] = new tabobject('graderreport',
|
||||
$CFG->wwwroot.'/grade/report.php?id='.$courseid.'&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>';
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue