2002-12-31 08:45:37 +00:00
|
|
|
<?PHP
|
|
|
|
if (!isset($config->auth_imaphost)) {
|
|
|
|
$config->auth_imaphost = "127.0.0.1";
|
|
|
|
}
|
|
|
|
if (!isset($config->auth_imaptype)) {
|
|
|
|
$config->auth_imaptype = "imap";
|
|
|
|
}
|
|
|
|
if (!isset($config->auth_imapport)) {
|
|
|
|
$config->auth_imapport = "143";
|
|
|
|
}
|
|
|
|
?>
|
2003-09-09 05:37:39 +00:00
|
|
|
<tr valign="top" BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>auth_imaphost:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=auth_imaphost TYPE=text SIZE=30 VALUE="<?php echo $config->auth_imaphost?>">
|
|
|
|
<?php if (isset($err["auth_imaphost"])) formerr($err["auth_imaphost"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_imaphost","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>auth_imaptype:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php $imaptypes = array("imap","imapssl", "imapcert", "imaptls");
|
2002-11-22 08:43:35 +00:00
|
|
|
foreach($imaptypes as $imaptype) {
|
|
|
|
$imapoptions[$imaptype] = $imaptype;
|
|
|
|
}
|
|
|
|
choose_from_menu($imapoptions, "auth_imaptype", $config->auth_imaptype, "");
|
2002-11-19 08:51:33 +00:00
|
|
|
?>
|
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_imaptype","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
2003-09-09 05:37:39 +00:00
|
|
|
<TR VALIGN=TOP BGCOLOR="<?php echo $THEME->cellheading2 ?>">
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD ALIGN=RIGHT><P>auth_imapport:</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<INPUT name=auth_imapport TYPE=text SIZE=6 VALUE="<?php echo $config->auth_imapport?>">
|
|
|
|
<?php if (isset($err["auth_imapport"])) formerr($err["auth_imapport"]); ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("auth_imapport","auth") ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|
|
|
|
|
|
|
|
<TR VALIGN=TOP>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TD ALIGN=RIGHT><P><?php print_string("instructions", "auth") ?>:</TD>
|
2002-11-19 08:51:33 +00:00
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<TEXTAREA NAME=auth_instructions COLS=30 ROWS=10 WRAP=virtual><?php p($config->auth_instructions) ?></TEXTAREA>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
<TD>
|
2003-09-09 05:37:39 +00:00
|
|
|
<?php print_string("authinstructions","auth") ?>
|
|
|
|
<?php helpbutton("text", get_string("helptext")) ?>
|
2002-11-19 08:51:33 +00:00
|
|
|
</TD>
|
|
|
|
</TR>
|