mirror of
https://github.com/moodle/moodle.git
synced 2025-02-08 17:11:49 +01:00
74 lines
2.2 KiB
HTML
74 lines
2.2 KiB
HTML
<?php // $Id$
|
|
if (!isset($config->auth_pop3host)) {
|
|
$config->auth_pop3host = "127.0.0.1";
|
|
}
|
|
if (!isset($config->auth_pop3type)) {
|
|
$config->auth_pop3type = "pop3notls";
|
|
}
|
|
if (!isset($config->auth_pop3port)) {
|
|
$config->auth_pop3port = "110";
|
|
}
|
|
if (!isset($config->auth_pop3mailbox)) {
|
|
$config->auth_pop3mailbox = "INBOX";
|
|
}
|
|
?>
|
|
<tr valign="top" class="required">
|
|
<td align="right">auth_pop3host:</td>
|
|
<td>
|
|
<input name="auth_pop3host" type="text" size="30" value="<?php echo $config->auth_pop3host?>" />
|
|
<?php if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
|
|
</td>
|
|
<td>
|
|
<?php print_string("auth_pop3host","auth") ?>
|
|
<?php print_string("auth_multiplehosts","auth") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top" class="required">
|
|
<td align="right">auth_pop3type:</td>
|
|
<td>
|
|
<?php $pop3types = array("pop3","pop3cert", "pop3notls");
|
|
foreach($pop3types as $pop3type) {
|
|
$pop3options[$pop3type] = $pop3type;
|
|
}
|
|
choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, "");
|
|
?>
|
|
</td>
|
|
<td>
|
|
<?php print_string("auth_pop3type","auth") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top" class="required">
|
|
<td align="right">auth_pop3port:</td>
|
|
<td>
|
|
<input name="auth_pop3port" type="text" size="6" value="<?php echo $config->auth_pop3port?>" />
|
|
<?php if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?>
|
|
</td>
|
|
<td>
|
|
<?php print_string("auth_pop3port","auth") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top" class="required">
|
|
<td align="right">auth_pop3mailbox:</td>
|
|
<td>
|
|
<input name="auth_pop3mailbox" type="text" size="6" value="<?php echo $config->auth_pop3mailbox?>" />
|
|
<?php if (isset($err["auth_pop3mailbox"])) formerr($err["auth_pop3mailbox"]); ?>
|
|
</td>
|
|
<td>
|
|
<?php print_string("auth_pop3mailbox","auth") ?>
|
|
</td>
|
|
</tr>
|
|
|
|
<tr valign="top">
|
|
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
|
|
<td>
|
|
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
|
|
</td>
|
|
<td>
|
|
<?php print_string("authinstructions","auth") ?>
|
|
<?php helpbutton("text", get_string("helptext")) ?>
|
|
</td>
|
|
</tr>
|