index.php 391 B

1234567891011121314151617
  1. <?php
  2. /* For licensing terms, see /license.txt */
  3. if (strpos($_SERVER['SCRIPT_NAME'], 'gradebook/index.php') === false) {
  4. return;
  5. }
  6. $gradingElectronic = GradingElectronicPlugin::create();
  7. if (!$gradingElectronic->isAllowed()) {
  8. return;
  9. }
  10. $_template['show'] = true;
  11. $_template['plugin_title'] = $gradingElectronic->get_title();
  12. $_template['form'] = $gradingElectronic->getForm();