Fix for bug 90697: Mail and News UI should be updated (r=tao)
Determining whether the POP or IMAP radio button is selected git-svn-id: svn://10.0.0.236/trunk@99542 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
d2e6a382ec
commit
b1110ba9e1
@ -86,13 +86,16 @@ void CreateIspMenu(void)
|
||||
CString ispInServer = GetGlobal("IncomingServer");
|
||||
CString ispOutServer = GetGlobal("OutgoingServer");
|
||||
CString ispPortNumber = GetGlobal("PortNumber");
|
||||
CString serverType = GetGlobal("Serverlist");
|
||||
if (serverType == "POP")
|
||||
CString serverType;
|
||||
// Determine whether the server type is POP or IMAP
|
||||
CString pop = GetGlobal("pop");
|
||||
if (pop == "1")
|
||||
serverType = "pop3";
|
||||
if (serverType == "IMAP")
|
||||
else
|
||||
serverType = "imap";
|
||||
CString popMessage = GetGlobal("PopMessages");
|
||||
if (popMessage == "0") // check if "leave messages on server" option is set
|
||||
// check if "leave pop messages on server" option is set
|
||||
if (popMessage == "0")
|
||||
popMessage = "false";
|
||||
else if (popMessage == "1")
|
||||
popMessage = "true";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user