"index.php?delete=$delete&sure=".md5($deletecat->timemodified)."&sesskey=$USER->sesskey",
"index.php?sesskey=$USER->sesskey");
- if (has_capability('moodle/site:config', $sysctx)) {
- admin_externalpage_print_footer($adminroot);
- } else {
- print_footer();
- }
+ print_footer();
exit();
}
}
echo update_categories_button();
echo '</div></div>';
- if (has_capability('moodle/site:config', $sysctx)) {
- admin_externalpage_print_footer($adminroot);
- } else {
- print_footer();
- }
+ print_footer();
function print_category_edit($category, $displaylist, $parentslist, $depth=-1, $up=false, $down=false) {
/// Recursive function to print all the categories ready for editing