芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/www/cepali/grade/edit/letter/tabs.php
. /** * Prints navigation tabs for viewing and editing grade letters * * @package core_grades * @copyright 2007 Petr Skoda * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ $row = $tabs = array(); $row[] = new tabobject('lettersview', $CFG->wwwroot.'/grade/edit/letter/index.php?id='.$COURSE->id, get_string('letters', 'grades')); if (has_capability('moodle/grade:manageletters', $context)) { $row[] = new tabobject('lettersedit', $CFG->wwwroot.'/grade/edit/letter/edit.php?id='.$context->id, get_string('edit')); } $tabs[] = $row; echo '
'; print_tabs($tabs, $currenttab); echo '
';