50c4bd41 |
1 | <?PHP |
2 | if (!isset($config->auth_pop3host)) { |
3 | $config->auth_pop3host = "127.0.0.1"; |
4 | } |
5 | if (!isset($config->auth_pop3type)) { |
6 | $config->auth_pop3type = "pop3"; |
7 | } |
8 | if (!isset($config->auth_pop3port)) { |
9 | $config->auth_pop3port = "110"; |
10 | } |
11 | ?> |
34daec9b |
12 | <tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>"> |
35a48c9a |
13 | <TD ALIGN=RIGHT><P>auth_pop3host:</TD> |
14 | <TD> |
15 | <INPUT name=auth_pop3host TYPE=text SIZE=30 VALUE="<?=$config->auth_pop3host?>"> |
50c4bd41 |
16 | <? if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?> |
35a48c9a |
17 | </TD> |
18 | <TD> |
19 | <? print_string("auth_pop3host","auth") ?> |
20 | </TD> |
21 | </TR> |
22 | |
34daec9b |
23 | <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>"> |
35a48c9a |
24 | <TD ALIGN=RIGHT><P>auth_pop3type:</TD> |
25 | <TD> |
26 | <? $pop3types = array("pop3","pop3cert"); |
466558e3 |
27 | foreach($pop3types as $pop3type) { |
28 | $pop3options[$pop3type] = $pop3type; |
29 | } |
30 | choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, ""); |
35a48c9a |
31 | ?> |
35a48c9a |
32 | </TD> |
33 | <TD> |
34 | <? print_string("auth_pop3type","auth") ?> |
35 | </TD> |
36 | </TR> |
37 | |
34daec9b |
38 | <TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>"> |
35a48c9a |
39 | <TD ALIGN=RIGHT><P>auth_pop3port:</TD> |
40 | <TD> |
41 | <INPUT name=auth_pop3port TYPE=text SIZE=6 VALUE="<?=$config->auth_pop3port?>"> |
50c4bd41 |
42 | <? if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?> |
35a48c9a |
43 | </TD> |
44 | <TD> |
45 | <? print_string("auth_pop3port","auth") ?> |
46 | </TD> |
47 | </TR> |
48 | |
49 | <TR VALIGN=TOP> |
34daec9b |
50 | <TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD> |
35a48c9a |
51 | <TD> |
52 | <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA> |
53 | </TD> |
54 | <TD> |
55 | <? print_string("authinstructions","auth") ?> |
56 | <? helpbutton("text", get_string("helptext")) ?> |
57 | </TD> |
58 | </TR> |