mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
Merged from MOODLE_15_STABLE. enrol/ldap offers enrol_allowinternal config option as it should.
This commit is contained in:
parent
b5406c2d43
commit
f7d18493f6
@ -31,6 +31,9 @@ optional_variable($frm->enrol_ldap_autocreate, false);
|
||||
optional_variable($frm->enrol_ldap_category, 1);
|
||||
optional_variable($frm->enrol_ldap_template, '');
|
||||
|
||||
// general options
|
||||
optional_variable($frm->enrol_allowinternal, false);
|
||||
|
||||
?>
|
||||
|
||||
<table cellspacing="0" cellpadding="5" border="0" align="center">
|
||||
@ -306,4 +309,20 @@ optional_variable($frm->enrol_ldap_template, '');
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<h4><?php print_string("enrol_ldap_general_options", "enrol_ldap") ?> </h4>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right">enrol_allowinternal:</td>
|
||||
<td>
|
||||
<input type="checkbox" name="enrol_allowinternal" <?php if ($frm->enrol_allowinternal) echo "checked=\"true\"" ?> />
|
||||
</td>
|
||||
<td>
|
||||
<?php print_string('allowinternal') ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
@ -66,5 +66,6 @@ $string['enrol_ldap_course_idnumber'] = 'Map to the unique identifier in LDAP, u
|
||||
$string['enrol_ldap_course_shortname'] = 'Optional: LDAP field to get the shortname from.';
|
||||
$string['enrol_ldap_course_fullname'] = 'Optional: LDAP field to get the full name from.';
|
||||
$string['enrol_ldap_course_summary'] = 'Optional: LDAP field to get the summary from.';
|
||||
$string['enrol_ldap_general_options'] = 'General Options';
|
||||
|
||||
?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user