From 2c7a9bd2af66789fd9aa4b5006187ff0a89f7b00 Mon Sep 17 00:00:00 2001 From: moodler Date: Fri, 14 Sep 2007 06:51:57 +0000 Subject: [PATCH] Fix the location of the link to the site-wide grading preferences --- grade/report/grader/preferences.php | 8 ++++---- theme/standard/styles_layout.css | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/grade/report/grader/preferences.php b/grade/report/grader/preferences.php index e8ecb35d357..df076720086 100644 --- a/grade/report/grader/preferences.php +++ b/grade/report/grader/preferences.php @@ -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 '\n"; } -// Add tabs -$currenttab = 'preferences'; -include('tabs.php'); - print_simple_box_start("center"); include('./preferences_form.php'); diff --git a/theme/standard/styles_layout.css b/theme/standard/styles_layout.css index b3ac970b57e..2e9a75f0f27 100644 --- a/theme/standard/styles_layout.css +++ b/theme/standard/styles_layout.css @@ -2257,6 +2257,10 @@ body#doc-contents ul { text-align: center; } +.grade-report-grader #siteconfiglink { + text-align: right; +} + /*** *** Login ***/