upgrade
This commit is contained in:
16
plugin/grading_electronic/index.php
Normal file
16
plugin/grading_electronic/index.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
/* For licensing terms, see /license.txt */
|
||||
|
||||
if (strpos($_SERVER['SCRIPT_NAME'], 'gradebook/index.php') === false) {
|
||||
return;
|
||||
}
|
||||
|
||||
$gradingElectronic = GradingElectronicPlugin::create();
|
||||
|
||||
if (!$gradingElectronic->isAllowed()) {
|
||||
return;
|
||||
}
|
||||
|
||||
$_template['show'] = true;
|
||||
$_template['plugin_title'] = $gradingElectronic->get_title();
|
||||
$_template['form'] = $gradingElectronic->getForm();
|
||||
Reference in New Issue
Block a user