. /** * Page to continue after an action. * * @package tool_lpimportcsv * @copyright 2015 Damyon Wiese * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(__DIR__ . '/../../../config.php'); require_once($CFG->libdir.'/adminlib.php'); $pagetitle = get_string('pluginname', 'tool_lpimportcsv'); $context = context_system::instance(); $id = required_param('id', PARAM_INT); $url = new moodle_url("/admin/tool/lpimportcsv/index.php"); $PAGE->set_context($context); $PAGE->set_url($url); $PAGE->set_title($pagetitle); $PAGE->set_pagelayout('admin'); $PAGE->set_heading($pagetitle); echo $OUTPUT->header(); echo $OUTPUT->heading($pagetitle); $urlparams = ['competencyframeworkid' => $id, 'pagecontextid' => $context->id]; $frameworksurl = new moodle_url('/admin/tool/lp/competencies.php', $urlparams); echo $OUTPUT->notification(get_string('competencyframeworkcreated', 'tool_lp'), 'notifysuccess'); echo $OUTPUT->continue_button($frameworksurl); echo $OUTPUT->footer();