$value) { backup_set_config($name, $value); } if (!$error) { redirect("$CFG->wwwroot/$CFG->admin/index.php", get_string("changessaved"), 1); exit; } } /// Otherwise print the form. $stradmin = get_string("administration"); $strconfiguration = get_string("configuration"); $strbackup = get_string("backup"); print_header("$site->shortname: $strconfiguration: $strbackup", $site->fullname, "$stradmin -> ". "$strconfiguration -> ". $strbackup); echo "

".get_string("logs")."

"; print_heading($strbackup); print_simple_box("
".get_string("adminhelpbackup")."
", "center", "50%"); echo "
"; print_simple_box_start("center", "", "$THEME->cellheading"); include("$CFG->dirroot/backup/config.html"); print_simple_box_end(); print_footer(); ?>