Added button to turn editing off again ... ugly but ...

This commit is contained in:
moodler 2006-10-04 04:49:44 +00:00
parent c9f8e57f4a
commit 7dfa686dbd

View File

@ -106,6 +106,11 @@
"<a href=\"index.php\">$strcategories</a> -> $category->name", "", "", true, $navbaritem);
}
/// Print button to turn editing off
if ($adminediting) {
echo '<div class="categoryediting button" align="right">'.update_category_button($category->id).'</div>';
}
/// Print link to roles
echo '<div class="rolelink" align="right"><a href="'.$CFG->wwwroot.'/'.$CFG->admin.'/roles/assign.php?contextid='.
$context->id.'">'.get_string('assignroles','role').'</a></div>';