mirror of
https://github.com/moodle/moodle.git
synced 2025-01-22 16:18:24 +01:00
50c4bd4145
Also, database module now supports md5 passwords
59 lines
1.7 KiB
HTML
59 lines
1.7 KiB
HTML
<?PHP
|
|
if (!isset($config->auth_pop3host)) {
|
|
$config->auth_pop3host = "127.0.0.1";
|
|
}
|
|
if (!isset($config->auth_pop3type)) {
|
|
$config->auth_pop3type = "pop3";
|
|
}
|
|
if (!isset($config->auth_pop3port)) {
|
|
$config->auth_pop3port = "110";
|
|
}
|
|
?>
|
|
<tr valign="top" BGCOLOR="<?=$THEME->cellheading2 ?>">
|
|
<TD ALIGN=RIGHT><P>auth_pop3host:</TD>
|
|
<TD>
|
|
<INPUT name=auth_pop3host TYPE=text SIZE=30 VALUE="<?=$config->auth_pop3host?>">
|
|
<? if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
|
|
</TD>
|
|
<TD>
|
|
<? print_string("auth_pop3host","auth") ?>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
|
|
<TD ALIGN=RIGHT><P>auth_pop3type:</TD>
|
|
<TD>
|
|
<? $pop3types = array("pop3","pop3cert");
|
|
foreach($pop3types as $pop3type) {
|
|
$pop3options[$pop3type] = $pop3type;
|
|
}
|
|
choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, "");
|
|
?>
|
|
</TD>
|
|
<TD>
|
|
<? print_string("auth_pop3type","auth") ?>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN=TOP BGCOLOR="<?=$THEME->cellheading2 ?>">
|
|
<TD ALIGN=RIGHT><P>auth_pop3port:</TD>
|
|
<TD>
|
|
<INPUT name=auth_pop3port TYPE=text SIZE=6 VALUE="<?=$config->auth_pop3port?>">
|
|
<? if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?>
|
|
</TD>
|
|
<TD>
|
|
<? print_string("auth_pop3port","auth") ?>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR VALIGN=TOP>
|
|
<TD ALIGN=RIGHT><P><? print_string("instructions", "auth") ?>:</TD>
|
|
<TD>
|
|
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><? p($config->auth_instructions) ?></TEXTAREA>
|
|
</TD>
|
|
<TD>
|
|
<? print_string("authinstructions","auth") ?>
|
|
<? helpbutton("text", get_string("helptext")) ?>
|
|
</TD>
|
|
</TR>
|