moodle/mod/resource/mod.html
2004-07-28 06:56:59 +00:00

14 lines
390 B
HTML

<?php // $Id$
// This script prints the setup screen for any resource
// It does this by calling the setup method in the appropriate class
require_once("$CFG->dirroot/mod/resource/lib.php");
require_once("$CFG->dirroot/mod/resource/type/$form->type/resource.class.php");
$resourceclass = "resource_$form->type";
$resource = new $resourceclass();
$resource->setup($form);
?>