mirrored from git://git.moodle.org/moodle.git
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-10584: Present more factually correct message when a guest attempts to enrol. Provide a mechanism for specifying which role in a course holds the enrolment key.
- Loading branch information
thepurpleblob
committed
Aug 1, 2007
1 parent
5ceecda
commit a871e63
Showing
3 changed files
with
86 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<table cellspacing="0" cellpadding="5" border="0" class="boxaligncenter"> | ||
|
||
<tr valign="top"> | ||
<td align="right">enrol_manual_keyholderrole:</td> | ||
<td> | ||
<?php | ||
$roles = get_all_roles(); | ||
$rolenames = array(); | ||
foreach ($roles as $id=>$role) { | ||
$rolenames[$id]=$role->name; | ||
} | ||
choose_from_menu($rolenames, 'enrol_manual_keyholderrole', $frm->enrol_manual_keyholderrole); | ||
?> | ||
</td> | ||
<td> | ||
<?php print_string("keyholderrole", "enrol_manual") ?> | ||
</td> | ||
</tr> | ||
|
||
|
||
</table> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters