This commit is contained in:
shrutiv%netscape.com 2001-07-21 01:09:27 +00:00
Родитель a6536df8e8
Коммит b612ecaca8
3 изменённых файлов: 53 добавлений и 2 удалений

Просмотреть файл

@ -28,7 +28,7 @@ Caption=2nd level node
Help=Online;%Root%CCKHelp\brandingpage1.html
[Navigation Controls]
onNext=
onNext=IsMailfieldempty()
Help=Branding1_Help.ini
[Image 1666]

Просмотреть файл

@ -28,7 +28,7 @@ Caption=2nd level node
Help=Online;%Root%CCKHelp\brandingpage1.html
[Navigation Controls]
onNext=
onNext=IsNewsfieldempty()
Help=Branding1_Help.ini

Просмотреть файл

@ -603,7 +603,58 @@ BOOL CInterpret::interpret(CString cmds, WIDGET *curWidget)
{
if (!IterateListBox(parms))
return FALSE;
}
else if(strcmp(pcmd, "IsMailfieldempty") ==0)
{
CString ispDomainName = GetGlobal("DomainName");
CString ispPrettyName = GetGlobal("PrettyName");
CString ispLongName = GetGlobal("LongName");
CString ispInServer = GetGlobal("IncomingServer");
CString ispOutServer = GetGlobal("OutgoingServer");
CString ispPortNumber = GetGlobal("PortNumber");
if ((ispDomainName.IsEmpty()) ||
(ispPrettyName.IsEmpty()) ||
(ispLongName.IsEmpty()) ||
(ispInServer.IsEmpty()) ||
(ispOutServer.IsEmpty()) ||
(ispPortNumber.IsEmpty()))
{
if (!((ispDomainName.IsEmpty()) &&
(ispPrettyName.IsEmpty()) &&
(ispLongName.IsEmpty()) &&
(ispInServer.IsEmpty()) &&
(ispOutServer.IsEmpty()) &&
(ispPortNumber.IsEmpty())))
{
AfxMessageBox("All fields must be filled to create a customized mail account", MB_OK);
return FALSE;
}
}
}
else if(strcmp(pcmd, "IsNewsfieldempty") ==0)
{
CString newsDomainName = GetGlobal("nDomainName");
CString newsPrettyName = GetGlobal("nPrettyName");
CString newsLongName = GetGlobal("nLongName");
CString newsServer = GetGlobal("nServer");
CString newsPortNumber = GetGlobal("nPortNumber");
if ((newsDomainName.IsEmpty()) ||
(newsPrettyName.IsEmpty()) ||
(newsLongName.IsEmpty()) ||
(newsServer.IsEmpty()) ||
(newsPortNumber.IsEmpty()))
{
if (!((newsDomainName.IsEmpty()) &&
(newsPrettyName.IsEmpty()) &&
(newsLongName.IsEmpty()) &&
(newsServer.IsEmpty()) &&
(newsPortNumber.IsEmpty())))
{
AfxMessageBox("All fields must be filled to create a customized news account", MB_OK);
return FALSE;
}
}
}
else if(strcmp(pcmd, "IsNumeric") ==0)
{
WIDGET *wid;