2004-09-12 01:34:24 +00:00
|
|
|
<?php // $Id$
|
2002-12-31 08:45:37 +00:00
|
|
|
if (!isset($config->auth_pop3host)) {
|
|
|
|
$config->auth_pop3host = "127.0.0.1";
|
|
|
|
}
|
|
|
|
if (!isset($config->auth_pop3type)) {
|
2003-12-05 03:22:34 +00:00
|
|
|
$config->auth_pop3type = "pop3notls";
|
2002-12-31 08:45:37 +00:00
|
|
|
}
|
|
|
|
if (!isset($config->auth_pop3port)) {
|
|
|
|
$config->auth_pop3port = "110";
|
|
|
|
}
|
2004-08-15 17:21:01 +00:00
|
|
|
if (!isset($config->auth_pop3mailbox)) {
|
|
|
|
$config->auth_pop3mailbox = "INBOX";
|
|
|
|
}
|
2002-12-31 08:45:37 +00:00
|
|
|
?>
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
2005-02-08 09:36:21 +00:00
|
|
|
<td align="right">auth_pop3host:</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
<td>
|
|
|
|
<input name="auth_pop3host" type="text" size="30" value="<?php echo $config->auth_pop3host?>" />
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php if (isset($err["auth_pop3host"])) formerr($err["auth_pop3host"]); ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_pop3host","auth") ?>
|
2004-01-16 09:17:20 +00:00
|
|
|
<?php print_string("auth_multiplehosts","auth") ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
2005-02-08 09:36:21 +00:00
|
|
|
<td align="right">auth_pop3type:</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
<td>
|
2003-12-05 03:22:34 +00:00
|
|
|
<?php $pop3types = array("pop3","pop3cert", "pop3notls");
|
2002-11-22 08:43:35 +00:00
|
|
|
foreach($pop3types as $pop3type) {
|
|
|
|
$pop3options[$pop3type] = $pop3type;
|
|
|
|
}
|
|
|
|
choose_from_menu($pop3options, "auth_pop3type", $config->auth_pop3type, "");
|
2002-11-19 08:51:33 +00:00
|
|
|
?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_pop3type","auth") ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
2005-02-08 09:36:21 +00:00
|
|
|
<td align="right">auth_pop3port:</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
<td>
|
|
|
|
<input name="auth_pop3port" type="text" size="6" value="<?php echo $config->auth_pop3port?>" />
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php if (isset($err["auth_pop3port"])) formerr($err["auth_pop3port"]); ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_pop3port","auth") ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2002-11-19 08:51:33 +00:00
|
|
|
|
2005-02-09 12:55:34 +00:00
|
|
|
<tr valign="top" class="required">
|
2005-02-08 09:36:21 +00:00
|
|
|
<td align="right">auth_pop3mailbox:</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
<td>
|
|
|
|
<input name="auth_pop3mailbox" type="text" size="6" value="<?php echo $config->auth_pop3mailbox?>" />
|
2004-08-15 17:21:01 +00:00
|
|
|
<?php if (isset($err["auth_pop3mailbox"])) formerr($err["auth_pop3mailbox"]); ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
<td>
|
2004-08-15 17:21:01 +00:00
|
|
|
<?php print_string("auth_pop3mailbox","auth") ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
2004-08-15 17:21:01 +00:00
|
|
|
|
2004-09-12 01:34:24 +00:00
|
|
|
<tr valign="top">
|
2005-02-08 09:36:21 +00:00
|
|
|
<td align="right"><?php print_string("instructions", "auth") ?>:</td>
|
2004-09-12 01:34:24 +00:00
|
|
|
<td>
|
|
|
|
<textarea name="auth_instructions" cols="30" rows="10" wrap="virtual"><?php p($config->auth_instructions) ?></textarea>
|
|
|
|
</td>
|
|
|
|
<td>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("authinstructions","auth") ?>
|
|
|
|
<?php helpbutton("text", get_string("helptext")) ?>
|
2004-09-12 01:34:24 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|