if ($mf_sn<1) $mf_sn=0;
if (!isset($mf_server)) return;
setPref($data_dir,$username,"mailfetch_server_$mf_sn", (isset($mf_server)?$mf_server:""));
- setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:'110'));
+ setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:110));
setPref($data_dir,$username,"mailfetch_alias_$mf_sn", (isset($mf_alias)?$mf_alias:""));
setPref($data_dir,$username,"mailfetch_user_$mf_sn",(isset($mf_user)?$mf_user:""));
setPref($data_dir,$username,"mailfetch_pass_$mf_sn",(isset($mf_pass)?encrypt( $mf_pass ) :""));
//modify a server
if (!isset($mf_server)) return;
setPref($data_dir,$username,"mailfetch_server_$mf_sn", (isset($mf_server)?$mf_server:""));
- setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:'110'));
+ setPref($data_dir,$username,"mailfetch_port_$mf_sn", (isset($mf_port)?$mf_port:110));
setPref($data_dir,$username,"mailfetch_alias_$mf_sn", (isset($mf_alias)?$mf_alias:""));
setPref($data_dir,$username,"mailfetch_user_$mf_sn",(isset($mf_user)?$mf_user:""));
setPref($data_dir,$username,"mailfetch_pass_$mf_sn",(isset($mf_pass)?encrypt( $mf_pass ) :""));
) .
html_tag( 'tr',
html_tag( 'th', _("Port:"), 'right') .
- html_tag( 'td', '<input type=text name=mf_port value="" size=20', 'left')
+ html_tag( 'td', '<input type=text name=mf_port value="110" size=20', 'left')
) .
html_tag( 'tr',
html_tag( 'th', _("Alias:"), 'right' ) .