SF bug #412383 & patch #413729 - Fixed POP-3 not having the users password and port number if in there preferences

This commit is contained in:
jengo 2001-04-09 11:45:01 +00:00
parent dfd7588b76
commit 1e762b6565
3 changed files with 6 additions and 6 deletions

View File

@ -1093,7 +1093,7 @@
{
$prefs['email']['mail_port'] = '143';
}
elseif ($prefs['mail']['mail_server_type']=='pop3')
elseif ($prefs['email']['mail_server_type']=='pop3')
{
$prefs['email']['mail_port'] = '110';
}

View File

@ -202,14 +202,14 @@ function diableSelection ()
* @return string html code for the matrix
*/
function out ()
function out($form_link)
{
// get days of desired month (month submitted in constructor)
$in = getdate(mktime(0,0,0, $this->month+1,0,$this->year));
$this->sumdays = $in[mday];
$this->monthname = $in[month];
$this->out_monthyear();
$this->out_monthyear($form_link);
echo "<div align=\"center\">\n";
echo "<table border=0>\n";
@ -286,11 +286,11 @@ function out_ruler ()
*
*/
function out_monthyear ()
function out_monthyear($form_link)
{
global $phpgw;
echo "<form action=\"" . $phpgw->link() . "\" method=\"post\">\n";
echo "<form action=\"" . $form_link . "\" method=\"post\">\n";
echo "<table border=0 width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">";
echo "<tr>\n";
echo "<td align=\"center\"><h2>"; echo $this->monthname; echo " "; echo $this->year; echo "</h2></td>\n";

View File

@ -88,7 +88,7 @@
'nextmatchs' => 'nextmatchs.tpl'
));
$tpl->set_var('form_action',$phpgw->link($sn));
$tpl->set_var('form_action',$phpgw->link($sn, $extra));
$tpl->set_var('filter_value',$filter);
$tpl->set_var('qfield_value',$qfield);
$tpl->set_var('start_value',$start);