moodle/mod/resource/mod.html

14 lines
390 B
HTML
Raw Normal View History

2004-07-28 06:56:59 +00:00
<?php // $Id$
// This script prints the setup screen for any resource
// It does this by calling the setup method in the appropriate class
2003-01-01 13:17:27 +00:00
require_once("$CFG->dirroot/mod/resource/lib.php");
2004-07-28 06:56:59 +00:00
require_once("$CFG->dirroot/mod/resource/type/$form->type/resource.class.php");
2004-07-28 06:56:59 +00:00
$resourceclass = "resource_$form->type";
$resource = new $resourceclass();
2003-01-01 13:17:27 +00:00
$resource->setup($form);
?>