1 <table cellspacing=
"0" cellpadding=
"5" border=
"0" class=
"boxaligncenter">
4 <th colspan=
"3" scope=
"col"><?php print_string("basicsettings", "enrol_imsenterprise") ?></th>
8 <td align=
"right"><?php print_string("location", "enrol_imsenterprise") ?>:
</td>
10 <input type=
"text" size=
"50" name=
"enrol_imsfilelocation" value=
"<?php echo ($frm->enrol_imsfilelocation ? $frm->enrol_imsfilelocation : '') ?>" />
15 <td align
="right"><?php
print_string("logtolocation", "enrol_imsenterprise") ?>:
</td>
17 <input type=
"text" size=
"50" name=
"enrol_logtolocation" value=
"<?php echo ($frm->enrol_logtolocation ? $frm->enrol_logtolocation : '') ?>" />
22 <td align
="right"><?php
print_string('mailadmins', 'enrol_imsenterprise') ?>:
</td>
23 <td style=
"width:10px">
24 <input type=
"checkbox" value=
"1" name=
"enrol_mailadmins" <?php if ($frm->enrol_mailadmins
) echo "checked=\"checked\"" ?> />
32 <th colspan=
"3" scope=
"col"><?php print_string("usersettings", "enrol_imsenterprise") ?></th>
36 <td align=
"right"><?php print_string('createnewusers', 'enrol_imsenterprise') ?>:
</td>
38 <input type=
"checkbox" value=
"1" name=
"enrol_createnewusers" <?php if ($frm->enrol_createnewusers
) echo "checked=\"checked\"" ?> />
41 <?php helpbutton('createnewusers', 'More detail about this option', 'enrol/imsenterprise'); ?>
46 <td align=
"right"><?php print_string('deleteusers', 'enrol_imsenterprise') ?>:
</td>
48 <input type=
"checkbox" value=
"1" name=
"enrol_imsdeleteusers" <?php if ($frm->enrol_imsdeleteusers
) echo "checked=\"checked\"" ?> />
51 <?php helpbutton('deleteusers', 'More detail about this option', 'enrol/imsenterprise'); ?>
56 <td align=
"right"><?php print_string('fixcaseusernames', 'enrol_imsenterprise') ?>:
</td>
58 <input type=
"checkbox" value=
"1" name=
"enrol_fixcaseusernames" <?php if ($frm->enrol_fixcaseusernames
) echo "checked=\"checked\"" ?> />
66 <td align=
"right"><?php print_string('fixcasepersonalnames', 'enrol_imsenterprise') ?>:
</td>
68 <input type=
"checkbox" value=
"1" name=
"enrol_fixcasepersonalnames" <?php if ($frm->enrol_fixcasepersonalnames
) echo "checked=\"checked\"" ?> />
76 <td align=
"right"><?php print_string('sourcedidfallback', 'enrol_imsenterprise') ?>:
</td>
78 <input type=
"checkbox" value=
"1" name=
"enrol_imssourcedidfallback" <?php if ($frm->enrol_imssourcedidfallback
) echo "checked=\"checked\"" ?> />
81 <?php helpbutton('sourceddidfallback', 'More detail about this option', 'enrol/imsenterprise'); ?>
85 Photo processing is deactivated until we hear from Moodle dev forum about modification to gdlib.
88 <td align="right"><?php print_string('processphoto', 'enrol_imsenterprise') ?>:</td>
90 <input type="checkbox" value="1" name="enrol_processphoto" <?php if ($frm->enrol_processphoto) echo "checked=\"checked\"" ?> />
93 <?php print_string('processphotowarning', 'enrol_imsenterprise') ?>
98 <td colspan="3" ><?php print_string('roles') ?></td>
102 <td colspan="3"><?php print_string('imsrolesdescription', 'enrol_imsenterprise') ?></td>
107 $sitecontext = get_context_instance(CONTEXT_SYSTEM, SITEID);
108 $assignableroles = get_assignable_roles($sitecontext);
109 $assignableroles = array('0' => get_string('ignore')) + $assignableroles;
111 foreach($this->imsroles as $imsrolenum=>$imsrolename){
114 <td align="right">"<?php echo $imsrolename ?>" (<?php echo $imsrolenum ?>):</td>
118 $configref = "enrol_imse_imsrolemap" . $imsrolenum;
120 choose_from_menu($assignableroles, 'enrol_imse_imsrolemap'.$imsrolenum,
121 strlen($frm->$configref) ? $frm->$configref : $this->determine_default_rolemapping($imsrolenum), '');
132 <th colspan="3" scope="col"><?php print_string("coursesettings", "enrol_imsenterprise") ?></th>
136 <td align="right"><?php print_string('truncatecoursecodes', 'enrol_imsenterprise') ?>:</td>
138 <input type="text" <?php echo 'value="'.intval($frm->enrol_truncatecoursecodes).'"' ?> name="enrol_truncatecoursecodes" size="3" maxlength="3" />
141 <?php helpbutton('truncatecoursecodes', 'More detail about this option', 'enrol/imsenterprise'); ?>
146 <td align="right"><?php print_string('createnewcourses', 'enrol_imsenterprise') ?>:</td>
148 <input type="checkbox" value="1" name="enrol_createnewcourses" <?php if ($frm->enrol_createnewcourses) echo "checked=\"checked\"" ?> />
151 <?php helpbutton('createnewcourses', 'More detail about this option', 'enrol/imsenterprise'); ?>
156 <td align="right"><?php print_string('createnewcategories', 'enrol_imsenterprise') ?>:</td>
158 <input type="checkbox" value="1" name="enrol_createnewcategories" <?php if ($frm->enrol_createnewcategories) echo "checked=\"checked\"" ?> />
161 <?php helpbutton('categorisation', 'More detail about this option', 'enrol/imsenterprise'); ?>
166 <td align="right"><?php print_string('allowunenrol', 'enrol_imsenterprise') ?>:</td>
168 <input type="checkbox" value="1" name="enrol_imsunenrol" <?php if ($frm->enrol_imsunenrol) echo "checked=\"checked\"" ?> />
171 <?php helpbutton('unenrol', 'More detail about this option', 'enrol/imsenterprise'); ?>
176 <th colspan="3" scope="col"><?php print_string("miscsettings", "enrol_imsenterprise") ?></th>
180 <td align="right"><?php print_string('restricttarget', 'enrol_imsenterprise') ?>:</td>
182 <input type="text" <?php echo 'value="'.htmlspecialchars($frm->enrol_imsrestricttarget).'"' ?> name="enrol_imsrestricttarget" size="20" maxlength="32" />
183 <?php helpbutton('target', 'More detail about this option', 'enrol/imsenterprise'); ?>
188 <td align="right"><?php print_string('usecapitafix', 'enrol_imsenterprise') ?>:</td>
190 <input type="checkbox" value="1" name="enrol_imscapitafix" <?php if ($frm->enrol_imscapitafix) echo "checked=\"checked\"" ?> />
193 <?php helpbutton('capita', 'More detail about this option', 'enrol/imsenterprise'); ?>
199 <p><i><?php print_string('aftersaving...', 'enrol_imsenterprise') ?> <a href="../enrol/imsenterprise/importnow.php"><?php print_string('doitnow', 'enrol_imsenterprise') ?></a>.</i></p>