Skip to content

Commit

Permalink
enrol/ldap offers enrol_allowinternal config option as it should.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlanghoff committed May 30, 2005
1 parent c8198e1 commit e7c83f4
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
19 changes: 19 additions & 0 deletions enrol/ldap/config.html
Expand Up @@ -31,6 +31,9 @@
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">
Expand Down Expand Up @@ -306,4 +309,20 @@ <h4><?php print_string("enrol_ldap_autocreation_settings", "enrol_ldap") ?> </h4
</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>
1 change: 1 addition & 0 deletions lang/en/enrol_ldap.php
Expand Up @@ -66,5 +66,6 @@
$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';

?>

0 comments on commit e7c83f4

Please sign in to comment.