Fixed some short tags
[moodle.git] / auth / pop3 / config.html
CommitLineData
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?>
16b8fe5b 12<tr valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
35a48c9a 13 <TD ALIGN=RIGHT><P>auth_pop3host:</TD>
14 <TD>
16b8fe5b 15 <INPUT name=auth_pop3host TYPE=text SIZE=30 VALUE="<?php echo $config->auth_pop3host?>">
16 <?php if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
35a48c9a 17 </TD>
18 <TD>
16b8fe5b 19 <?php print_string("auth_pop3host","auth") ?>
35a48c9a 20 </TD>
21</TR>
22
16b8fe5b 23<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
35a48c9a 24 <TD ALIGN=RIGHT><P>auth_pop3type:</TD>
25 <TD>
16b8fe5b 26 <?php $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>
16b8fe5b 34 <?php print_string("auth_pop3type","auth") ?>
35a48c9a 35 </TD>
36</TR>
37
16b8fe5b 38<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
35a48c9a 39 <TD ALIGN=RIGHT><P>auth_pop3port:</TD>
40 <TD>
16b8fe5b 41 <INPUT name=auth_pop3port TYPE=text SIZE=6 VALUE="<?php echo $config->auth_pop3port?>">
42 <?php if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?>
35a48c9a 43 </TD>
44 <TD>
16b8fe5b 45 <?php print_string("auth_pop3port","auth") ?>
35a48c9a 46 </TD>
47</TR>
48
49<TR VALIGN=TOP>
16b8fe5b 50 <TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
35a48c9a 51 <TD>
16b8fe5b 52 <TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
35a48c9a 53 </TD>
54 <TD>
16b8fe5b 55 <?php print_string("authinstructions","auth") ?>
56 <?php helpbutton("text", get_string("helptext")) ?>
35a48c9a 57 </TD>
58</TR>