Fix the location of the link to the site-wide grading preferences

This commit is contained in:
moodler 2007-09-14 06:51:57 +00:00
parent 6308b91c13
commit 2c7a9bd2af
2 changed files with 8 additions and 4 deletions

View File

@ -74,6 +74,10 @@ print_header_simple($strgrades.': '.$strgraderreport . ': ' . $strgradepreferenc
/// Print the plugin selector at the top
print_grade_plugin_selector($course->id, 'report', 'grader');
// Add tabs
$currenttab = 'preferences';
include('tabs.php');
// If USER has admin capability, print a link to the site config page for this report
if (has_capability('moodle/site:config')) {
echo '<div id="siteconfiglink"><a href="' . $CFG->wwwroot . '/admin/settings.php?section=gradereportgrader">';
@ -81,10 +85,6 @@ if (has_capability('moodle/site:config')) {
echo "</a></div>\n";
}
// Add tabs
$currenttab = 'preferences';
include('tabs.php');
print_simple_box_start("center");
include('./preferences_form.php');

View File

@ -2257,6 +2257,10 @@ body#doc-contents ul {
text-align: center;
}
.grade-report-grader #siteconfiglink {
text-align: right;
}
/***
*** Login
***/