PageRenderTime 51ms CodeModel.GetById 28ms RepoModel.GetById 0ms app.codeStats 0ms

/htdocs/customscripts/systime/custom_course_form.php

https://bitbucket.org/systime/screening2
PHP | 12 lines | 9 code | 0 blank | 3 comment | 0 complexity | a82152c8b7364a49af4fc9af3dbfb2d3 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1, GPL-3.0, BSD-3-Clause, LGPL-2.0
  1. <?php
  2. # print('included: ' . __FILE__);
  3. $mform->addElement('text', 'systime_coursemasterbackup', 'systime_coursemasterbackup');
  4. # $mform->disabledIf('systime_coursemasterbackup', 'systime_coursetype', 'neq', 'anakonda');
  5. $mform->addElement('text', 'systime_courseid', 'systime_courseid');
  6. $mform->setHelpButton('option', array('systime_courseid', 'systime_courseid'), true);
  7. $mform->setType('systime_courseid',PARAM_RAW);
  8. # $mform->addRule('systime_courseid', 'Fejl', 'numeric', 'extraruledata', 'server', false, false);
  9. $mform->addElement('select', 'systime_coursetype', 'systime_coursetype', array('masterkopi'=>'masterkopi', 'master'=>'master', 'selvtest'=>'selvtest', 'andet'=>'andet'));
  10. $mform->setHelpButton('option', array('systime_coursetype', 'systime_coursetype'), true);
  11. $mform->setType('systime_coursetype',PARAM_RAW);
  12. ?>