19847cc55f6edb7c4991ab0fba17e5b7af5386bc
[moodle.git] / auth / pop3 / config.html
1 <tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
2         <TD ALIGN=RIGHT><P>auth_pop3host:</TD>
3         <TD>
4         <INPUT name=auth_pop3host TYPE=text SIZE=30 VALUE="<?=$config->auth_pop3host?>">
5         <? formerr($err["ldap_host_url"]); ?>
6         </TD>
7     <TD>
8     <? print_string("auth_pop3host","auth") ?>
9     </TD>
10 </TR>
12 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
13         <TD ALIGN=RIGHT><P>auth_pop3type:</TD>
14         <TD>
15     <? $pop3types = array("pop3","pop3cert");
16        foreach($pop3types as $pop3type) {
17            $pop3options[$pop3type] = $pop3type;
18        }
19        choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, "");
20     ?>
21     <? formerr($err["auth_pop3type"]); ?>
22     </TD>
23 <TD>
24     <? print_string("auth_pop3type","auth") ?>
25     </TD>
26 </TR>
28 <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
29         <TD ALIGN=RIGHT><P>auth_pop3port:</TD>
30         <TD>
31     <INPUT name=auth_pop3port TYPE=text SIZE=6 VALUE="<?=$config->auth_pop3port?>">
32     <? formerr($err["auth_pop3port"]); ?>
33     </TD>
34     <TD>
35     <? print_string("auth_pop3port","auth") ?>
36     </TD>
37 </TR>
39 <TR VALIGN=TOP>
40         <TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
41         <TD>
42     <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA> 
43     </TD>
44     <TD>
45     <? print_string("authinstructions","auth") ?>
46     <? helpbutton("text", get_string("helptext")) ?>
47     </TD>
48 </TR>