Better checks during membership checks
[moodle.git] / auth / imap / config.html
CommitLineData
34daec9b 1<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
35a48c9a 2 <TD ALIGN=RIGHT><P>auth_imaphost:</TD>
3 <TD>
4 <INPUT name=auth_imaphost TYPE=text SIZE=30 VALUE="<?=$config->auth_imaphost?>">
5 <? formerr($err["ldap_host_url"]); ?>
6 </TD>
7 <TD>
8 <? print_string("auth_imaphost","auth") ?>
9 </TD>
10</TR>
11
34daec9b 12<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
35a48c9a 13 <TD ALIGN=RIGHT><P>auth_imaptype:</TD>
14 <TD>
15 <? $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
466558e3 16 foreach($imaptypes as $imaptype) {
17 $imapoptions[$imaptype] = $imaptype;
18 }
19 choose_from_menu($imapoptions, "auth_imaptype", $config->auth_imaptype, "");
35a48c9a 20 ?>
21 </TD>
22 <TD>
23 <? print_string("auth_imaptype","auth") ?>
24 </TD>
25</TR>
26
34daec9b 27<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
35a48c9a 28 <TD ALIGN=RIGHT><P>auth_imapport:</TD>
29 <TD>
30 <INPUT name=auth_imapport TYPE=text SIZE=6 VALUE="<?=$config->auth_imapport?>">
31 <? formerr($err["auth_imapport"]); ?>
32 </TD>
33 <TD>
34 <? print_string("auth_imapport","auth") ?>
35 </TD>
36</TR>
37
38<TR VALIGN=TOP>
34daec9b 39 <TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
35a48c9a 40 <TD>
41 <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
42 </TD>
43 <TD>
44 <? print_string("authinstructions","auth") ?>
45 <? helpbutton("text", get_string("helptext")) ?>
46 </TD>
47</TR>