get_string('no'), '1'=>get_string('yes')); ?>
enrol_dbtype: enrol_dbtype)) { $frm->enrol_dbtype = 'mysql'; } choose_from_menu($dboptions, "enrol_dbtype", $frm->enrol_dbtype, '', '', ''); ?>
enrol_dbhost: enrol_dbhost)) { $frm->enrol_dbhost = ''; } ?>
enrol_dbuser:
enrol_dbpass:
enrol_dbname:
enrol_dbtable:
enrol_localcoursefield:
enrol_localuserfield:
enrol_db_localrolefield:
enrol_remotecoursefield:
enrol_remoteuserfield:
enrol_db_remoterolefield:
enrol_db_defaultcourseroleid: get_string('default')) + $assignableroles; choose_from_menu($assignableroles, 'enrol_db_defaultcourseroleid', $frm->enrol_db_defaultcourseroleid, ''); if (isset($err['enrol_db_defaultcourseroleid'])) formerr($err['enrol_db_defaultcourseroleid']); ?>
enrol_db_autocreate: enrol_db_autocreate, ""); if (isset($err["enrol_db_autocreate"])) formerr($err["enrol_db_autocreate"]); ?>
enrol_db_category: enrol_db_category, ""); ?>
enrol_db_template:
enrol_db_ignorehiddencourse: enrol_db_ignorehiddencourse, ""); if (isset($err['enrol_db_ignorehiddencourse'])) { formerr($err['enrol_db_ignorehiddencourse']); } ?>
enrol_db_disableunenrol: enrol_db_disableunenrol, ""); if (isset($err['enrol_db_disableunenrol'])) { formerr($err['enrol_db_disableunenrol']); } ?>