Just moved a line of code

This commit is contained in:
moodler
2008-02-25 06:25:54 +00:00
parent d6f8bc5b15
commit 58ea1ced21
+2 -1
View File
@@ -36,11 +36,12 @@ if (($edit != -1) and $PAGE->user_allowed_editing()) {
$USER->editing = $edit;
}
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
$PAGE->print_header();
// Manage all tags links
$systemcontext = get_context_instance(CONTEXT_SYSTEM);
if (has_capability('moodle/tag:manage', $systemcontext)) {
echo '<div class="managelink"><a href="'. $CFG->wwwroot .'/tag/manage.php">'. get_string('managetags', 'tag') .'</a></div>' ;
}