MDL-45981 auth_cas: coding style fixing
[moodle.git] / auth / cas / config.html
CommitLineData
c8afa50b 1<?php
f535ea21 2
fcf46da1 3include($CFG->dirroot.'/auth/cas/languages.php');
017f1a61 4
fcf46da1
I
5// set to defaults if undefined (CAS)
6if (!isset ($config->hostname)) {
7 $config->hostname = '';
8}
9if (!isset ($config->port)) {
10 $config->port = '';
11}
12if (!isset ($config->casversion)) {
13 $config->casversion = CAS_VERSION_2_0;
14}
15if (!isset ($config->baseuri)) {
16 $config->baseuri = '';
17}
18if (!isset ($config->language)) {
19 $config->language = '';
20}
21if (!isset ($config->proxycas)) {
22 $config->proxycas = '';
23}
24if (!isset ($config->logoutcas)) {
25 $config->logoutcas = '';
26}
27if (!isset ($config->multiauth)) {
28 $config->multiauth = '';
c8afa50b 29}
387d1dc0
I
30if (!isset ($config->certificate_check)) {
31 $config->certificate_check = '';
32}
33if (!isset ($config->certificate_path)) {
34 $config->certificate_path = '';
35}
9b3ae641 36if (!isset($config->curl_ssl_version)) {
6d4cae04
JG
37 $config->curl_ssl_version = '';
38}
7d697431
JPG
39if (!isset($config->logout_return_url)) {
40 $config->logout_return_url = '';
41}
f535ea21 42
fcf46da1
I
43// set to defaults if undefined (LDAP)
44if (!isset($config->host_url)) {
45 $config->host_url = '';
46}
326929d5
IA
47if (!isset($config->start_tls)) {
48 $config->start_tls = false;
49}
fcf46da1
I
50if (empty($config->ldapencoding)) {
51 $config->ldapencoding = 'utf-8';
52}
c090d7c9
IA
53if (!isset($config->pagesize)) {
54 $config->pagesize = LDAP_DEFAULT_PAGESIZE;
55}
fcf46da1
I
56if (!isset($config->contexts)) {
57 $config->contexts = '';
58}
59if (!isset($config->user_type)) {
60 $config->user_type = 'default';
61}
62if (!isset($config->user_attribute)) {
63 $config->user_attribute = '';
64}
65if (!isset($config->search_sub)) {
66 $config->search_sub = '';
67}
68if (!isset($config->opt_deref)) {
69 $config->opt_deref = LDAP_DEREF_NEVER;
70}
71if (!isset($config->bind_dn)) {
72 $config->bind_dn = '';
73}
74if (!isset($config->bind_pw)) {
75 $config->bind_pw = '';
76}
1298e78b
I
77if (!isset($config->ldap_version)) {
78 $config->ldap_version = '3';
fcf46da1
I
79}
80if (!isset($config->objectclass)) {
81 $config->objectclass = '';
82}
83if (!isset($config->memberattribute)) {
84 $config->memberattribute = '';
85}
86if (!isset($config->memberattribute_isdn)) {
87 $config->memberattribute_isdn = '';
88}
89if (!isset($config->groupecreators)) {
90 $config->groupecreators = '';
91}
92if (!isset($config->attrcreators)) {
93 $config->attrcreators = '';
94}
95if (!isset($config->removeuser)) {
96 $config->removeuser = AUTH_REMOVEUSER_KEEP;
97}
f535ea21 98
fcf46da1 99$yesno = array( get_string('no'), get_string('yes') );
017f1a61 100
4bcb0396
IA
101$disabled = '';
102if (!ldap_paged_results_supported($config->ldap_version)) {
103 $disabled = ' disabled="disabled"';
104 echo $OUTPUT->notification(get_string('pagedresultsnotsupp', 'auth_ldap'));
105}
106
c8afa50b 107?>
16db5bab 108<table cellspacing="0" cellpadding="5" border="0">
c8afa50b 109<tr>
fcf46da1
I
110 <td colspan="2">
111 <h4><?php print_string('auth_cas_server_settings', 'auth_cas') ?></h4>
112 </td>
c8afa50b 113</tr>
114<tr valign="top" class="required">
eac75f21 115 <td align="right"><label for="hostname"><?php print_string('auth_cas_hostname_key', 'auth_cas') ?>: </label></td>
c8afa50b 116 <td>
eac75f21 117 <input name="hostname" id="hostname" type="text" size="30" value="<?php echo $config->hostname ?>" />
fcf46da1
I
118 <?php if (isset($err['hostname'])) { echo $OUTPUT->error_text($err['hostname']); } ?>
119 </td>
120 <td>
121 <?php print_string('auth_cas_hostname', 'auth_cas') ?>
c8afa50b 122 </td>
c8afa50b 123</tr>
fcf46da1
I
124<tr valign="top" class="required">
125 <td align="right">
eac75f21 126 <label for="baseuri"><?php print_string('auth_cas_baseuri_key', 'auth_cas') ?>: </label>
fcf46da1 127 </td>
c8afa50b 128 <td>
eac75f21 129 <input name="baseuri" id="baseuri" type="text" size="30" value="<?php echo $config->baseuri ?>" />
fcf46da1
I
130 <?php if (isset($err['baseuri'])) { echo $OUTPUT->error_text($err['baseuri']); } ?>
131 </td>
132 <td>
133 <?php print_string('auth_cas_baseuri', 'auth_cas') ?>
c8afa50b 134 </td>
c8afa50b 135</tr>
136<tr valign="top" class="required">
fcf46da1 137 <td align="right">
eac75f21 138 <label for="port"><?php print_string('auth_cas_port_key', 'auth_cas') ?>: </label>
fcf46da1 139 </td>
c8afa50b 140 <td>
eac75f21 141 <input name="port" id="port" type="text" size="30" value="<?php echo $config->port ?>" />
fcf46da1
I
142 <?php if (isset($err['port'])) { echo $OUTPUT->error_text($err['port']); } ?>
143 </td>
144 <td>
145 <?php print_string('auth_cas_port', 'auth_cas') ?>
c8afa50b 146 </td>
c8afa50b 147</tr>
fcf46da1
I
148<tr valign="top" class="required">
149 <td align="right">
eac75f21 150 <?php echo html_writer::label(get_string('auth_cas_casversion', 'auth_cas'), 'menucasversion'); ?>:
fcf46da1 151 </td>
c8afa50b 152 <td>
c8afa50b 153 <?php
fcf46da1
I
154 $casversions = array();
155 $casversions[CAS_VERSION_1_0] = 'CAS 1.0';
156 $casversions[CAS_VERSION_2_0] = 'CAS 2.0';
157 echo html_writer::select($casversions, 'casversion', $config->casversion, false);
158 if (isset($err['casversion'])) { echo $OUTPUT->error_text($err['casversion']); }
c8afa50b 159 ?>
160 </td>
fcf46da1
I
161 <td>
162 <?php print_string('auth_cas_version', 'auth_cas') ?>
163 </td>
c8afa50b 164</tr>
fcf46da1 165<tr valign="top" class="required">
eac75f21 166 <td align="right"><?php echo html_writer::label(get_string('auth_cas_language_key', 'auth_cas'), 'menulanguage'); ?>:</td>
c8afa50b 167 <td>
fcf46da1
I
168 <?php echo html_writer::select($CASLANGUAGES, 'language', $config->language, false); ?>
169 </td>
170 <td>
171 <?php print_string('auth_cas_language', 'auth_cas') ?>
c8afa50b 172 </td>
c8afa50b 173</tr>
fcf46da1
I
174<tr valign="top" class="required">
175 <td align="right">
eac75f21 176 <?php echo html_writer::label(get_string('auth_cas_proxycas_key', 'auth_cas'), 'menuproxycas'); ?>:
fcf46da1 177 </td>
c8afa50b 178 <td>
fcf46da1
I
179 <?php echo html_writer::select($yesno, 'proxycas', $config->proxycas, false); ?>
180 </td>
181 <td>
182 <?php print_string('auth_cas_proxycas', 'auth_cas') ?>
c8afa50b 183 </td>
c8afa50b 184</tr>
fcf46da1 185<tr valign="top" class="required">
eac75f21 186 <td align="right"><?php echo html_writer::label(get_string('auth_cas_logoutcas_key', 'auth_cas'), 'menulogoutcas'); ?>:</td>
c8afa50b 187 <td>
fcf46da1
I
188 <?php echo html_writer::select($yesno, 'logoutcas', $config->logoutcas, false); ?>
189 </td>
190 <td>
191 <?php print_string('auth_cas_logoutcas', 'auth_cas') ?>
c8afa50b 192 </td>
c8afa50b 193</tr>
fcf46da1 194<tr valign="top" class="required">
eac75f21 195 <td align="right"><?php echo html_writer::label(get_string('auth_cas_multiauth_key', 'auth_cas'), 'menumultiauth'); ?>:</td>
c8afa50b 196 <td>
fcf46da1
I
197 <?php echo html_writer::select($yesno, 'multiauth', $config->multiauth, false); ?>
198 </td>
199 <td>
200 <?php print_string('auth_cas_multiauth', 'auth_cas') ?>
c8afa50b 201 </td>
c8afa50b 202</tr>
387d1dc0 203<tr valign="top" class="required">
eac75f21 204 <td align="right"><?php echo html_writer::label(get_string('auth_cas_certificate_check_key', 'auth_cas'), 'menucertificate_check'); ?>:</td>
387d1dc0
I
205 <td>
206 <?php echo html_writer::select($yesno, 'certificate_check', $config->certificate_check, false); ?>
207 </td>
208 <td>
209 <?php print_string('auth_cas_certificate_check', 'auth_cas') ?>
210 </td>
211</tr>
212<tr valign="top" class="required">
eac75f21 213 <td align="right"><label for="certificate_path"><?php print_string('auth_cas_certificate_path_key', 'auth_cas') ?>: </label></td>
387d1dc0
I
214 <td>
215 <input name="certificate_path" id="certificate_path" type="text" size="30" value="<?php echo $config->certificate_path ?>" />
40293947 216 <?php if (isset($err['certificate_path'])) echo $OUTPUT->error_text($err['certificate_path']); ?>
387d1dc0
I
217 </td>
218 <td>
219 <?php print_string('auth_cas_certificate_path', 'auth_cas') ?>
220 </td>
221</tr>
6d4cae04
JG
222<tr valign="top" class="required">
223 <td align="right"><label for="curl_ssl_version"><?php print_string('auth_cas_curl_ssl_version_key', 'auth_cas') ?>: </label></td>
224 <td>
225 <input name="curl_ssl_version" id="curl_ssl_version" type="text" size="3" value="<?php echo $config->curl_ssl_version ?>" />
226 <?php if (isset($err['curl_ssl_version'])) echo $OUTPUT->error_text($err['curl_ssl_version']); ?>
227 </td>
228 <td>
229 <?php print_string('auth_cas_curl_ssl_version', 'auth_cas') ?>
230 </td>
231</tr>
7d697431
JPG
232<tr valign="top" class="required">
233 <td align="right"><?php print_string('auth_cas_logout_return_url_key', 'auth_cas') ?>:</td>
234 <td>
235 <input name="logout_return_url" type="text" size="30" value="<?php echo $config->logout_return_url ?>" />
236 <?php if (isset($err['logout_return_url'])) { echo $OUTPUT->error_text($err['logout_return_url']); } ?>
237 </td>
238 <td>
239 <?php print_string('auth_cas_logout_return_url', 'auth_cas') ?>
240 </td>
241</tr>
c8afa50b 242<tr>
243 <td colspan="2">
fcf46da1 244 <h4><?php print_string('auth_ldap_server_settings', 'auth_ldap') ?></h4>
c8afa50b 245 </td>
246</tr>
247<tr valign="top" class="required">
fcf46da1
I
248 <td align="right">
249 <label for="host_url"><?php print_string('auth_ldap_host_url_key', 'auth_ldap') ?></label>
250 </td>
c8afa50b 251 <td>
252 <input name="host_url" id="host_url" type="text" size="30" value="<?php echo $config->host_url?>" />
fcf46da1 253 <?php if (isset($err['host_url'])) { echo $OUTPUT->error_text($err['host_url']); } ?>
c8afa50b 254 </td>
255 <td>
fcf46da1 256 <?php print_string('auth_ldap_host_url', 'auth_ldap') ?>
c8afa50b 257 </td>
258</tr>
259<tr valign="top" class="required">
326929d5 260 <td align="right"><label for="ldap_version"><?php print_string('auth_ldap_version_key', 'auth_ldap') ?></label></td>
c8afa50b 261 <td>
fcf46da1
I
262 <?php
263 $versions = array();
264 $versions[2] = '2';
265 $versions[3] = '3';
1298e78b
I
266 echo html_writer::select($versions, 'ldap_version', $config->ldap_version, false);
267 if (isset($err['ldap_version'])) { echo $OUTPUT->error_text($err['ldap_version']); }
fcf46da1 268 ?>
c8afa50b 269 </td>
270 <td>
fcf46da1 271 <?php print_string('auth_ldap_version', 'auth_ldap') ?>
c8afa50b 272 </td>
273</tr>
326929d5
IA
274<tr valign="top">
275 <td align="right">
276 <label for="start_tls"><?php print_string('start_tls_key', 'auth_ldap') ?></label>
277 </td>
278 <td>
279 <?php echo html_writer::select($yesno, 'start_tls', $config->start_tls, false); ?>
280 </td>
281 <td>
282 <?php print_string('start_tls', 'auth_ldap') ?>
283 </td>
284</tr>
c8afa50b 285<tr valign="top" class="required">
fcf46da1
I
286 <td align="right">
287 <label for="ldapencoding"><?php print_string('auth_ldap_ldap_encoding_key', 'auth_ldap') ?></label>
288 </td>
289 <td>
290 <input id="ldapencoding" name="ldapencoding" type="text" value="<?php echo $config->ldapencoding ?>" />
291 <?php if (isset($err['ldapencoding'])) { echo $OUTPUT->error_text($err['ldapencoding']); } ?>
292 </td>
293 <td>
294 <?php print_string('auth_ldap_ldap_encoding', 'auth_ldap') ?>
c8afa50b 295 </td>
c8afa50b 296</tr>
c090d7c9
IA
297<tr valign="top">
298 <td align="right">
299 <label for="pagesize"><?php print_string('pagesize_key', 'auth_ldap') ?></label>
300 </td>
301 <td>
c090d7c9
IA
302 <input id="pagesize" name="pagesize" type="text" value="<?php echo $config->pagesize ?>" <?php echo $disabled ?>/>
303 <?php
304 if (isset($err['pagesize'])) { echo $OUTPUT->error_text($err['pagesize']); }
305 if ($disabled) {
306 // Don't loose the page size value (disabled fields are not submitted!)
307 ?>
308 <input id="pagesize" name="pagesize" type="hidden" value="<?php echo $config->pagesize ?>" />
309 <?php } ?>
310 </td>
311 <td>
312 <?php print_string('pagesize', 'auth_ldap') ?>
313 </td>
314</tr>
c8afa50b 315<tr>
fcf46da1
I
316 <td colspan="2">
317 <h4><?php print_string('auth_ldap_bind_settings', 'auth_ldap') ?></h4>
318 </td>
c8afa50b 319</tr>
320<tr valign="top" class="required">
fcf46da1
I
321 <td align="right">
322 <label for="bind_dn"><?php print_string('auth_ldap_bind_dn_key', 'auth_ldap') ?></label>
323 </td>
c8afa50b 324 <td>
fcf46da1
I
325 <input name="bind_dn" id="bind_dn" type="text" size="30" value="<?php echo $config->bind_dn?>" />
326 <?php if (isset($err['bind_dn'])) { echo $OUTPUT->error_text($err['bind_dn']); } ?>
327 </td>
328 <td>
329 <?php print_string('auth_ldap_bind_dn', 'auth_ldap') ?>
c8afa50b 330 </td>
331</tr>
332<tr valign="top" class="required">
fcf46da1
I
333 <td align="right">
334 <label for="bind_pw"><?php print_string('auth_ldap_bind_pw_key', 'auth_ldap') ?></label>
335 </td>
c8afa50b 336 <td>
fcb103c9 337 <input name="bind_pw" id="bind_pw" type="password" size="30" value="<?php echo $config->bind_pw?>" autocomplete="off"/>
fcf46da1
I
338 <?php if (isset($err['bind_pw'])) { echo $OUTPUT->error_text($err['bind_pw']); } ?>
339 </td>
340 <td>
341 <?php print_string('auth_ldap_bind_pw', 'auth_ldap') ?>
c8afa50b 342 </td>
343</tr>
344<tr>
fcf46da1
I
345 <td colspan="2">
346 <h4><?php print_string('auth_ldap_user_settings', 'auth_ldap') ?></h4>
347 </td>
c8afa50b 348</tr>
349<tr valign="top" class="required">
fcf46da1
I
350 <td align="right">
351 <label for="menuuser_type"><?php print_string('auth_ldap_user_type_key', 'auth_ldap') ?></label>
352 </td>
c8afa50b 353 <td>
fcf46da1
I
354 <?php
355 echo html_writer::select(ldap_supported_usertypes(), 'user_type', $config->user_type, false);
356 if (isset($err['user_type'])) { echo $OUTPUT->error_text($err['user_type']); }
357 ?>
c8afa50b 358 </td>
359 <td>
fcf46da1 360 <?php print_string('auth_ldap_user_type', 'auth_ldap') ?>
c8afa50b 361 </td>
362</tr>
363<tr valign="top" class="required">
fcf46da1
I
364 <td align="right">
365 <label for="contexts"><?php print_string('auth_ldap_contexts_key', 'auth_ldap') ?></label>
366 </td>
c8afa50b 367 <td>
fcf46da1
I
368 <input name="contexts" id="contexts" type="text" size="30" value="<?php echo $config->contexts?>" />
369 <?php if (isset($err['contexts'])) { echo $OUTPUT->error_text($err['contexts']); } ?>
c8afa50b 370 </td>
371 <td>
fcf46da1 372 <?php print_string('auth_ldap_contexts', 'auth_ldap') ?>
c8afa50b 373 </td>
374</tr>
375<tr valign="top" class="required">
fcf46da1
I
376 <td align="right">
377 <label for="menusearch_sub"><?php print_string('auth_ldap_search_sub_key', 'auth_ldap') ?></label></td>
c8afa50b 378 <td>
d776d59e 379 <?php echo html_writer::select($yesno, 'search_sub', $config->search_sub, false); ?>
c8afa50b 380 </td>
381 <td>
fcf46da1 382 <?php print_string('auth_ldap_search_sub', 'auth_ldap') ?>
c8afa50b 383 </td>
384</tr>
385<tr valign="top" class="required">
fcf46da1 386 <td align="right"><label for="menuopt_deref"><?php print_string('auth_ldap_opt_deref_key', 'auth_ldap') ?></label></td>
c8afa50b 387 <td>
fcf46da1
I
388 <?php
389 $opt_deref = array();
390 $opt_deref[LDAP_DEREF_NEVER] = get_string('no');
391 $opt_deref[LDAP_DEREF_ALWAYS] = get_string('yes');
392 echo html_writer::select($opt_deref, 'opt_deref', $config->opt_deref, false);
393 if (isset($err['opt_deref'])) { echo $OUTPUT->error_text($err['opt_deref']); }
394 ?>
c8afa50b 395 </td>
396 <td>
fcf46da1 397 <?php print_string('auth_ldap_opt_deref', 'auth_ldap') ?>
c8afa50b 398 </td>
399</tr>
400<tr valign="top" class="required">
fcf46da1
I
401 <td align="right">
402 <label for="user_attribute"><?php print_string('auth_ldap_user_attribute_key', 'auth_ldap') ?></label>
403 </td>
c8afa50b 404 <td>
fcf46da1
I
405 <input name="user_attribute" id="user_attribute" type="text" size="30" value="<?php echo $config->user_attribute?>" />
406 <?php if (isset($err['user_attribute'])) { echo $OUTPUT->error_text($err['user_attribute']); } ?>
c8afa50b 407 </td>
408 <td>
fcf46da1 409 <?php print_string('auth_ldap_user_attribute', 'auth_ldap') ?>
c8afa50b 410 </td>
411</tr>
412<tr valign="top" class="required">
fcf46da1
I
413 <td align="right">
414 <label for="memberattribute"><?php print_string('auth_ldap_memberattribute_key', 'auth_ldap') ?></label>
415 </td>
416 <td>
417 <input name="memberattribute" id="memberattribute" type="text" size="30" value="<?php echo $config->memberattribute?>" />
418 <?php if (isset($err['memberattribute'])) { echo $OUTPUT->error_text($err['memberattribute']); } ?>
419 </td>
420 <td>
421 <?php print_string('auth_ldap_memberattribute', 'auth_ldap') ?>
c8afa50b 422 </td>
423</tr>
424<tr valign="top" class="required">
fcf46da1
I
425 <td align="right">
426 <label for="memberattribute_isdn"><?php print_string('auth_ldap_memberattribute_isdn_key', 'auth_ldap') ?></label>
427 </td>
428 <td>
429 <input name="memberattribute_isdn" id="memberattribute_isdn" type="text" size="30" value="<?php echo $config->memberattribute_isdn?>" />
430 <?php if (isset($err['memberattribute_isdn'])) { echo $OUTPUT->error_text($err['memberattribute_isdn']); } ?>
431 </td>
432 <td>
433 <?php print_string('auth_ldap_memberattribute_isdn', 'auth_ldap') ?>
c8afa50b 434 </td>
435</tr>
436<tr valign="top" class="required">
fcf46da1
I
437 <td align="right">
438 <label for="objectclass"><?php print_string('auth_ldap_objectclass_key', 'auth_ldap') ?></label>
439 </td>
c8afa50b 440 <td>
fcf46da1
I
441 <input name="objectclass" id="objectclass" type="text" size="30" value="<?php echo $config->objectclass?>" />
442 <?php if (isset($err['objectclass'])) { echo $OUTPUT->error_text($err['objectclass']); } ?>
c8afa50b 443 </td>
444 <td>
fcf46da1 445 <?php print_string('auth_ldap_objectclass', 'auth_ldap') ?>
c8afa50b 446 </td>
447</tr>
448<tr>
fcf46da1
I
449 <td colspan="2">
450 <h4><?php print_string('coursecreators') ?></h4>
451 </td>
c8afa50b 452</tr>
453<tr valign="top" class="required">
fcf46da1
I
454 <td align="right">
455 <label for="attrcreators"><?php print_string('auth_ldap_attrcreators_key', 'auth_ldap') ?></label>
456 </td>
457 <td>
458 <input name="attrcreators" id="attrcreators" type="text" size="30" value="<?php echo $config->attrcreators?>" />
459 <?php if (isset($err['attrcreators'])) { echo $OUTPUT->error_text($err['attrcreators']); } ?>
460 </td>
461 <td>
462 <?php print_string('auth_ldap_attrcreators', 'auth_ldap') ?>
c8afa50b 463 </td>
464</tr>
465<tr valign="top" class="required">
fcf46da1
I
466 <td align="right">
467 <label for="groupecreators"><?php print_string('auth_ldap_groupecreators_key', 'auth_ldap') ?></label>
468 </td>
469 <td>
470 <input name="groupecreators" id="groupecreators" type="text" size="30" value="<?php echo $config->groupecreators?>" />
471 <?php if (isset($err['groupecreators'])) { echo $OUTPUT->error_text($err['groupecreators']); } ?>
472 </td>
473 <td>
474 <?php print_string('auth_ldap_groupecreators', 'auth_ldap') ?>
c8afa50b 475 </td>
476</tr>
477<tr>
fcf46da1
I
478 <td colspan="2">
479 <h4><?php print_string('auth_sync_script', 'auth') ?></h4>
480 </td>
c8afa50b 481</tr>
482<tr valign="top">
fcf46da1
I
483 <td align="right">
484 <label for="menuremoveuser"><?php print_string('auth_remove_user_key', 'auth') ?></label>
485 </td>
c8afa50b 486 <td>
fcf46da1
I
487 <?php
488 $deleteopt = array();
489 $deleteopt[AUTH_REMOVEUSER_KEEP] = get_string('auth_remove_keep', 'auth');
490 $deleteopt[AUTH_REMOVEUSER_SUSPEND] = get_string('auth_remove_suspend', 'auth');
491 $deleteopt[AUTH_REMOVEUSER_FULLDELETE] = get_string('auth_remove_delete', 'auth');
492 echo html_writer::select($deleteopt, 'removeuser', $config->removeuser, false);
493 ?>
c8afa50b 494 </td>
495 <td>
fcf46da1 496 <?php print_string('auth_remove_user', 'auth') ?>
c8afa50b 497 </td>
498</tr>
499<?php
fcf46da1
I
500$help = get_string('auth_ldapextrafields', 'auth_ldap');
501$help .= get_string('auth_updatelocal_expl', 'auth');
502$help .= get_string('auth_fieldlock_expl', 'auth');
503$help .= get_string('auth_updateremote_expl', 'auth');
c8afa50b 504$help .= '<hr />';
fcf46da1 505$help .= get_string('auth_updateremote_ldap', 'auth');
017f1a61 506
57d135a1 507print_auth_lock_options($this->authtype, $user_fields, $help, true, true, $this->get_custom_user_profile_fields());
c8afa50b 508?>
6f87ef52 509</table>