This commit is contained in:
selmer 1998-04-09 04:11:30 +00:00
Родитель eedf70b6f9
Коммит f664dcea33
406 изменённых файлов: 63550 добавлений и 0 удалений

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

@ -0,0 +1,71 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="1step.js"></SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js"></LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="1step100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM TARGET="_parent" METHOD="post">
<P CLASS="title"><B>Connecting to the Internet <BR>account server...</B></P>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH=500>
<TR>
<TD ALIGN=LEFT VALIGN=TOP>
<!-- The following values are set via JavaScript -->
<INPUT NAME="CST_PHONE_NUMBER" TYPE="hidden">
<INPUT NAME="CST_AREA_CODE_1" TYPE="hidden">
<INPUT NAME="CST_AREA_CODE_2" TYPE="hidden">
<INPUT NAME="CST_AREA_CODE_3" TYPE="hidden">
<INPUT NAME="CST_AREA_CODE_4" TYPE="hidden">
<INPUT NAME="CLIENT_LANGUAGE" TYPE="hidden">
<INPUT NAME="REG_SOURCE" TYPE="hidden">
</TD>
</TR>
</TABLE>
</FORM>
<SPACER TYPE=HORIZONTAL SIZE=42>
<APPLET ARCHIVE="asw.jar" CODE="CPGeneratorProgress.class" HEIGHT=140 WIDTH=400></APPLET>
</BODY>
</HTML>

270
cmd/dialup/as_html/1step.js Normal file
Просмотреть файл

@ -0,0 +1,270 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go( msg )
{
if ( parent.parent.globals.document.vars.editMode.value == "yes" )
return true;
else
return checkData();
}
function checkData()
{
return true;
}
function loadData()
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if ( parent.controls.generateControls )
parent.controls.generateControls();
// ¥ only connect to reggie if editmode is off
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
{
var connectStatusFlag = parent.parent.globals.document.setupPlugin.IsDialerConnected();
if ( connectStatusFlag == true )
{
if ( confirm( "Account Setup can't connect until you close your current connection. Close the connection now?" ) == false )
{
return;
}
parent.parent.globals.document.setupPlugin.DialerHangup();
}
var theFolder = parent.parent.globals.getConfigFolder( self );
var theFile = parent.parent.globals.getAcctSetupFilename( self );
var theRegFile = theFolder + parent.parent.globals.document.vars.regServer.value;
var intlFlag = parent.parent.globals.GetNameValuePair( theFile, "Mode Selection", "IntlMode" );
intlFlag = intlFlag.toLowerCase();
// ¥ determine name of scripting file
var scriptEnabledFlag = "FALSE";
var theScriptFile = parent.parent.globals.GetNameValuePair( theRegFile, "Dial-In Configuration", "ScriptFileName" );
if ( theScriptFile != null && theScriptFile != "" )
{
theScriptFile = theFolder + theScriptFile;
scriptEnabledFlag = "TRUE";
}
else
{
theScriptFile = "";
scriptEnabledFlag = "FALSE";
}
// ¥ determine tty
var ttyFlag = parent.parent.globals.GetNameValuePair( theRegFile, "Security", "SecurityDevice" );
ttyFlag = ttyFlag.toLowerCase();
if ( ttyFlag == "yes" )
{
ttyFlag = "TRUE";
}
else
{
ttyFlag = "FALSE";
}
// ¥ determine outside line access string
var outsideLineAccessStr = "";
if ( parent.parent.globals.document.vars.prefixData.value != "" )
{
outsideLineAccessStr = parent.parent.globals.document.vars.prefixData.value;
x = outsideLineAccessStr.indexOf( "," );
if ( x < 0 )
outsideLineAccessStr = outsideLineAccessStr + ",";
}
// ¥ configure dialer for Registration Server
dialerData = parent.parent.globals.document.setupPlugin.newStringArray( 28 ); // increment this # as new dialer strings are added
dialerData[ 0 ] = "FileName=" + theRegFile;
dialerData[ 1 ] = "AccountName=" + parent.parent.globals.GetNameValuePair( theRegFile, "Dial-In Configuration", "SiteName" );
dialerData[ 2 ] = "ISPPhoneNum=" + parent.parent.globals.GetNameValuePair( theRegFile, "Dial-In Configuration", "Phone" );
dialerData[ 3 ] = "LoginName=" + parent.parent.globals.GetNameValuePair( theRegFile, "Dial-In Configuration", "Name" );
dialerData[ 4 ] = "Password=" + parent.parent.globals.GetNameValuePair( theRegFile, "Dial-In Configuration", "Password" );
dialerData[ 5 ] = "DNSAddress=" + parent.parent.globals.GetNameValuePair( theRegFile, "IP", "DNSAddress" );
dialerData[ 6 ] = "DNSAddress2=" + parent.parent.globals.GetNameValuePair( theRegFile, "IP", "DNSAddress2" );
dialerData[ 7 ] = "DomainName=" + parent.parent.globals.GetNameValuePair( theRegFile, "IP", "DomainName" );
dialerData[ 8 ] = "IPAddress=" + parent.parent.globals.GetNameValuePair( theRegFile, "IP", "IPAddress" );
dialerData[ 9 ] = "IntlMode=" + ( ( intlFlag == "yes" ) ? "TRUE" : "FALSE" );
dialerData[ 10 ] = "DialOnDemand=TRUE";
dialerData[ 11 ] = "ModemName=" + parent.parent.globals.document.vars.modem.value;
dialerData[ 12 ] = "ModemType=" + parent.parent.globals.document.setupPlugin.GetModemType( parent.parent.globals.document.vars.modem.value );
dialerData[ 13 ] = "DialType=" + parent.parent.globals.document.vars.dialMethod.value;
dialerData[ 14 ] = "OutsideLineAccess=" + outsideLineAccessStr;
dialerData[ 15 ] = "DisableCallWaiting=" + ( ( parent.parent.globals.document.vars.cwData.value != "" ) ? "TRUE" : "FALSE" );
dialerData[ 16 ] = "DisableCallWaitingCode=" + parent.parent.globals.document.vars.cwData.value;
dialerData[ 17 ] = "UserAreaCode=" + parent.parent.globals.document.vars.modemAreaCode.value; // XXX what to do if international mode?
dialerData[ 18 ] = "CountryCode=" + parent.parent.globals.document.vars.countryCode.value;
dialerData[ 19 ] = "LongDistanceAccess=1"; // XXX
dialerData[ 20 ] = "DialAsLongDistance=TRUE"; // XXX
dialerData[ 21 ] = "DialAreaCode=TRUE"; // XXX
dialerData[ 22 ] = "ScriptEnabled=" + scriptEnabledFlag;
dialerData[ 23 ] = "ScriptFileName=" + theScriptFile;
dialerData[ 24 ] = "NeedsTTYWindow=" + ttyFlag;
dialerData[ 25 ] = "Location=Home";
dialerData[ 26 ] = "DisconnectTime=" + parent.parent.globals.GetNameValuePair( theFile, "Mode Selection", "Dialer_Disconnect_After" );
dialerData[ 27 ] = "Path=Server";
// ¥ write out dialer data to Java Console
if ( parent.parent.globals.document.vars.debugMode.value.toLowerCase() == "yes" )
{
parent.parent.globals.debug( "\nDialer data (for Registration Server): " );
var numElements = dialerData.length;
for ( var x = 0; x < numElements; x++ )
{
parent.parent.globals.debug( " " + x + ": " + dialerData[ x ] );
}
}
// ¥ configure the dialer
parent.parent.globals.document.setupPlugin.DialerConfig( dialerData, true );
// ¥ check if we need to reboot
if ( parent.parent.globals.document.setupPlugin.NeedReboot() == true )
{
parent.parent.globals.forceReboot( "1step.htm" ); // XXX hardcode in name of next screen???
return;
}
if ( parent.parent.globals.document.setupPlugin.DialerConnect() == false )
{
parent.parent.globals.document.setupPlugin.DialerHangup();
window.location.replace( "error.htm" ); // XXX hardcode in name of next screen???
return;
}
// get registration server reference
/*
var theFolder = parent.parent.globals.getConfigFolder(self);
var theRegFile = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","RegServer");
var theRegServer = "";
if (theRegFile == null || theRegFile == "") {
theRegFile = parent.parent.globals.document.vars.regServer.value;
}
if (theRegFile == null || theRegFile == "") {
alert("Internal problem determining the Registration Server.");
return;
}
theRegFile = theFolder + theRegFile;
*/
theRegServer = parent.parent.globals.GetNameValuePair( theRegFile, "IP", "RegCGI" );
if ( theRegServer == null || theRegServer == "" )
{
alert( "Internal problem determining the Registration Server." );
}
// the following values are commented out as the values are set in HTML
/*
document.forms[0].RS_FORM_TYPE.value = "custinfo";
document.forms[0].REG_SETUP_NAME.value = "Account Setup";
document.forms[0].REG_SIGNUP_VERSION.value = "4.0";
document.forms[0].REG_SCRIPTING.value = "Yes";
document.forms[0].REG_SOURCE.value = "test";
document.forms[0].REG_CHANNEL.value = "";
*/
// ¥ fill out custinfo form elements, then submit
document.forms[ 0 ].CST_PHONE_NUMBER.value = parent.parent.globals.document.vars.modemPhoneNumber.value;
document.forms[ 0 ].CST_AREA_CODE_1.value = parent.parent.globals.document.vars.modemAreaCode.value;
document.forms[ 0 ].CST_AREA_CODE_2.value = parent.parent.globals.document.vars.altAreaCode1.value;
document.forms[ 0 ].CST_AREA_CODE_3.value = parent.parent.globals.document.vars.altAreaCode2.value;
document.forms[ 0 ].CST_AREA_CODE_4.value = parent.parent.globals.document.vars.altAreaCode3.value;
document.forms[ 0 ].CLIENT_LANGUAGE.value = navigator.language;
document.forms[ 0 ].REG_SOURCE.value = "APL";
//document.forms[ 0 ].action = theRegServer;
// // ¥ for win32 platforms make sure we don't get ISP's with scripting
// if ( ( thePlatform == "WIN95" ) || ( thePlatform == "WINNT" ) )
// {
// document.forms[ 0 ].REG_SCRIPTING.value = "No";
// }
// // ¥ declare animation support for appropriate platform
// if ( thePlatform == "Macintosh" )
// {
// document.forms[ 0 ].AS_MAC_ANIMATION_SUPPORT.value = "YES";
// document.forms[ 0 ].AS_WIN_ANIMATION_SUPPORT.value = "NO";
// }
// else
// {
// document.forms[ 0 ].AS_MAC_ANIMATION_SUPPORT.value = "NO";
// document.forms[ 0 ].AS_WIN_ANIMATION_SUPPORT.value = "YES";
// }
// ¥ write out reggie data to Java Console
if ( parent.parent.globals.document.vars.debugMode.value.toLowerCase() == "yes" )
{
parent.parent.globals.debug( "\nRegServer data: " + document.forms[ 0 ].action );
var numElements = document.forms[ 0 ].length;
for ( var x = 0; x < document.forms[ 0 ].length; x++ )
{
parent.parent.globals.debug( " " + x + ": " + document.forms[ 0 ].elements[ x ].name + "=" + document.forms[ 0 ].elements[ x ].value );
}
}
// ¥ submit reggie data
navigator.preference( "security.warn_submit_insecure", false );
navigator.preference( "security.warn_entering_secure", false );
navigator.preference( "security.warn_leaving_secure", false );
// ¥ automatically submit form to registration server
//document.forms[ 0 ].submit();
reggieData = parent.parent.globals.document.setupPlugin.newStringArray( 7 ); // increment this # as new dialer strings are added
reggieData[ 0 ] = "CST_PHONE_NUMBER=" + parent.parent.globals.document.vars.modemPhoneNumber.value;
reggieData[ 1 ] = "REG_SOURCE=" + "APL";
reggieData[ 2 ] = "CLIENT_LANGUAGE=" + navigator.language;
reggieData[ 3 ] = "CST_AREA_CODE_1=" + parent.parent.globals.document.vars.modemAreaCode.value;
reggieData[ 4 ] = "CST_AREA_CODE_2=" + parent.parent.globals.document.vars.altAreaCode1.value;
reggieData[ 5 ] = "CST_AREA_CODE_3=" + parent.parent.globals.document.vars.altAreaCode2.value;
reggieData[ 6 ] = "CST_AREA_CODE_4=" + parent.parent.globals.document.vars.altAreaCode3.value;
parent.parent.globals.setRegisterMode( 1 );
if ( parent.parent.globals.document.setupPlugin.GenerateComparePage( "https://reggie.netscape.com/IAS5/docs/reg.cgi", reggieData ) == true )
window.location.replace( "compare.html" );
else
window.location.replace( "error.htm" );
}
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,134 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="aboutbox.js">
</SCRIPT>
</HEAD>
<BODY BGCOLOR=EEEEEE onLoad="loadData()" ID="aboutbox100">
<LAYER NAME="programName" VISIBILITY=hidden LEFT=-100 TOP=0 HEIGHT=100 WIDTH=100>
<TABLE BORDER=0 WIDTH="100%">
<TR>
<TD ALIGN=center VALIGN=top><STRONG>Account Setup</STRONG><BR>4.0</TD>
</TR>
</TABLE>
</LAYER>
<LAYER NAME="programDesc" VISIBILITY=hidden LEFT=250 TOP=-100 HEIGHT=100 WIDTH=100>
<TABLE BORDER=0 WIDTH="100%">
<TR>
<TD ALIGN=center VALIGN=top><STRONG>Internet<BR>Signup<BR>Program</STRONG></TD>
</TR>
</TABLE>
</LAYER>
<LAYER NAME="programCopyRight" VISIBILITY=hidden LEFT=740 TOP=0 HEIGHT=100 WIDTH=200>
<TABLE BORDER=0 WIDTH="100%">
<TR>
<TD ALIGN=center VALIGN=top>Copyright &copy 1996, 1997<BR>Netscape Communications Corp.<BR>All Rights Reserved.</TD>
</TR>
</TABLE>
</LAYER>
<LAYER NAME="ProgramThanks" VISIBILITY=hidden LEFT=10 TOP=480 WIDTH=580>
<CENTER>Brought to you by:</CENTER>
<BR>
<TABLE BORDER=0 WIDTH="100%" BGCOLOR=CCCCCC>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Client Engineering</STRONG></TD>
<TD>Robert John Churchill, Rex Lam, Tim McClarren, Arshad Tayyeb, Cathleen Wang, Stella Yun</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>FreePPP</STRONG></TD>
<TD>Steve Dagley</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Server Engineering</STRONG></TD>
<TD>Steve Elmer, Lucy Wu</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Documentation/Help</STRONG></TD>
<TD>Dirk Dougherty, Robin Foster, Kate O'Day</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>User Experience</STRONG></TD>
<TD>Jim Corban, Valerie Hunter</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Kwality Assurance</STRONG></TD>
<TD>Aracely Areas, John Bennett, Bruce Gay, Sarah Groves, Vashti Holt, Brent Martin, Dylan Shea, John Unruh, Pascal Vin</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Release Engineering</STRONG></TD>
<TD>Don Bragg, Doug Turner, Chris Yeh</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>International</STRONG></TD>
<TD>David Yett</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Management</STRONG></TD>
<TD>Leland Hambley, Nancy Wang, Monique Barbanson</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Marketing</STRONG></TD>
<TD>Ken Hickman, Debra Evans, John Freeborg, Julie Herendeen</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Thanks!</STRONG></TD>
<TD>The entire Communicator team!</TD>
</TR>
<TR>
<TD ALIGN=center VALIGN=middle><STRONG>Thank Goodness for...</STRONG></TD>
<TD>Mountain Dew!</TD>
</TR>
</TABLE>
</CENTER>
</LAYER>
<LAYER NAME="NetscapeIcon" VISIBILITY=hidden LEFT=250 TOP=90 WIDTH=100 HEIGHT=50>
<CENTER>
<IMG SRC="images/netscape.gif" WIDTH=32 HEIGHT=32 BORDER=0><BR>
<LAYER NAME="NetscapeString" VISIBILITY=hidden LEFT=16>
Go Netscape!
</LAYER>
</CENTER>
</LAYER>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,113 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go( msg )
{
if ( msg=="Back" )
return true;
return false;
}
function checkData()
{
return true;
}
function loadData()
{
if ( parent && parent.controls && parent.controls.generateControls )
{
parent.controls.generateControls();
}
document.layers[ "programName" ].visibility = "SHOW";
animate1();
}
function saveData()
{
}
function animate1()
{
if ( document.layers[ "programName" ].left < 100 )
{
document.layers[ "programName" ].moveBy( 10, 0 );
setTimeout( "animate1()", 100 );
}
else
{
document.layers[ "programDesc" ].visibility = "SHOW";
animate2();
}
}
function animate2()
{
if ( document.layers[ "programDesc" ].top < 0 )
{
document.layers[ "programDesc" ].moveBy( 0, 10 );
setTimeout( "animate2()", 100 );
}
else
{
document.layers[ "programCopyRight" ].visibility = "SHOW";
animate3();
}
}
function animate3()
{
if ( document.layers[ "programCopyRight" ].left > 380 )
{
document.layers[ "programCopyRight" ].moveBy( -10, 0);
setTimeout( "animate3()", 100 );
}
else
{
document.layers[ "NetscapeIcon" ].visibility = "SHOW";
document.layers[ "ProgramThanks" ].visibility = "SHOW";
animate4();
}
}
function animate4()
{
if ( document.layers[ "ProgramThanks" ].top > 50 )
{
document.layers[ "NetscapeIcon" ].moveBy( 0, 5 );
document.layers[ "ProgramThanks" ].moveBy( 0, -10 );
setTimeout( "animate4()", 100 );
}
else
{
document.layers[ "NetscapeIcon" ].document.layers[ "NetscapeString" ].visibility = "SHOW";
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,104 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="accounts.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" ONLOAD="loadData()" ID="accounts100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Welcome to Account Setup</B></P>
<!-- ÇSPACER TYPE=VERTICAL SIZE=16È -->
<P>Please click one of the buttons below to choose whether you would like to create a new Internet account or set up Communicator to access an account that you already have.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" WIDTH="500">
<TR>
<TD ALIGN=LEFT VALIGN="TOP" WIDTH="66" HEIGHT="54" ALIGN="LEFT">
<A HREF="about:blank" ONCLICK="document.images['new'].src='images/str_dn.gif'; setPath('New Path'); return false" ONMOUSEOVER="document.images['new'].src='images/str_mo.gif'" ONMOUSEOUT="document.images['new'].src='images/start.gif'" ID="accounts101">
<IMG NAME="new" SRC="images/start.gif" LOWSRC="images/str_dn.gif" BORDER=0 HEIGHT=53 WIDTH=54></A>
</TD>
<TD ALIGN=LEFT WIDTH="358" VALIGN="TOP" CLASS="accounts">
<B>I want to create a new Internet account.</B>
<SPACER TYPE=VERTICAL SIZE=4>
If you're new to the Internet, Account Setup helps you create an Internet account that you can use right away. You can also choose this option if you want to create a second Internet account or change your Internet service provider.
</TD>
</TR>
<TR>
<TD><SPACER TYPE=VERTICAL SIZE=16>
</TD>
</TR>
<TR>
<TD ALIGN="LEFT" VALIGN="TOP" WIDTH="66" HEIGHT="54" ALIGN="LEFT">
<A HREF="about:blank" ONCLICK="document.images['existing'].src='images/str_dn.gif'; setPath('Existing Path'); return false" ONMOUSEOVER="document.images['existing'].src='images/str_mo.gif'" ONMOUSEOUT="document.images['existing'].src='images/start.gif'" ID="accounts102">
<IMG NAME="existing" SRC="images/start.gif" LOWSRC="images/str_dn.gif" BORDER=0 HEIGHT=53 WIDTH=54></A>
</TD>
<TD ALIGN="LEFT" WIDTH="358" VALIGN="TOP" CLASS="accounts">
<B>I already have an Internet account. I want to set up Communicator to access my account.</B>
<SPACER TYPE=VERTICAL SIZE=4>
If you already have an Internet account with an Internet service provider, Account Setup helps you quickly set up Communicator to access your account.
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,67 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (msg == parent.parent.globals.document.vars.path.value) {
return(true);
}
return(false);
}
function doGo()
{
parent.controls.go("Next");
}
function setPath(msg)
{
parent.parent.globals.document.vars.path.value = msg;
setTimeout("doGo()",1);
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,120 @@
<!-- -*- Mode: HTML; tab-width: 2; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="acctInfo.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="acctInfo100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Information About Yourself</B></P>
<P>Please enter your name and, optionally, you organization name below. Account Setup sets Communicator to add this information to the email you send and the web pages you create. </P>
<CENTER>
<TABLE CELLPADDING="3" CELLSPACING="0" border="0" WIDTH=100>
<TR>
<TD></TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">
First:
</TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">
Last:
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">
<B>Name:</B>
<spacer type=vertical size=2>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" CLASS="tabletext">
<INPUT NAME="first" TYPE="text" SIZE=25 MAXLENGTH=30>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" CLASS="tabletext">
<INPUT NAME="last" TYPE="text" SIZE=26 MAXLENGTH=30>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">
<B>Organization:</B>
<spacer type=vertical size=2>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2" CLASS="tabletext">
<INPUT NAME="company" TYPE="text" SIZE=54 MAXLENGTH=30>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,107 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go()
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (document.forms[0].first.value == "") {
alert("You must enter a first name.");
document.forms[0].first.focus();
document.forms[0].first.select();
return false;
}
if (document.forms[0].last.value == "") {
alert("You must enter a last name.");
document.forms[0].last.focus();
document.forms[0].last.select();
return false;
}
/*
if (document.forms[0].areaCode.value == "") {
alert("You must enter an area code.");
document.forms[0].areaCode.focus();
document.forms[0].areaCode.select();
return false;
}
if (document.forms[0].phoneNumber.value == "") {
alert("You must enter a telephone number.");
document.forms[0].phoneNumber.focus();
document.forms[0].phoneNumber.select();
return false;
}
*/
return true;
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].first == "undefined") || (document.forms[0].first == "[object InputArray]")) ||
((document.forms[0].last == "undefined") || (document.forms[0].last == "[object InputArray]")) ||
((document.forms[0].company == "undefined") || (document.forms[0].company == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].first.value = parent.parent.globals.document.vars.first.value;
document.forms[0].last.value = parent.parent.globals.document.vars.last.value;
document.forms[0].company.value = parent.parent.globals.document.vars.company.value;
// document.forms[0].areaCode.value = parent.parent.globals.document.vars.areaCode.value;
// document.forms[0].phoneNumber.value = parent.parent.globals.document.vars.phoneNumber.value;
parent.parent.globals.setFocus(document.forms[0].first);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].first == "undefined") || (document.forms[0].first == "[object InputArray]")) ||
((document.forms[0].last == "undefined") || (document.forms[0].last == "[object InputArray]")) ||
((document.forms[0].company == "undefined") || (document.forms[0].company == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.first.value = document.forms[0].first.value;
parent.parent.globals.document.vars.last.value = document.forms[0].last.value;
parent.parent.globals.document.vars.company.value = document.forms[0].company.value;
// parent.parent.globals.document.vars.areaCode.value = document.forms[0].areaCode.value;
// parent.parent.globals.document.vars.phoneNumber.value = document.forms[0].phoneNumber.value;
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,175 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="billing.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="billing100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Your Billing Information</B></P>
<P>Internet accounts are paid for by credit card. Please provide information about the credit card that you would like to use for billing. Account Setup forwards this information to your provider when you create your account. </P>
<CENTER>
<TABLE CELLPADDING="2" CELLSPACING="0" border="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>Name on Card:</B>
<spacer type=vertical size=2>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<INPUT NAME="cardname" TYPE="text" SIZE=30 MAXLENGTH=30>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=6>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>Type of Card:</B>
<spacer type=vertical size=4>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<SELECT NAME="cards">
<SCRIPT LANGUAGE="JavaScript" ID="billing101">
generateCards();
</SCRIPT>
</SELECT>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=3>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<spacer type=vertical size=6>
<B>Card Number:</B>
<spacer type=vertical size=2>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<spacer type=vertical size=4>
<INPUT NAME="cardnumber" TYPE="text" SIZE=25 MAXLENGTH=25>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=6>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>Expiration Date:</B>
<spacer type=vertical size=4>
</FONT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<SELECT NAME="month">
<OPTION VALUE="January">January
<OPTION VALUE="February">February
<OPTION VALUE="March">March
<OPTION VALUE="April">April
<OPTION VALUE="May">May
<OPTION VALUE="June">June
<OPTION VALUE="July">July
<OPTION VALUE="August">August
<OPTION VALUE="September">September
<OPTION VALUE="October">October
<OPTION VALUE="November">November
<OPTION VALUE="December">December
</SELECT>
<spacer type=horizontal size=2>
<SELECT NAME="year">
<OPTION VALUE="1997">1997
<OPTION VALUE="1998">1998
<OPTION VALUE="1999">1999
<OPTION VALUE="2000">2000
<OPTION VALUE="2001">2001
<OPTION VALUE="2002">2002
<OPTION VALUE="2003">2003
<OPTION VALUE="2004">2004
</SELECT>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,319 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function generateCards()
{
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theCards = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","CardTypes");
if (theCards == null || theCards == "") {
theCards = "AX,DC,MC,VI";
}
if (theCards.indexOf("AX")>=0) {
document.writeln("<OPTION VALUE='American Express'>American Express");
}
if (theCards.indexOf("DC")>=0) {
document.writeln("<OPTION VALUE='Discover Card'>Discover Card");
}
if (theCards.indexOf("MC")>=0) {
document.writeln("<OPTION VALUE='MasterCard'>MasterCard");
}
if (theCards.indexOf("VI")>=0) {
document.writeln("<OPTION VALUE='VISA'>VISA");
}
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].cardname == "undefined") || (document.forms[0].cardname == "[object InputArray]")) ||
((document.forms[0].cards == "undefined") || (document.forms[0].cards == "[object InputArray]")) ||
((document.forms[0].cardnumber == "undefined") || (document.forms[0].cardnumber == "[object InputArray]")) ||
((document.forms[0].month == "undefined") || (document.forms[0].month == "[object InputArray]")) ||
((document.forms[0].year == "undefined") || (document.forms[0].year == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].cardname.value = parent.parent.globals.document.vars.cardname.value;
if (document.forms[0].cardname.value == "") {
document.forms[0].cardname.value = parent.parent.globals.document.vars.first.value + " " + parent.parent.globals.document.vars.last.value;
}
for (var i = 0; i<document.forms[0].cards.length; i++) {
if (parent.parent.globals.document.vars.cardtype.value == document.forms[0].cards[i].value) {
document.forms[0].cards.selectedIndex = i;
break;
}
}
document.forms[0].cardnumber.value = parent.parent.globals.document.vars.cardnumber.value;
var month = parent.parent.globals.document.vars.month.value;
if (month == "") month = 0;
document.forms[0].month.selectedIndex = month;
var found = false;
var year = parent.parent.globals.document.vars.year.value;
// if (year == "") year = document.forms[0].year[0].value;
for (var i = 0; i<document.forms[0].year.length; i++) {
if (year == document.forms[0].year[i].value) {
document.forms[0].year.selectedIndex = i;
found = true;
break;
}
}
if (found == false) {
document.forms[0].year.selectedIndex = 0;
}
parent.parent.globals.setFocus(document.forms[0].cardname);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].cardname == "undefined") || (document.forms[0].cardname == "[object InputArray]")) ||
((document.forms[0].cards == "undefined") || (document.forms[0].cards == "[object InputArray]")) ||
((document.forms[0].cardnumber == "undefined") || (document.forms[0].cardnumber == "[object InputArray]")) ||
((document.forms[0].month == "undefined") || (document.forms[0].month == "[object InputArray]")) ||
((document.forms[0].year == "undefined") || (document.forms[0].year == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.cardname.value = document.forms[0].cardname.value;
if (document.forms[0].cards.length>0 && document.forms[0].cards.selectedIndex >=0) {
parent.parent.globals.document.vars.cardtype.value = document.forms[0].cards[document.forms[0].cards.selectedIndex].value;
}
else {
parent.parent.globals.document.vars.cardtype.value="";
}
parent.parent.globals.document.vars.cardnumber.value = document.forms[0].cardnumber.value;
parent.parent.globals.document.vars.month.value = document.forms[0].month.selectedIndex;
parent.parent.globals.document.vars.year.value = document.forms[0].year[document.forms[0].year.selectedIndex].value;
}
function checkData()
{
if (document.forms[0].cardname.value == "") {
alert("You must enter a cardholder name.");
document.forms[0].cardname.focus();
document.forms[0].cardname.select();
return false;
}
if (document.forms[0].cardnumber.value == "") {
alert("You must enter a credit card number.");
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return false;
}
// check cardnumber validity here
var cardNumber=document.forms[0].cardnumber.value;
for (var i=0; i<cardNumber.length; i++) {
if ("1234567890 -".indexOf(cardNumber.substring(i,i+1)) == -1) {
alert("'" + cardNumber + "' is not a valid card number.");
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return(false);
}
}
// do cardnumber check-digit validity here
var length=cardNumber.length;
var checkDigit=cardNumber.substring(length-1,length);
var tempCardNumber="";
for (var i=0; i<cardNumber.length; i++) {
if ("1234567890".indexOf(cardNumber.substring(i,i+1))>=0) {
tempCardNumber+=cardNumber.substring(i,i+1);
}
}
var length=tempCardNumber.length;
var checkSum=0;
for (var i=0; i<length-1; i++) {
var digit=tempCardNumber.substring(length-i-2,length-i-1);
var temp=digit * (1+((i+1)%2));
if (temp<10) checkSum=checkSum+temp;
else checkSum=checkSum+(temp-9);
}
checkSum=(10-(checkSum%10))%10;
if (checkSum != checkDigit) {
alert("'" + cardNumber + "' is not a valid card number.");
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return(false);
}
// do cardtype check
var cardType="";
if (cardNumber.substring(0,1)=="3" && cardNumber.substring(1,2)=="7") {
cardType="American Express";
cardCode="AX";
}
/*
else if (cardNumber.substring(0,1)=="5" && cardNumber.substring(1,2)=="6") {
cardType="BankCard";
cardCode="BC";
}
*/
/*
else if (cardNumber.substring(0,1)=="3") {
cardType="Diner's Club";
cardCode="DI";
}
*/
else if (cardNumber.substring(0,1)=="5") {
cardType="MasterCard";
cardCode="MC";
}
else if (cardNumber.substring(0,1)=="4") {
cardType="VISA";
cardCode="VI";
}
else if (cardNumber.substring(0,1)=="6") {
cardType="Discover Card";
cardCode="DC";
}
// else cardType="unknown";
parent.parent.globals.document.vars.cardcode.value = cardCode;
if (document.forms[0].cards.length>0) {
if (cardType != document.forms[0].cards[document.forms[0].cards.selectedIndex].value) {
var found=false;
var currentSelection = document.forms[0].cards.selectedIndex;
if (cardType!="") {
if (!confirm(cardNumber + " is a " + cardType + ". Correct?")) {
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return(false);
}
for (var i = 0; i < document.forms[0].cards.length; i++) {
if (document.forms[0].cards[i].value==cardType) {
document.forms[0].cards[i].selected=true;
parent.parent.globals.document.vars.cardtype.value=cardType;
found=true;
}
else {
document.forms[0].cards[i].selected=false;
}
}
if (found == false && currentSelection>=0) {
document.forms[0].cards[currentSelection].selected=true;
}
}
if (found==false) {
// is the card accepted?
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theCards = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","CardTypes");
if (theCards == null || theCards == "") {
theCards = "AX,DC,MC,VI";
}
if (theCards.indexOf(cardCode)<0) {
alert(cardType + " is not accepted for payment.");
}
else {
alert("'" + cardNumber + "' is not a valid card number.");
}
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return(false);
}
}
// check credit card lengths
var length=tempCardNumber.length;
var validLength = false;
if (cardCode != "") {
if (cardCode == "AX") {
if (length == 16) validLength=true;
}
else if (cardCode == "MC") {
if (length == 16) validLength=true;
}
else if (cardCode == "VI") {
if (length == 13 || length == 16) validLength=true;
}
else if (cardCode == "DC") {
if (length == 16) validLength=true;
}
}
if (validLength == false) {
alert("'" + cardNumber + "' is not a valid card number. (Invalid length)");
document.forms[0].cardnumber.focus();
document.forms[0].cardnumber.select();
return(false);
}
}
// check month and year
var today = new Date();
var theMonth = today.getMonth();
var theYear = today.getYear()+1900;
var expiredFlag = false;
if (theYear > document.forms[0].year[document.forms[0].year.selectedIndex].value) {
expiredFlag = true;
}
else if (theYear == document.forms[0].year[document.forms[0].year.selectedIndex].value) {
if (theMonth > document.forms[0].month.selectedIndex) {
expiredFlag = true;
}
}
if (expiredFlag) {
alert("'" + cardNumber + "' appears to have expired.");
return(false);
}
return true;
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,223 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="clayer1.js">
</SCRIPT>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="clayer2.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js" >
</LINK>
<SCRIPT ID="clayer112">
var backImages = null;
var helpImages = null;
var exitImages = null;
var nextImages = null;
var connectImages = null;
var doneImages = null;
var ffImages = null;
var rebootImages = null;
</SCRIPT>
</HEAD>
<BODY BACKGROUND="images/navbar.gif" onLoad="loadData()" ID="clayer100">
<NOSCRIPT>
<CENTER><STRONG>
JavaScript support is disabled!<P>
Choose "Edit | Preferences | Advanced" and enable JavaScript, then reload this page.<P>
</CENTER></STRONG>
</NOSCRIPT>
<LAYER NAME="controls" WIDTH=620 HEIGHT=55 TOP=0 LEFT=0>
<LAYER NAME="help" LEFT=4 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['help'].src='images/hlp_down.gif';var flag=go('Help');document.images['help'].src='images/hlp_up.gif';return false"
onMouseOver="document.images['help'].src='images/hlp_mo.gif'"
onMouseOut="document.images['help'].src='images/hlp_up.gif'" ID="clayer101">
<IMG NAME="help" SRC="images/hlp_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=12 TOP=43>
<B CLASS="clayer">HELP</B>
</LAYER>
</LAYER>
<LAYER NAME="exit" LEFT=50 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['exit'].src='images/ext_down.gif';var flag=go('Exit');document.images['exit'].src='images/ext_up.gif';return false"
onMouseOver="document.images['exit'].src='images/ext_mo.gif'"
onMouseOut="document.images['exit'].src='images/ext_up.gif'" ID="clayer102">
<IMG NAME="exit" SRC="images/ext_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=12 TOP=43>
<B CLASS="clayer">EXIT</B>
</LAYER>
</LAYER>
<LAYER NAME="back" LEFT=260 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['back'].src='images/bk_down.gif';var flag=go('Back');document.images['back'].src='images/bk_up.gif';return false"
onMouseOver="document.images['back'].src='images/bk_mo.gif'"
onMouseOut="document.images['back'].src='images/bk_up.gif'" ID="clayer103">
<IMG NAME="back" SRC="images/bk_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=4 TOP=43>
<B CLASS="clayer">BACK</B>
</LAYER>
</LAYER>
<LAYER NAME="next" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['next'].src='images/nxt_down.gif';var flag=go('Next');document.images['next'].src='images/nxt_up.gif';return false"
onMouseOver="document.images['next'].src='images/nxt_mo.gif'"
onMouseOut="document.images['next'].src='images/nxt_up.gif'" ID="clayer104">
<IMG NAME="next" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">NEXT</B>
</LAYER>
</LAYER>
<LAYER NAME="connectnow" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['connectnow'].src='images/cn_down.gif';var flag=go('Next');document.images['connectnow'].src='images/cn_up.gif';return false"
onMouseOver="document.images['connectnow'].src='images/cn_mo.gif'"
onMouseOut="document.images['connectnow'].src='images/cn_up.gif'" ID="clayer105">
<IMG NAME="connectnow" SRC="images/cn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT NOW</B>
</LAYER>
</LAYER>
<LAYER NAME="download" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['download'].src='images/cn_down.gif';var flag=go('Next');document.images['download'].src='images/cn_up.gif';return false"
onMouseOver="document.images['download'].src='images/cn_mo.gif'"
onMouseOut="document.images['download'].src='images/cn_up.gif'" ID="clayer113">
<IMG NAME="download" SRC="images/cn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT NOW</B>
</LAYER>
</LAYER>
<LAYER NAME="connectagain" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['connectagain'].src='images/nxt_down.gif';var flag=go('Next');document.images['connectagain'].src='images/nxt_up.gif';return false"
onMouseOver="document.images['connectagain'].src='images/nxt_mo.gif'"
onMouseOut="document.images['connectagain'].src='images/nxt_up.gif'" ID="clayer106">
<IMG NAME="connectagain" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT AGAIN</B>
</LAYER>
</LAYER>
<LAYER NAME="connectserver" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['connectserver'].src='images/cn_down.gif';var flag=go('Next');document.images['connectserver'].src='images/cn_up.gif';return false"
onMouseOver="document.images['connectserver'].src='images/cn_mo.gif'"
onMouseOut="document.images['connectserver'].src='images/cn_up.gif'" ID="clayer107">
<IMG NAME="connectserver" SRC="images/cn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">CONNECT TO SERVER</B>
</LAYER>
</LAYER>
<LAYER NAME="done" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['done'].src='images/dn_down.gif';var flag=go('Done');document.images['done'].src='images/dn_up.gif';return false"
onMouseOver="document.images['done'].src='images/dn_mo.gif'"
onMouseOut="document.images['done'].src='images/dn_up.gif'" ID="clayer108">
<IMG NAME="done" SRC="images/dn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=4 TOP=43>
<B CLASS="clayer">DONE</B>
</LAYER>
</LAYER>
<LAYER NAME="restart" LEFT=310 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['restart'].src='images/rb_down.gif';var flag=go('Restart');document.images['restart'].src='images/rb_up.gif';return false"
onMouseOver="document.images['restart'].src='images/rb_mo.gif'"
onMouseOut="document.images['restart'].src='images/rb_up.gif'" ID="clayer109">
<IMG NAME="restart" SRC="images/rb_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=8 TOP=43>
<B CLASS="clayer">RESTART</B>
</LAYER>
</LAYER>
<LAYER NAME="setup" LEFT=500 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=30 TOP=6>
<A HREF="about:blank" onClick="document.images['setup'].src='images/ff_down.gif';var flag=go('Setup');document.images['setup'].src='images/ff_up.gif';return false"
onMouseOver="document.images['setup'].src='images/ff_mo.gif'"
onMouseOut="document.images['setup'].src='images/ff_up.gif'" ID="clayer110">
<IMG NAME="setup" SRC="images/ff_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=0 TOP=43>
<B CLASS="clayer">ACCOUNT SETUP</B>
</LAYER>
</LAYER>
<LAYER NAME="connectlater" LEFT=550 TOP=0 WIDTH=200 VISIBILITY=HIDE>
<LAYER LEFT=4 TOP=6>
<A HREF="about:blank" onClick="document.images['later'].src='images/dn_down.gif';var flag=go('Later');document.images['later'].src='images/dn_up.gif';return false"
onMouseOver="document.images['later'].src='images/dn_mo.gif'"
onMouseOut="document.images['later'].src='images/dn_up.gif'" ID="clayer111">
<IMG NAME="later" SRC="images/dn_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</LAYER>
<LAYER LEFT=10 TOP=43>
<B CLASS="clayer">DONE</B>
</LAYER>
</LAYER>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,908 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
compromisePrincipals();
function page( file, section, variable )
{
this.type = "INFO";
this.file = file;
this.section = section;
this.variable = variable;
this.fullhistory = false;
this.top = false;
}
// the following three functions make sense if you go look at the "Next" clause in the function
// "go" below
// ¥ a "condition" is read from the Account Setup init file (typically "Config\ACCTSET.INI"),
// from the section "[section]" and the given variable name, and if the given "value" matches,
// the "file" gets loaded
function condition( file, section, variable, value )
{
this.type = "CONDITION";
this.file = file;
this.section = section;
this.variable = variable;
this.value = value;
}
// ¥ a "method" is given in "method" (a JavaScript method), and if when evaluated, it's value
// is "value", the given "file" gets loaded
function method( file, method, value )
{
this.type = "METHOD";
this.file = file;
this.method = method;
this.value = value;
}
// ¥ an "action" simply loads the given "file"
function action( file )
{
this.type = "ACTION";
this.file = file;
}
function checkEditMode()
{
if ( parent.parent && parent.parent.globals && parent.parent.globals.document.vars.editMode.value.toLowerCase() == "yes" )
{
return true;
}
else
{
return false;
}
}
pages=new Array();
pages[0]=new Array();
pages[0][0]=new page("main.htm",null,null);
pages[0][1]=new method("ipreview/inpvw1.htm","parent.content.go('Internet Preview')",true);
pages[0][2]=new method("preview/duepvw1.htm","parent.content.go('Preview')",true);
pages[0][3]=new method("intro/intro1.htm","parent.controls.checkShowIntroFlag('')",true);
pages[0][4]=new condition("intro/intro1.htm","Mode Selection","Show_Intro_Screens","yes");
pages[0][5]=new condition("needs1.htm","Mode Selection","ForceNew","yes");
pages[0][6]=new condition("useAcct.htm","Mode Selection","ForceExisting","yes");
pages[0][7]=new action("accounts.htm");
pages[1]=new Array();
pages[1][0]=new page("accounts.htm",null,null);
pages[1][1]=new method("needs1.htm","parent.content.go('New Path')",true);
pages[1][2]=new method("useAcct.htm","parent.content.go('Existing Path')",true);
// New Account Path
pages[ 2 ] = new Array();
pages[ 2 ][ 0 ] = new page( "needs1.htm", "New Acct Mode", "ShowNewPathInfo" );
pages[ 2 ][ 1 ] = new condition( "newAcct.htm", "New Acct Mode", "ShowNewPathInfo", "no" );
pages[ 2 ][ 2 ] = new method( "newAcct.htm", "parent.content.go('')", true );
pages[ 3 ] = new Array();
pages[ 3 ][ 0 ] = new page( "newAcct.htm", "New Acct Mode", "AskPersonalInfo" );
pages[ 3 ][ 1 ] = new condition( "billing.htm", "New Acct Mode", "AskPersonalInfo", "no" );
pages[ 3 ][ 2 ] = new method( "billing.htm", "parent.content.go('')", true );
pages[ 4 ] = new Array();
pages[ 4 ][ 0 ] = new page( "billing.htm", "New Acct Mode", "AskBillingInfo" );
pages[ 4 ][ 1 ] = new condition( "modem1.htm", "New Acct Mode", "AskBillingInfo", "no" );
pages[ 4 ][ 2 ] = new method( "modem1.htm", "parent.content.go('')", true );
pages[ 5 ] = new Array();
pages[ 5 ][ 0 ] = new page( "modem1.htm", null, null );
pages[ 5 ][ 1 ] = new method( "dialinf1.htm", "parent.content.go('')", true );
pages[ 6 ] = new Array();
pages[ 6 ][ 0 ] = new page( "dialinf1.htm", null, null );
pages[ 6 ][ 1 ] = new method( "dialinf2.htm", "parent.content.go('')", true );
pages[ 7 ] = new Array();
pages[ 7 ][ 0 ] = new page( "dialinf2.htm", null, null );
pages[ 7 ][ 1 ] = new method( "download.htm", "parent.content.go('New Path')", true );
pages[ 7 ][ 2 ] = new method( "connect2.htm", "parent.content.go('Existing Path')", true );
pages[ 53 ] = new Array();
pages[ 53 ][ 0 ] = new page( "download.htm", null, null );
pages[ 53 ][ 1 ] = new method( "1step.htm", "parent.content.go( '' )", true );
pages[ 54 ] = new Array();
pages[ 54 ][ 0 ] = new page( "1step.htm", null, null );
pages[ 8 ] = new Array();
pages[ 8 ][ 0 ] = new page( "connect1.htm", null, null );
pages[ 8 ][ 1 ] = new method( "editfour.htm", "checkEditMode('')", true );
pages[ 8 ][ 2 ] = new method( "register.htm", "parent.content.go('')", true );
pages[ 9 ] = new Array();
pages[ 9 ][ 0 ] = new page( "register.htm", null, null );
// Existing Account Path
pages[10]=new Array();
pages[10][0]=new page("useAcct.htm",null,null);
pages[10][1]=new condition("needs2.htm","Mode Selection","ExistingSRFile","...");
pages[10][2]=new method("needs2.htm","parent.content.go('')",true);
pages[11]=new Array();
pages[11][0]=new page("needs2.htm","Existing Acct Mode","ShowExistingPathInfo");
pages[11][1]=new condition("acctInfo.htm","Existing Acct Mode","ShowExistingPathInfo","no");
pages[11][2]=new method("acctInfo.htm","parent.content.go('')",true);
pages[12]=new Array();
pages[12][0]=new page("acctInfo.htm","Existing Acct Mode","AskName");
pages[12][1]=new condition("dial.htm","Existing Acct Mode","AskName","no");
pages[12][2]=new method("dial.htm","parent.content.go('')",true);
pages[13]=new Array();
pages[13][0]=new page("dial.htm","Existing Acct Mode","AskPhone");
pages[13][1]=new condition("namepw.htm","Existing Acct Mode","AskPhone","no");
pages[13][2]=new method("namepw.htm","parent.content.go('')",true);
pages[14]=new Array();
pages[14][0]=new page("namepw.htm","Existing Acct Mode","AskLogin");
pages[14][1]=new condition("email.htm","Existing Acct Mode","AskLogin","no");
pages[14][2]=new method("email.htm","parent.content.go('')",true);
pages[15]=new Array();
pages[15][0]=new page("email.htm","Existing Acct Mode","AskEmail");
pages[15][1]=new condition("servers.htm","Existing Acct Mode","AskEmail","no");
pages[15][2]=new method("servers.htm","parent.content.go('')",true);
pages[16]=new Array();
pages[16][0]=new page("servers.htm","Existing Acct Mode","AskHosts");
pages[16][1]=new condition("dns.htm","Existing Acct Mode","AskHosts","no");
pages[16][2]=new method("dns.htm","parent.content.go('')",true);
pages[17]=new Array();
pages[17][0]=new page("dns.htm","Existing Acct Mode","AskDNS");
pages[17][1]=new condition("publish.htm","Existing Acct Mode","AskDNS","no");
pages[17][2]=new method("publish.htm","parent.content.go('')",true);
pages[18]=new Array();
pages[18][0]=new page("publish.htm","Existing Acct Mode","AskPublishing");
pages[18][1]=new condition("modem1.htm","Existing Acct Mode","AskPublishing","no");
pages[18][2]=new method("modem1.htm","parent.content.go('')",true);
pages[19]=new Array();
pages[19][0]=new page("connect2.htm",null,null);
pages[19][1]=new method(null,"parent.content.go('Connect Now')",true);
pages[19][2]=new method("error.htm","parent.content.go('error.htm')",true);
// Final Screens
pages[20]=new Array();
pages[20][0]=new page("ok.htm",null,null);
pages[21]=new Array();
pages[21][0]=new page("okreboot.htm",null,null);
pages[22]=new Array();
pages[22][0]=new page("error.htm",null,null);
pages[22][1]=new method("register.htm","parent.content.go('New Path')",true);
pages[22][2]=new method("connect2.htm","parent.content.go('Existing Path')",true);
pages[23]=new Array();
pages[23][0]=new page("later.htm",null,null);
pages[23][1]=new method("later.htm","parent.content.go('Done')",true);
// Settings
pages[24]=new Array();
pages[24][0]=new page("settings.htm",null,null);
// About Box
pages[25]=new Array();
pages[25][0]=new page("aboutbox.htm",null,null);
// Manage IAS Servers
pages[26]=new Array();
pages[26][0]=new page("addias.htm",null,null);
// Manage NCI Servers
pages[27]=new Array();
pages[27][0]=new page("addnci.htm",null,null);
// Dialup Edition Preview Screens
pages[28]=new Array();
pages[28][0]=new page("preview/duepvw1.htm",null,null);
//pages[28][0].fullhistory=true;
pages[28][1]=new method("preview/duepvw2.htm","parent.content.go('')",true);
pages[29]=new Array();
pages[29][0]=new page("preview/duepvw2.htm",null,null);
pages[29][1]=new method("preview/duepvw3.htm","parent.content.go('')",true);
pages[30]=new Array();
pages[30][0]=new page("preview/duepvw3.htm",null,null);
pages[30][1]=new method("preview/duepvw4.htm","parent.content.go('')",true);
pages[31]=new Array();
pages[31][0]=new page("preview/duepvw4.htm",null,null);
pages[31][1]=new method("preview/duepvw5.htm","parent.content.go('')",true);
pages[32]=new Array();
pages[32][0]=new page("preview/duepvw5.htm",null,null);
pages[32][1]=new method("preview/duepvw6.htm","parent.content.go('')",true);
pages[33]=new Array();
pages[33][0]=new page("preview/duepvw6.htm",null,null);
pages[33][1]=new method("preview/duepvw7.htm","parent.content.go('')",true);
pages[34]=new Array();
pages[34][0]=new page("preview/duepvw7.htm",null,null);
pages[34][1]=new method("preview/duepvw7a.htm","parent.content.go('')",true);
pages[35]=new Array();
pages[35][0]=new page("preview/duepvw7a.htm",null,null);
pages[35][1]=new method("preview/duepvw8.htm","parent.content.go('')",true);
pages[36]=new Array();
pages[36][0]=new page("preview/duepvw8.htm",null,null);
//pages[36][1]=new method("main.htm","parent.content.go('')",true);
pages[36][1]=new action("main.htm");
// Internet Preview Screens
pages[37]=new Array();
pages[37][0]=new page("ipreview/inpvw1.htm",null,null);
//pages[37][0].fullhistory=true;
pages[37][1]=new method("ipreview/inpvw2.htm","parent.content.go('')",true);
pages[38]=new Array();
pages[38][0]=new page("ipreview/inpvw2.htm",null,null);
pages[38][1]=new method("ipreview/inpvw3.htm","parent.content.go('')",true);
pages[39]=new Array();
pages[39][0]=new page("ipreview/inpvw3.htm",null,null);
pages[39][1]=new method("ipreview/inpvw4.htm","parent.content.go('')",true);
pages[40]=new Array();
pages[40][0]=new page("ipreview/inpvw4.htm",null,null);
pages[40][1]=new method("ipreview/inpvw5.htm","parent.content.go('')",true);
pages[41]=new Array();
pages[41][0]=new page("ipreview/inpvw5.htm",null,null);
pages[41][1]=new method("ipreview/inpvw6.htm","parent.content.go('')",true);
pages[42]=new Array();
pages[42][0]=new page("ipreview/inpvw6.htm",null,null);
pages[42][1]=new method("ipreview/inpvw7.htm","parent.content.go('')",true);
pages[43]=new Array();
pages[43][0]=new page("ipreview/ipreview/inpvw7.htm",null,null);
//pages[43][1]=new method("main.htm","parent.content.go('')",true);
pages[43][1]=new action("main.htm"); // XXX For Deluxe, change "main.htm" to "ipreview/inpvw8.htm"
pages[44]=new Array();
pages[44][0]=new page("ipreview/inpvw8.htm",null,null);
//pages[44][1]=new method("main.htm","parent.content.go('')",true);
pages[44][1]=new action("main.htm");
// start screen
pages[45]=new Array();
pages[45][0]=new page("start.htm",null,null);
//pages[45][0].top=true;
// intro screens
pages[46]=new Array();
pages[46][0]=new page("intro/intro1.htm",null,null);
//pages[46][0].fullhistory=true;
pages[46][1]=new method("intro/intro2.htm","parent.content.go('')",true);
pages[47]=new Array();
pages[47][0]=new page("intro/intro2.htm",null,null);
pages[47][1]=new method("intro/intro3.htm","parent.content.go('')",true);
pages[48]=new Array();
pages[48][0]=new page("intro/intro3.htm",null,null);
pages[48][1]=new method("intro/intro4.htm","parent.content.go('')",true);
pages[49]=new Array();
pages[49][0]=new page("intro/intro4.htm",null,null);
pages[49][1]=new method("intro/intro5.htm","parent.content.go('')",true);
pages[50]=new Array();
pages[50][0]=new page("intro/intro5.htm",null,null);
pages[50][1]=new method("intro/intro6.htm","parent.content.go('')",true);
pages[51]=new Array();
pages[51][0]=new page("intro/intro6.htm",null,null);
pages[51][1]=new condition("needs1.htm","Mode Selection","ForceNew","yes");
pages[51][2]=new condition("useAcct.htm","Mode Selection","ForceExisting","yes");
pages[51][3]=new action("accounts.htm");
pages[52]=new Array();
pages[52][0]=new page("editfour.htm",null,null);
pages[52][1]=new method("register.htm","parent.content.go('register.htm')",true);
pages[52][2]=new method("ok.htm","parent.content.go('ok.htm')",true);
pages[52][3]=new method("okreboot.htm","parent.content.go('okreboot.htm')",true);
pages[52][4]=new method("error.htm","parent.content.go('error.htm')",true);
function checkShowIntroFlag()
{
if ( parent && parent.parent && parent.parent.globals )
{
var theFile = parent.parent.globals.getAcctSetupFilename( self );
var theFlag = parent.parent.globals.GetNameValuePair( theFile, "Mode Selection", "Show_Intro_Screens" );
if ( theFlag != null )
{
theFlag = theFlag.toLowerCase();
}
return ( theFlag == "yes" );
}
else
{
return false;
}
}
// return the page number (according to ordinals along the path taken) of "file"
function findPageOffset( file )
{
// ¥ take off any path information preceeding file name
if ( ( slashPos = file.lastIndexOf( "/" ) ) > 0 )
{
file = file.substring( slashPos + 1, file.length );
}
// ¥ loop through all the page information and attempt to find a page name matching
// "file"
var pageNum = -1;
for ( var x = 0; x < pages.length; x++ )
{
for ( var y = 0; y < pages[ x ].length; y++ )
{
if ( pages[ x ][ y ].type== "INFO" )
{
var theName = pages[ x ][ y ].file;
// ¥ again, remove any path
if ( ( slashPos = theName.lastIndexOf( "/" ) ) > 0 )
{
theName = theName.substring( slashPos + 1, theName.length );
}
// ¥ pages[ x ][ y ].file
if ( theName == file )
{
// ¥ found it
pageNum = x;
}
// ¥ break here so we don't keep testing all the rest of the array entries after
// we've found the "INFO" entry
break;
}
}
// ¥ break if we've found it
if ( pageNum >= 0 )
break;
}
if ( parent && parent.parent && parent.parent.globals )
{
parent.parent.globals.debug( "\tfindPageOffset: '" +file+ "' is " + pageNum );
}
return pageNum;
}
// main navigational function in Account Setup, "msg" is typically the name of a button
// that was pressed
function go( msg )
{
var editMode = false;
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if ( parent && parent.parent && parent.parent.globals )
{
editMode = ( parent.parent.globals.document.vars.editMode.value.toLowerCase() == "yes" ) ? true : false;
}
// var formName = new String(parent.content.location);
var formName = "" + parent.content.location;
if ( ( x = formName.lastIndexOf( "/" ) ) > 0 )
{
formName = formName.substring( x + 1, formName.length );
}
var pageNum = findPageOffset( formName );
if ( pageNum >= 0 )
{
formName = pages[ pageNum ][ 0 ].file;
}
// var startingPageName = parent.content.document.forms[0].name;
var startingPageName = formName;
var thePlatform = new String( navigator.userAgent );
var x = thePlatform.indexOf( "(" ) + 1;
var y = thePlatform.indexOf( ";", x + 1 );
thePlatform = thePlatform.substring( x, y );
var separatorString = ",";
// process messages
if ( msg == "Next" )
{
// ¥ if something is wrong with the current page content, don't do anything
if ( !parent || !parent.content || !parent.content.checkData )
return;
// ¥Êif we're currently loading, don't do anything
if ( parent.content.loading )
return;
if ( editMode != true )
{
if ( parent.content.checkData() == false )
{
return;
}
// workaround for onunload handler bugs in 4.0b2; no longer using onunload handler
if ( parent.content.saveData != null )
{
parent.content.saveData();
}
}
var pageName = startingPageName;
if ( parent && parent.parent && parent.parent.globals )
{
parent.parent.globals.debug("\ngo: Starting at page " +pageName);
}
var theFile = "";
if ( parent && parent.parent && parent.parent.globals )
{
theFile = parent.parent.globals.getAcctSetupFilename( self );
}
var moved = false;
var active = true;
while ( active )
{
active = false;
var pageNum = findPageOffset( pageName );
if ( pageNum < 0 )
{
alert( "The file '" + pageName + "' is unknown to Account Setup." );
return;
}
for ( var x = 0; x < pages[ pageNum ].length; x++ )
{
if ( editMode == false && pages[ pageNum ][ x ].type == "CONDITION" )
{
var theFlag = parent.parent.globals.GetNameValuePair( theFile, pages[ pageNum ][ x ].section,
pages[ pageNum ][ x ].variable );
theFlag = theFlag.toLowerCase();
if ( pages[ pageNum ][ x ].value == "..." )
{
if ( theFlag != null && theFlag != "" )
{
active = moved = true;
pageName = pages[ pageNum ][ x ].file;
break;
}
}
else if ( theFlag == pages[ pageNum ][ x ].value )
{
active = moved = true;
pageName = pages[ pageNum ][ x ].file;
break;
}
}
else if ( moved == false && pages[ pageNum ][ x ].type == "METHOD" )
{
var val = eval( pages[ pageNum ][ x ].method );
if ( parent && parent.parent && parent.parent.globals )
{
parent.parent.globals.debug( "\tMethod: " + pages[ pageNum ][ x ].method );
parent.parent.globals.debug( "\tReturned: " + val );
}
if ( val == pages[ pageNum ][ x ].value )
{
active = moved = true;
pageName = pages[ pageNum ][ x ].file;
break;
}
}
else if ( moved == false && pages[ pageNum ][ x ].type == "ACTION" )
{
parent.parent.globals.debug( "\tAction: " + pages[ pageNum ][ x ].file );
active = false;
moved = true;
pageName = pages[ pageNum ][ x ].file;
break;
}
}
}
if ( pageName != startingPageName )
{
if ( parent && parent.parent && parent.parent.globals )
{
if ( parent.parent.globals.document.setupPlugin.NeedReboot() == true )
{
parent.parent.globals.forceReboot( pageName );
}
else
{
if ( pageName == "main.htm" )
{
parent.parent.globals.document.vars.pageHistory.value = "";
}
else
{
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
}
parent.parent.globals.debug( "go: Moving to page " + pageName );
pages.current = pageName;
parent.content.location.replace( pageName );
if ( helpWindow && helpWindow != null )
{
if ( helpWindow.closed == false )
{
doHelp( pageName );
}
}
}
}
else
{
pages.current = pageName;
if ( pages[ pageNum ][ 0 ].top == true )
{
parent.location.replace( pageName );
}
else
{
var theLoc = "" + parent.content.location;
if ( ( x = theLoc.lastIndexOf( "/" ) ) > 0 )
{
pageName = theLoc.substring( 0, x + 1 ) + pageName;
}
parent.content.location.replace( pageName );
}
}
}
}
else if (msg == "Back") {
if (parent.content.loading) return;
// workaround for onunload handler bugs in 4.0b2; no longer using onunload handler
if (parent.content.saveData!=null) {
parent.content.saveData();
}
// parent.content.history.back();
if (parent.content.verifyData) {
var verifyFlag = parent.content.verifyData();
if (verifyFlag != true) {
generateControls();
return;
}
}
if (parent && parent.parent && parent.parent.globals) {
var historyCleanup = true;
while (historyCleanup == true) {
historyCleanup = false;
var pageHistory = parent.parent.globals.document.vars.pageHistory.value;
if (pageHistory!="") {
var pageName="";
x = pageHistory.lastIndexOf(separatorString);
pageHistory=pageHistory.substring(0,x);
x = pageHistory.lastIndexOf(separatorString);
if (x>=0) {
pageName=pageHistory.substring(x+1,pageHistory.length);
parent.parent.globals.document.vars.pageHistory.value = pageHistory.substring(0,x+1);
if ((pageName == "register.htm") || (pageName == "error.htm")) {
historyCleanup = true;
}
}
else {
pageName=pageHistory;
parent.parent.globals.document.vars.pageHistory.value="";
}
}
}
parent.parent.globals.debug("go: Moving back to page " +pageName);
if (pageName == "undefined")
return;
pages.current = pageName;
if (pageNum >= 0 && pages[pageNum][0].fullhistory == true) {
parent.parent.history.back();
}
else {
parent.content.location.replace(pageName);
}
if (helpWindow && helpWindow != null) {
if (helpWindow.closed==false) {
doHelp(pageName);
}
}
}
else {
if (pages[pageNum][0].fullhistory == true) {
parent.parent.history.back();
}
else {
parent.content.history.back();
}
}
}
else if (msg == "Help") {
doHelp(formName);
}
else if (msg == "Show Screen") {
var pageNum=findPageOffset(formName);
if (pageNum>=0) {
var section=pages[pageNum][0].section;
var variable=pages[pageNum][0].variable;
if (section!=null && section!="" && variable!=null && variable!="") {
showScreenToggle=true;
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theFlag = parent.parent.globals.GetNameValuePair(theFile,section, variable);
theFlag = theFlag.toLowerCase();
if (theFlag == "no") theFlag="yes";
else theFlag="no";
parent.parent.SetNameValuePair(theFile,section, variable,theFlag);
}
}
}
else if (msg == "Later") {
if (parent.content.go("Later") == true) {
if ((parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes") || (confirm("Normally, this would complete the Account Setup process and quit Communicator. Would you like to quit now?") == true))
{
// parent.content.location.href = "later.htm";
if (parent && parent.parent && parent.parent.globals) {
if (parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes")
parent.parent.globals.saveGlobalData();
parent.parent.globals.document.setupPlugin.QuitNavigator();
}
window.close();
}
}
}
else if (msg == "Done") {
if (parent && parent.parent && parent.parent.globals) {
if (parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes")
parent.parent.globals.saveGlobalData();
if ((parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes") || (confirm("Normally, this would complete the Account Setup process and quit Communicator. Would you like to quit now?") == true)) {
parent.parent.globals.document.setupPlugin.QuitNavigator();
window.close();
}
}
}
else if (msg == "Exit") {
var longMsgFlag = true;
var confirmFlag = false;
if (formName.indexOf("main.htm")>=0) longMsgFlag = false;
else if (formName.indexOf("aboutbox.htm")>=0) longMsgFlag = false;
else if (formName.indexOf("error.htm")>=0) longMsgFlag = false;
else if (formName.indexOf("intro/")>=0) longMsgFlag = false;
else if (formName.indexOf("ipreview/")>=0) longMsgFlag = false;
else if (formName.indexOf("preview/")>=0) longMsgFlag = false;
if (longMsgFlag == true) {
if (parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes")
confirmFlag = confirm("Your haven't finished setting up your account. Are you sure you want to quit Account Setup?");
else // this is for the account setup editor
confirmFlag = confirm("Are you sure you want to quit the Account Setup Editor?");
}
else {
confirmFlag = confirm("Quit Account Setup?");
}
if (confirmFlag == true) {
if (parent && parent.parent && parent.parent.globals) {
parent.parent.globals.saveGlobalData();
parent.parent.globals.document.setupPlugin.QuitNavigator();
}
window.close();
}
}
else if (msg == "Restart") {
if (parent.parent.globals.document.vars.editMode.value.toLowerCase() != "yes") {
parent.parent.globals.saveGlobalData();
parent.parent.globals.document.setupPlugin.Reboot(null);
window.close();
}
else {
alert("Cannot reboot in edit mode.");
}
}
else if (msg == "About") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
pages.current = "aboutbox.htm";
parent.content.location.replace("aboutbox.htm");
}
else if (msg == "Setup") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
var acctSetupFile = parent.parent.globals.getAcctSetupFilename(self);
var newPathFlag = parent.parent.globals.GetNameValuePair(acctSetupFile,"Mode Selection","ForceNew");
newPathFlag = newPathFlag.toLowerCase();
var existingPathFlag = parent.parent.globals.GetNameValuePair(acctSetupFile,"Mode Selection","ForceExisting");
existingPathFlag = existingPathFlag.toLowerCase();
var pageName="";
if (newPathFlag == "yes" && existingPathFlag != "yes") {
pageName = "needs1.htm";
}
else if (existingPathFlag == "yes" && newPathFlag != "yes") {
pageName = "useAcct.htm";
}
else {
pageName = "accounts.htm";
}
parent.content.location.replace(pageName);
if (helpWindow && helpWindow != null) {
if (helpWindow.closed==false) {
doHelp(pageName);
}
}
}
else if (msg == "Edit Settings") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
pages.current = "settings.htm";
parent.content.location.replace("../CG/docs/settings.htm");
}
else if (msg == "Manage Servers") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
pages.current = "editregs.htm";
parent.content.location.replace("../CG/docs/editregs.htm");
}
else if (msg == "Manage Accounts") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
pages.current = "editisps.htm";
parent.content.location.replace("../CG/docs/editisps.htm");
}
else if (msg == "Edit IAS") {
if (thePlatform == "Macintosh")
parent.parent.globals.document.vars.pageHistory.value += "../../Tools/CG/docs/" + startingPageName + separatorString;
else
parent.parent.globals.document.vars.pageHistory.value += "../../../AccountSetupTools/CG/docs/" + startingPageName + separatorString;
pages.current = "addias.htm";
parent.content.location.replace("ias/addias.htm");
}
else if (msg == "Edit NCI") {
if (thePlatform == "Macintosh")
parent.parent.globals.document.vars.pageHistory.value += "../../Tools/CG/docs/" + startingPageName + separatorString;
else
parent.parent.globals.document.vars.pageHistory.value += "../../../AccountSetupTools/CG/docs/" + startingPageName + separatorString;
pages.current = "addnci.htm";
parent.content.location.replace("nci/addnci.htm");
}
else if (msg == "Screen Options") {
parent.parent.globals.document.vars.pageHistory.value += startingPageName + separatorString;
if (formName == "namepw.htm") {
pages.current = "asktty.htm";
parent.content.location.replace("../CG/docs/asktty.htm");
}
//else if (formName == "servers.htm") {
// pages.current = "askserv.htm";
// parent.content.location.replace("../CG/docs/askserv.htm");
// }
else if (formName == "ok.htm") {
pages.current = "asksvinf.htm";
parent.content.location.replace("../CG/docs/asksvinf.htm");
}
else if (formName == "okreboot.htm") {
pages.current = "asksvinf.htm";
parent.content.location.replace("../CG/docs/asksvinf.htm");
}
else if (formName == "billing.htm") {
pages.current = "editcc.htm";
parent.content.location.replace("../CG/docs/editcc.htm");
}
else if (formName == "main.htm") {
pages.current = "settings.htm";
parent.content.location.replace("../CG/docs/settings.htm");
}
else if (formName == "useAcct.htm") {
pages.current = "editisps.htm";
parent.content.location.replace("../CG/docs/editisps.htm");
}
else if (formName == "connect1.htm") {
pages.current = "editregs.htm";
parent.content.location.replace("../CG/docs/editregs.htm");
}
} //end screen options special casing
else
parent.content.go(msg);
// generateControls();
}
function loadData()
{
var file="";
// preLoadImages();
if (parent && parent.parent && parent.parent.globals) {
file = parent.parent.globals.document.vars.startupFile.value;
}
if (file != null && file != "") {
if (parent && parent.parent && parent.parent.globals) {
parent.parent.globals.document.vars.startupFile.value = "";
}
parent.content.location.replace(file);
}
generateControls();
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,856 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
// globals
var theToolBar = null; // a global pointer to our toolbar - should it exist
var helpWindow = null;
var preLoaded = false;
compromisePrincipals();
function preLoadImages()
{
if (preLoaded == false) {
//img[0] is the normal image
//img[1] is the mouseover
//img[2] is the mousedown
backImages = new Array;
helpImages = new Array;
exitImages = new Array;
nextImages = new Array;
connectImages = new Array;
doneImages = new Array;
ffImages = new Array;
rebootImages = new Array;
backImages[0] = new Image(32,32);
backImages[0].src = "images/bk_up.gif";
backImages[1] = new Image(32,32);
backImages[1].src = "images/bk_mo.gif";
backImages[2] = new Image(32,32);
backImages[2].src = "images/bk_down.gif";
helpImages[0] = new Image(32,32);
helpImages[0].src = "images/hlp_up.gif";
helpImages[1] = new Image(32,32);
helpImages[1].src = "images/hlp_mo.gif";
helpImages[2] = new Image(32,32);
helpImages[2].src = "images/hlp_down.gif";
exitImages[0] = new Image(32,32);
exitImages[0].src = "images/ext_up.gif";
exitImages[1] = new Image(32,32);
exitImages[1].src = "images/ext_mo.gif";
exitImages[2] = new Image(32,32);
exitImages[2].src = "images/ext_down.gif";
nextImages[0] = new Image(32,32);
nextImages[0].src = "images/nxt_up.gif";
nextImages[1] = new Image(32,32);
nextImages[1].src = "images/nxt_mo.gif";
nextImages[2] = new Image(32,32);
nextImages[2].src = "images/nxt_down.gif";
rebootImages[0] = new Image(32,32);
rebootImages[0].src = "images/rb_up.gif";
rebootImages[1] = new Image(32,32);
rebootImages[1].src = "images/rb_mo.gif";
rebootImages[2] = new Image(32,32);
rebootImages[2].src = "images/rb_down.gif";
connectImages[0] = new Image(32,32);
connectImages[0].src = "images/cn_up.gif";
connectImages[1] = new Image(32,32);
connectImages[1].src = "images/cn_mo.gif";
connectImages[2] = new Image(32,32);
connectImages[2].src = "images/cn_down.gif";
doneImages[0] = new Image(32,32);
doneImages[0].src = "images/dn_up.gif";
doneImages[1] = new Image(32,32);
doneImages[1].src = "images/dn_mo.gif";
doneImages[2] = new Image(32,32);
doneImages[2].src = "images/dn_down.gif";
ffImages[0] = new Image(32,32);
ffImages[0].src = "images/ff_up.gif";
ffImages[1] = new Image(32,32);
ffImages[1].src = "images/ff_mo.gif";
ffImages[2] = new Image(32,32);
ffImages[2].src = "images/ff_down.gif";
preLoaded = true;
}
}
function generateControls()
{
var editMode = false;
var showAcctsetEdit = false;
var showRegFileEdit = false;
var showISPFileEdit = false;
var showExit = true;
var showHelp = true;
var showBack = true;
var showNext = true;
var showConnectServer = false;
var showConnectNow = false;
var showDownload = false;
var showConnectLater = false;
var showAgain = false;
var showDone = false;
var showRestart = false;
var showSetupShortcut = false;
var showInternet = false;
var showScreenToggle = false;
var screenVisible = true;
var showScreenOptions = false;
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if ( parent && parent.parent && parent.parent.globals )
{
editMode = ( parent.parent.globals.document.vars.editMode.value.toLowerCase() == "yes" ) ? true : false;
}
// var formName = parent.content.location.toString();
var formName = "" + parent.content.location;
if ( formName != null && formName != "" && formName != "about:blank" )
{
if ( ( x = formName.lastIndexOf( "/" ) ) > 0 )
{
formName = formName.substring( x + 1, formName.length );
}
if ( editMode == true )
{
var section = null;
var variable = null;
var pageNum = findPageOffset( formName );
if ( pageNum >= 0 )
{
section = pages[ pageNum ][ 0 ].section;
variable = pages[ pageNum ][ 0 ].variable;
if ( section!=null && section!="" && variable!=null && variable!="" )
{
showScreenToggle = true;
var theFile = parent.parent.globals.getAcctSetupFilename( self );
var theFlag = parent.parent.globals.GetNameValuePair( theFile, section, variable );
theFlag = theFlag.toLowerCase();
if ( theFlag == "no" )
screenVisible = false;
}
}
}
if ( formName == "main.htm" )
{
showBack = false;
showNext = false;
if ( navigator.javaEnabled() == false )
{
showNext = false;
editMode = false;
showAcctsetEdit = false;
showISPFileEdit = false;
showRegFileEdit = false;
document.writeln( "<CENTER><STRONG>Java support is disabled!<P>\n" );
document.writeln( "Choose Options | Network Preferences and enable Java, then try again.</STRONG></CENTER>\n" );
}
else if ( !navigator.mimeTypes[ "application/x-netscape-autoconfigure-dialer" ] )
{
showNext = false;
editMode = false;
showAcctsetEdit = false;
showISPFileEdit = false;
showRegFileEdit = false;
document.writeln( "<CENTER><STRONG>The 'Account Setup Plugin' is not installed!<P>\n" );
document.writeln( "Please install the plugin, then run 'Account Setup' again.</STRONG></CENTER>\n" );
}
else if ( parent.parent.globals.document.setupPlugin == null )
{
showNext = false;
editMode = false;
}
if ( editMode == true )
{
showAcctsetEdit = true;
showScreenOptions = true;
}
}
else if ( editMode == true && formName == "useAcct.htm" )
{
showScreenOptions = true;
}
else if ( editMode == true && formName == "servers.htm" )
{
showScreenOptions = false;
}
else if ( editMode == true && formName == "billing.htm" )
{
showScreenOptions=true;
}
else if ( formName == "accounts.htm" )
{
showNext = false;
}
else if ( formName == "connect1.htm" )
{
showNext = false;
showConnectServer = true;
if ( editMode == true )
showScreenOptions = true;
}
else if ( formName == "download.htm" )
{
showNext = false;
showConnectServer = true;
if ( editMode == true )
showScreenOptions = true;
}
else if ( formName == "connect2.htm" )
{
showNext = false;
showExit = false;
showConnectNow = true;
showConnectLater = true;
}
else if ( formName == "1step.htm" )
{
showNext = false;
showExit = false;
showHelp = false;
if ( editMode == true )
showBack = true;
}
else if ( formName == "register.htm" )
{
showHelp = false;
showBack = false;
showNext = false;
if ( editMode == true )
showBack = true;
}
else if ( formName == "ok.htm" )
{
showScreenOptions = true;
showBack = false;
showExit = false;
showNext = false;
showInternet = true;
showDone = true;
if ( editMode == true )
showBack = true;
}
else if ( formName == "okreboot.htm" )
{
showScreenOptions = true;
showBack = false;
showNext = false;
showExit = false;
showDone = false;
showRestart = true;
if ( editMode == true )
showBack = true;
}
else if ( formName == "error.htm" )
{
showBack = true;
showExit = true;
showNext = false;
showAgain = true;
showDone = false;
if ( editMode == true )
showBack = true;
}
else if ( formName == "later.htm" )
{
showBack = false;
showExit = false;
showNext = false;
showDone = true;
if ( editMode == true )
showBack = true;
}
else if ( formName == "intro1.htm" )
{
showSetupShortcut = true;
}
else if ( formName == "settings.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "editregs.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "editisps.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "aboutbox.htm" )
{
showHelp = false;
showNext = false;
showBack = true;
}
else if ( formName == "namepw.htm" )
{
showScreenOptions = true;
}
else if ( formName == "asktty.htm" )
{
showScreenOptions = false;
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "askserv.htm" )
{
showScreenOptions = false;
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "asksvinf.htm" )
{
showScreenOptions = false;
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "showphon.htm" )
{
showScreenOptions = false;
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "editcc.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "addnci.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "addias.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
else if ( formName == "editfour.htm" )
{
showBack = true;
showNext = false;
editMode = false;
}
if ( document && document.layers && document.layers[ "controls" ] && document.layers[ "controls" ].document && document.layers[ "controls" ].document.layers && document.layers[ "controls" ].document.layers.length > 0 )
{
document.layers[ "controls" ].layers[ "help" ].visibility = ( ( showHelp == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "exit" ].visibility = ( ( showExit == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "back" ].visibility = ( ( showBack == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "next" ].visibility = ( ( showNext == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectnow" ].visibility = ( ( showConnectNow == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "download" ].visibility = ( ( showDownload == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectserver" ].visibility = ( ( showConnectServer == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectagain" ].visibility = ( ( showAgain == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "done" ].visibility = ( ( showDone == true) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "restart" ].visibility = ( ( showRestart == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "connectlater" ].visibility = ( ( showConnectLater == true ) ? "show" : "hide" );
document.layers[ "controls" ].layers[ "setup" ].visibility = ( ( showSetupShortcut == true ) ? "show" : "hide" );
//NEW - Generate the controls for the toolbar, if it exists
if ( ( !theToolBar ) || ( theToolBar == null ) || ( !theToolBar.location ) || ( theToolBar.closed ) )
{
//alert("opening toolbar");
theToolBar = openToolBar();
}
else
{
//alert("toolbar open, generating controls" + theToolBar);
generateToolBarControls();
}
}
else
{
setTimeout( "generateControls()", 1000 );
}
}
else
{
setTimeout( "generateControls()", 1000 );
}
}
function doHelp(formName)
{
var thePlatform;
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
helpFile = "./help/ashelp.htm";
var helpPath = "";
if (parent && parent.parent && parent.parent.globals) {
helpPath = "" + parent.parent.globals.getFolder(self);
thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
if (thePlatform == "Macintosh") { // Macintosh support
helpPath = helpPath + "help:";
}
else { // Windows support
helpPath = helpPath + "help/";
}
if (thePlatform != "Macintosh") {
var hpath=unescape(location.pathname);
hpath = hpath.substring(0, hpath.lastIndexOf('/'));
helpFile = hpath + "/help/ashelp.htm";
// get rid of the return char at the end of .htm
formName = formName.substring(0, formName.indexOf('.htm')+4);
// next, get rid of sub folders in formName
while (formName.indexOf('/') > 0)
formName = formName.substring(formName.indexOf('/')+1, formName.length);
}
var theList = parent.parent.globals.document.setupPlugin.GetFolderContents(helpPath,".htm");
if (theList != null) {
for (var i=0; i<theList.length; i++) {
if (formName == theList[i]) {
if (thePlatform != "Macintosh") {
var currentpath=unescape(location.pathname);
currentpath = currentpath.substring(0, currentpath.lastIndexOf('/'));
helpFile = currentpath + "/help/" + formName;
} else {
helpFile = "./help/" + formName;
}
break;
}
}
}
}
if (helpFile != null && helpFile != "") {
if (helpWindow == null || helpWindow.closed) {
helpWindow=window.open("about:blank","Documentation","width=328,height=328,alwaysRaised=yes,dependent=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes");
}
if (helpWindow && helpWindow != null) {
helpWindow.focus();
helpWindow.location = helpFile;
}
}
}
//here are a bunch of functions for the floating toolbar
function openToolBar()
{
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var editMode = false;
if (parent && parent.parent && parent.parent.globals) {
editMode=(parent.parent.globals.document.vars.editMode.value.toLowerCase() == "yes") ? true:false;
}
if (editMode == true)
{
if (!(theToolBar) || (theToolBar == null) || !(theToolBar.location))
{
if (thePlatform == "Macintosh")
theToolBar = top.open("../../Tools/Kit/config.htm","Configurator","width=400,height=104,dependent=yes,alwaysraised=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
else
theToolBar = top.open("../../../AccountSetupTools/Kit/config.htm","Configurator","width=400,height=104,dependent=yes,alwaysraised=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no");
}
}
else
{
theToolBar = null;
}
return theToolBar;
}
function showLayer(layerName, showIfTrue)
{
//alert("showLayer "+showIfTrue);
//parent.parent.globals.debug("showing layer: " + layerName + " " + showIfTrue + " layers: " + theToolBar.document.layers.length + " " + theToolBar.document.layers[layerName]);
if ((theToolBar) && (theToolBar!=null) && (theToolBar.location) && (theToolBar.finishedLoading()))
{
var gLayerName = "g_" + layerName;
//var theLayer = eval("theToolBar.document.layers." + layerName);
//parent.parent.globals.debug("theLayer: "+theLayer+ " but t.d.l.l: " + theToolBar.document.layers[layerName]);
//var gLayer = eval("theToolBar.document.layers.g_" + layerName);
//if (theLayer)
{
if (showIfTrue == true)
{
//theToolBar.document.layers[layerName].visibility ="show";
theToolBar.showlayer(layerName);
theToolBar.hidelayer(gLayerName);
//theLayer.visibility="show";
//if (gLayer) gLayer.visibility="hide";
}
else
{
theToolBar.hidelayer(layerName);
theToolBar.showlayer(gLayerName);
//theToolBar.document.layers[layerName].visibility ="hide";
//theLayer.visibility="hide";
//if (gLayer) gLayer.visibility="show";
}
}
//else
//theToolBar.history.go(0);
}
}
function screenVisible()
{
var isVisible = true;
var formName = parent.content.location.toString();
if (formName!=null && formName!="") {
if ((x=formName.lastIndexOf("/"))>0) {
formName=formName.substring(x+1,formName.length);
}
var section=null;
var variable=null;
var pageNum=findPageOffset(formName);
if (pageNum>=0) {
section=pages[pageNum][0].section;
variable=pages[pageNum][0].variable;
if (section!=null && section!="" && variable!=null && variable!="") {
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theFlag = parent.parent.globals.GetNameValuePair(theFile,section, variable);
theFlag = theFlag.toLowerCase();
if (theFlag == "no")
isVisible=false;
}
}
//alert("clayer: screenVisible = : " + isVisible + "flag (" + variable + ") = " + theFlag);
}
return isVisible;
}
function showScreen(inValue)
{
//alert("in showscreen");
var formName = parent.content.location.toString();
if (formName!=null && formName!="")
{
if ((x=formName.lastIndexOf("/"))>0) {
formName=formName.substring(x+1,formName.length);
}
//alert("formName: " + formName);
var pageNum=findPageOffset(formName);
if (pageNum>=0)
{
var section=pages[pageNum][0].section;
var variable=pages[pageNum][0].variable;
//alert("sec: " + section + " var: "+variable);
if (section!=null && section!="" && variable!=null && variable!="") {
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theFlag; // = parent.parent.globals.GetNameValuePair(theFile,section, variable);
//theFlag = theFlag.toLowerCase();
//if (theFlag == "no") theFlag="yes";
//else theFlag="no";
if (inValue == false)
theFlag = "no";
else
theFlag = "yes";
//alert("Setting flag " + variable + " to " + theFlag + " invalue: " + inValue);
parent.parent.globals.SetNameValuePair(theFile,section, variable,theFlag);
return (theFlag == "yes");
}
}
else
{
alert("This screen cannot be suppressed");
return true; //forces the checkbox back on
}
}
}
function generateToolBarControls()
{
var editMode = false;
// var editMode = parent.parent.editMode();
var showScreenToggle = false;
var showScreenOptions = false;
var isScreenVisible = true;
var showEditHelp = true;
//var showAcctsetEdit = false;
//var showRegFileEdit = false;
//var showISPFileEdit = false;
if (parent && parent.parent && parent.parent.globals) {
editMode=(parent.parent.globals.document.vars.editMode.value.toLowerCase() == "yes") ? true:false;
}
// var formName = parent.content.location.toString();
var formName = "" + parent.content.location;
if (formName!=null && formName!="")
{
if ((x=formName.lastIndexOf("/"))>0) {
formName=formName.substring(x+1,formName.length);
}
// this decides whether we should show the checkbox
var pageNum=findPageOffset(formName);
if (pageNum>=0)
{
section=pages[pageNum][0].section;
variable=pages[pageNum][0].variable;
if (section!=null && section!="" && variable!=null && variable!="") {
showScreenToggle=true;
//var theFile = parent.parent.globals.getAcctSetupFilename(self);
//var theFlag = parent.parent.globals.GetNameValuePair(theFile,section, variable);
//theFlag = theFlag.toLowerCase();
//if (theFlag == "no") screenVisible=false;
}
}
if (formName == "main.htm") {
showScreenOptions=true;
}
else if (formName == "useAcct.htm") {
showScreenOptions=true;
}
else if (formName == "servers.htm") {
showScreenOptions=false;
}
else if (formName == "billing.htm") {
showScreenOptions=true;
}
else if (formName == "connect1.htm") {
showScreenOptions=true;
}
else if (formName == "connect2.htm") {
}
else if (formName == "register.htm") {
}
else if (formName == "ok.htm") {
showScreenOptions=true;
}
else if (formName == "okreboot.htm") {
showScreenOptions=true;
}
else if (formName == "error.htm") {
}
else if (formName == "later.htm") {
}
else if (formName == "settings.htm") {
editMode = false;
}
else if (formName == "editregs.htm") {
editMode=false;
}
else if (formName == "editisps.htm") {
editMode=false;
}
else if (formName == "aboutbox.htm") {
}
else if (formName == "namepw.htm") {
showScreenOptions=true;
}
else if ((formName == "asktty.htm")) {
showScreenOptions=false;
editMode=false;
}
else if (formName == "askserv.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "asksvinf.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "showphon.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "editcc.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "addnci.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "addias.htm") {
showScreenOptions=false;
editMode=false;
}
else if (formName == "editfour.htm") {
showScreenOptions=false;
editMode=false;
}
if (theToolBar && theToolBar != null && (theToolBar.location) && (theToolBar.document.layers) && !(theToolBar.closed)
&& (theToolBar.ready) && (theToolBar.ready == true))
{
if (theToolBar.finishedLoading())
{
showLayer("reload", editMode);
showLayer("edit", editMode);
showLayer("chooseed", editMode);
showLayer("edithelp", editMode);
showLayer("options", showScreenOptions);
showLayer("showscreen", showScreenToggle);
if (showScreenToggle == true)
theToolBar.setShowScreenBox();
theToolBar.updateLayersLayer();
//alert("found toolbar! - setting help location");
theToolBar.setHelpLocation();
}
else
{
//alert("Found toolbar, without reloadlayer!");
theToolBar.history.go(0);
}
}
//else
//alert("warning: toolbar not found");
}
}
function showDocumentLayer(inLayerName, inDoShow)
{
if (inDoShow == "hide")
inDoShow = false;
else if (inDoShow != false)
inDoShow = true;
if (parent.content && parent.content.document.layers[inLayerName])
{
if (inDoShow == true)
{
parent.content.document.layers[inLayerName].visibility = "show";
//alert("showing layer: " + inLayerName);
}
else
{
parent.content.document.layers[inLayerName].visibility = "hide";
//alert("hiding layer: " + inLayerName);
}
}
}
function countDocumentLayers()
{
if (parent.content.document.layers)
return parent.content.document.layers.length;
else
return 0;
}
function getLayerName(inIndex)
{
if (parent.content.document.layers && parent.content.document.layers[inIndex])
return parent.content.document.layers[inIndex].name;
return null;
}
function getLayerSrc(inIndex)
{
if (parent.content.document.layers && parent.content.document.layers[inIndex])
return parent.content.document.layers[inIndex].src;
return null;
}
function getDocumentLocation()
{
return parent.content.document.location;
}
function getDocumentLayerVisibility(inLayerName)
{
if (parent.content.document.layers && parent.content.document.layers[inLayerName])
return parent.content.document.layers[inLayerName].visibility;
else
return null;
}
function reloadDocument()
{
top.globals.debug("RELOADING DOCUMENT!!!!" + parent.content.history);
if (parent.content.history)
parent.content.history.go(0);
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,47 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public License
; Version 1.0 (the "NPL"); you may not use this file except in
; compliance with the NPL. You may obtain a copy of the NPL at
; http://www.mozilla.org/NPL/
;
; Software distributed under the NPL is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
; for the specific language governing rights and limitations under the
; NPL.
;
; The Initial Developer of this code under the NPL is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Mode Selection]
IntlMode=no
ForceNew=no
ForceExisting=no
ExistingSRFile=
Show_Intro_Screens=yes
Dialer_Disconnect_After=
[New Acct Mode]
ShowNewPathInfo=yes
AskPersonalInfo=yes
AskBillingInfo=yes
CardTypes="AX,DC,MC,VI"
RegServer=
SavePasswords=yes
AskSaveAcctInfo=yes
[Existing Acct Mode]
ShowNoneAbove=yes
ShowExistingPathInfo=yes
ShowPhones=no
AskName=yes
AskPhone=yes
AskLogin=yes
AskTTY=yes
AskEmail=yes
AskHosts=yes
AskDNS=yes
AskPublishing=yes
RegPodURL=http://home.netscape.com/home/register.html

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

@ -0,0 +1,44 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public License
; Version 1.0 (the "NPL"); you may not use this file except in
; compliance with the NPL. You may obtain a copy of the NPL at
; http://www.mozilla.org/NPL/
;
; Software distributed under the NPL is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
; for the specific language governing rights and limitations under the
; NPL.
;
; The Initial Developer of this code under the NPL is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Dial-In Configuration]
ScriptFileName=
Phone=+1 (800) 638-8290
Password=YWg0ZrhvamYLZix1ADRvdWpttnp3
Name=mozillarama
Description=Internet Account Server (New UI)
SiteName=Internet Account Server (New UI)
[IP]
RegCGI=https://reggie.netscape.com/DUE/reg.cgi
DNSAddress2=205.217.225.20
DNSAddress=205.217.225.10
DomainName=netscape.com
IPAddress=0.0.0.0
Enabled=Yes
[Configuration]
REG_SCRIPTING=
[Security]
SecurityDevice=No
; This is a sample registration file that logs into the
; Netscape Internet Account Server.
; New User Interface
; This file should be replaced with registration file(s)
; specific to your registration server.

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

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

@ -0,0 +1,44 @@
; Mode: INI; tab-width: 8; indent-tabs-mode: nil -*-
;
; The contents of this file are subject to the Netscape Public License
; Version 1.0 (the "NPL"); you may not use this file except in
; compliance with the NPL. You may obtain a copy of the NPL at
; http://www.mozilla.org/NPL/
;
; Software distributed under the NPL is distributed on an "AS IS" basis,
; WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
; for the specific language governing rights and limitations under the
; NPL.
;
; The Initial Developer of this code under the NPL is Netscape
; Communications Corporation. Portions created by Netscape are
; Copyright (C) 1998 Netscape Communications Corporation. All Rights
; Reserved.
;
[Dial-In Configuration]
ScriptFileName=
Phone=+1 (800) 638-8290
Password=YWg0ZrhvamYLZix1ADRvdWpttnp3
Name=mozillarama
Description=Internet Account Server (Old UI)
SiteName=Internet Account Server (Old UI)
[IP]
RegCGI=https://reggie.netscape.com/DUK1/reg.cgi
DNSAddress2=205.217.225.20
DNSAddress=205.217.225.10
DomainName=netscape.com
IPAddress=0.0.0.0
Enabled=Yes
[Configuration]
REG_SCRIPTING=
[Security]
SecurityDevice=No
; This is a sample registration file that logs into the
; Netscape Internet Account Server.
; Old User Interface.
; This file should be replaced with registration file(s)
; specific to your registration server.

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

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

@ -0,0 +1,79 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="connect1.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="connect100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<P CLASS="title"><B>Connect to Server</B></P>
<P>Account Setup will now connect you to the Internet account server, where you can learn about the account plans available and create an account. After Account Setup dials your modem and makes a connection, the Internet account server screens are displayed here, in the Account Setup window.</P>
<P>When evaluating account plans, think about these questions:</P>
<UL>
<LI>How much time do you think you'll spend on the Internet each month?</LI>
<LI>What are the monthly or hourly rates?</LI>
<LI>What technical support is offered?</LI>
</UL>
<P ID="nospace">Make sure your modem is properly connected and turned on, then click Connect to Server to begin.</P>
<CENTER>
<SCRIPT LANGUAGE = "JavaScript" ID="connect101">
generateRegServerList();
</SCRIPT>
</CENTER>
</BODY>
</HTML>

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

@ -0,0 +1,134 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (parent.parent.globals.document.vars.editMode.value != "yes") {
// if RegServer specified in ACCTSET.INI, use it
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var intlFlag = parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
var theRegFile = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","RegServer");
if (theRegFile != null && theRegFile != "") {
parent.parent.globals.document.vars.regServer.value = theRegFile;
}
else {
// otherwise, if multiple .IAS files exist, get list selection and determine appropriate .IAS file
var pathName = parent.parent.globals.getConfigFolder(self);
var theList = parent.parent.globals.document.setupPlugin.GetFolderContents(pathName,".IAS");
if (theList != null) {
if (theList.length >1) {
if (document.forms[0].regServerList.selectedIndex<0) {
alert("Please select an Internet account server.");
return(false);
}
for (var x=0; x<theList.length; x++) {
var file = parent.parent.globals.getConfigFolder(self) + theList[x];
var name = parent.parent.globals.document.setupPlugin.GetNameValuePair(file,"Dial-In Configuration","SiteName");
if (name == document.forms[0].regServerList.options[document.forms[0].regServerList.selectedIndex].text) {
parent.parent.globals.document.vars.regServer.value = theList[x];
break;
}
}
if (parent.parent.globals.document.vars.regServer.value == "") {
alert("Internal problem locating appropriate registration server file.");
return(false);
}
}
else if (theList.length==1) {
parent.parent.globals.document.vars.regServer.value = theList[0];
}
else {
alert("Internal problem locating a registration server file.");
return(false);
}
}
else {
alert("Internal problem locating appropriate registration server file.");
return(false);
}
}
return(true);
}
else {
return(false);
}
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
function generateRegServerList()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
// if RegServer is not specified in ACCTSET.INI and multiple .IAS files exist, build list
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theRegFile = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","RegServer");
if (theRegFile == null || theRegFile == "") {
var pathName = parent.parent.globals.getConfigFolder(self);
var theList = parent.parent.globals.document.setupPlugin.GetFolderContents(pathName,".IAS");
if (theList != null) {
if (theList.length >1) {
document.writeln("<TABLE CELLPADDING=2 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=LEFT VALIGN=TOP HEIGHT=25><spacer type=vertical size=2><B>Select an Internet account server:</B></TD><TD ALIGN=LEFT VALIGN=TOP><FORM><SELECT NAME='regServerList'>");
for (var x=0; x<theList.length; x++) {
var file = parent.parent.globals.getConfigFolder(self) + theList[x];
var name = parent.parent.globals.document.setupPlugin.GetNameValuePair(file,"Dial-In Configuration","SiteName");
var selected=(x==0) ? " SELECTED":"";
document.writeln("<OPTION VALUE='" + name + "'" + selected + ">" + name);
}
document.writeln("</SELECT></FORM></TD></TR></TABLE>");
}
}
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,63 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="connect2.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="connect200">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>You're Done!</B></P>
<P>You're now finished using Account Setup and can connect to the Internet after you click Connect Now or Done. </P>
<P>If you want to connect to the Internet now, click Connect Now. If you don't want to connect
to the Internet now, click Done. When you want to use the Internet, all you have to do is launch Communicator from the Netscape Communicator folder or program group.</P>
</BODY>
</HTML>

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

@ -0,0 +1,538 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function configureDialer()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var intlFlag = parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
var theFolder = parent.parent.globals.getConfigFolder(self);
theRegFile = theFolder + parent.parent.globals.document.vars.regServer.value;
// platform check
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
/*
// determine name of scripting file
var scriptEnabledFlag = parent.parent.globals.GetNameValuePair(theRegFile,"Script","ScriptEnabled");
scriptEnabledFlag = scriptEnabledFlag.toLowerCase();
var theScriptFile = "";
if (scriptEnabledFlag == "yes") {
theScriptFile = parent.parent.globals.GetNameValuePair(theRegFile,"Script","ScriptFileName");
if (theScriptFile != null && theScriptFile != "") {
theScriptFile = theFolder + theScriptFile;
scriptEnabledFlag = "TRUE";
}
else {
theScriptFile="";
scriptEnabledFlag = "FALSE";
}
}
else {
scriptEnabledFlag = "FALSE";
}
*/
// determine outside line access string
var outsideLineAccessStr = "";
if (parent.parent.globals.document.vars.prefixData.value != "") {
outsideLineAccessStr = parent.parent.globals.document.vars.prefixData.value;
x = outsideLineAccessStr.indexOf(",");
if (x<0) outsideLineAccessStr = outsideLineAccessStr + ",";
}
// build TAPI phone number
if (intlFlag == "yes") {
var thePhone = parent.parent.globals.document.vars.accountPhoneNumber.value;
var theCountry = "";
var theCountryCode=""; // XXX
var longDistanceAccess="";
var dialAsLongDistanceFlag="FALSE";
var dialAreaCodeFlag="FALSE";
var userAreaCode="";
}
else {
var thePhone = "(" + parent.parent.globals.document.vars.accountAreaCode.value + ") " + parent.parent.globals.document.vars.accountPhoneNumber.value;
var theCountry = "USA";
var theCountryCode="1";
var longDistanceAccess="1"; // XXX
var dialAsLongDistanceFlag="TRUE";
var dialAreaCodeFlag="TRUE";
var userAreaCode=parent.parent.globals.document.vars.modemAreaCode.value;
if (userAreaCode == parent.parent.globals.document.vars.accountAreaCode.value) {
dialAsLongDistanceFlag="FALSE";
dialAreaCodeFlag = "FALSE";
}
}
// determine new profile name (used for Account in dialer & profile name, save info default filename)
var newProfileName = parent.parent.globals.document.vars.accountName.value;
if (newProfileName=="") {
newProfileName = parent.parent.globals.document.vars.first.value;
if (parent.parent.globals.document.vars.last.value != "") {
newProfileName = newProfileName + " " + parent.parent.globals.document.vars.last.value;
}
}
if (newProfileName!="") newProfileName = newProfileName + "'s";
if (parent.parent.globals.document.vars.providername.value != "") {
newProfileName = newProfileName + " " + parent.parent.globals.document.vars.providername.value;
}
newProfileName = newProfileName + " Account";
if (newProfileName.length > 240) newProfileName=newProfileName.substring(0,240);
if (thePlatform == "Win16") {
if (newProfileName.length > 40) newProfileName=newProfileName.substring(0,40);
}
// On WIN32 platforms, check if newProfileName contains any invalid characters, such as '/'
// On Mac, disallow invalid characters such as ':'
if ((thePlatform == "WinNT") || (thePlatform == "Win95")) {
var x=0;
x = newProfileName.indexOf('/');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('/');
}
x = newProfileName.indexOf('\\');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\\');
}
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
x = newProfileName.indexOf('\"');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\"');
}
x = newProfileName.indexOf('?');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('?');
}
x = newProfileName.indexOf('<');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('<');
}
x = newProfileName.indexOf('>');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('>');
}
x = newProfileName.indexOf('|');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('|');
}
x = newProfileName.indexOf('&');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('&');
}
}
else if (thePlatform == "Macintosh") {
var x=0;
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
}
else if (thePlatform == "Win31") {
var x=0;
x = newProfileName.indexOf('(');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('(');
}
x = newProfileName.indexOf(')');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(')');
}
}
// configure dialer
dialerData = parent.parent.globals.document.setupPlugin.newStringArray(28); // increment this # as new dialer strings are added
dialerData[0] = "FileName=" + theRegFile;
dialerData[1] = "AccountName=" + newProfileName; // parent.parent.globals.document.vars.providername.value;
dialerData[2] = "ISPPhoneNum=" + thePhone;
dialerData[3] = "LoginName=" + parent.parent.globals.document.vars.accountName.value;
dialerData[4] = "Password=" + parent.parent.globals.document.vars.accountPassword.value;
dialerData[5] = "DNSAddress=" + parent.parent.globals.document.vars.primaryDNS.value;
dialerData[6] = "DNSAddress2=" + parent.parent.globals.document.vars.secondaryDNS.value;
dialerData[7] = "DomainName=" + parent.parent.globals.document.vars.domainName.value;
dialerData[8] = "IPAddress=" + parent.parent.globals.document.vars.ipAddress.value;
dialerData[9] = "IntlMode=" + ((intlFlag=="yes") ? "TRUE":"FALSE");
dialerData[10] = "DialOnDemand=TRUE";
dialerData[11] = "ModemName=" + parent.parent.globals.document.vars.modem.value;
dialerData[12] = "ModemType=" + parent.parent.globals.document.setupPlugin.GetModemType(parent.parent.globals.document.vars.modem.value);
dialerData[13] = "DialType=" + parent.parent.globals.document.vars.dialMethod.value;
dialerData[14] = "OutsideLineAccess=" + outsideLineAccessStr;
dialerData[15] = "DisableCallWaiting=" + ((parent.parent.globals.document.vars.cwData.value != "") ? "TRUE":"FALSE");
dialerData[16] = "DisableCallWaitingCode=" + parent.parent.globals.document.vars.cwData.value;
dialerData[17] = "UserAreaCode=" + userAreaCode;
dialerData[18] = "CountryCode=" + theCountryCode;
dialerData[19] = "LongDistanceAccess=" + longDistanceAccess;
dialerData[20] = "DialAsLongDistance=" + dialAsLongDistanceFlag;
dialerData[21] = "DialAreaCode=" + dialAreaCodeFlag;
dialerData[22] = "ScriptEnabled=" + parent.parent.globals.document.vars.scriptEnabled.value;
dialerData[23] = "ScriptFileName=" + parent.parent.globals.document.vars.scriptFile.value;
dialerData[24] = "NeedsTTYWindow=" + (parent.parent.globals.document.vars.ttyWindow.checked ? "TRUE":"FALSE"); // XXX
dialerData[25] = "Location=Home";
dialerData[26] = "DisconnectTime=" + parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","Dialer_Disconnect_After");
dialerData[27] = "Path=Existing";
// write out dialer data to Java Console
if (parent.parent.globals.document.vars.debugMode.value.toLowerCase() == "yes") {
parent.parent.globals.debug("\nDialer data (ISP: '" + parent.parent.globals.document.vars.providername.value + "'): ");
var numElements = dialerData.length;
for (var x=0; x<numElements; x++) {
parent.parent.globals.debug(" " + x + ": " + dialerData[x]);
}
}
parent.parent.globals.document.setupPlugin.DialerConfig(dialerData,false);
// configure desktop (Windows)
var fileName = parent.parent.globals.document.vars.providerFilename.value;
var iconFilename = fileName.toUpperCase();
if (iconFilename == "") {
iconFilename = theFolder + "DEFAULT.ICO";
}
else {
var x = iconFilename.lastIndexOf(".NCI");
if (x>0) {
iconFilename = iconFilename.substring(0,x) + ".ICO";
}
else {
iconFilename = "";
}
}
parent.parent.globals.document.setupPlugin.DesktopConfig(newProfileName, iconFilename, theFile);
// set up Navigator preferences
var userName = parent.parent.globals.document.vars.first.value;
if (parent.parent.globals.document.vars.last.value != "") {
userName = userName + " " + parent.parent.globals.document.vars.last.value;
}
navigator.preference("network.hosts.smtp_server", parent.parent.globals.document.vars.SMTP.value);
navigator.preference("network.hosts.nntp_server", parent.parent.globals.document.vars.NNTP.value);
navigator.preference("network.hosts.pop_server", parent.parent.globals.document.vars.mailServer.value);
if (parent.parent.globals.document.vars.mailProtocol.value.toUpperCase() == "IMAP") {
navigator.preference("mail.server_type", 1);
}
else {
navigator.preference("mail.server_type", 0);
}
var mailID=""
var mailAccount = parent.parent.globals.document.vars.emailName.value;
x = mailAccount.indexOf("@");
if (x>=0) {
mailID=mailAccount.substring(0,x);
}
else {
mailID=mailAccount;
if (parent.parent.globals.document.vars.domainName.value != "") {
mailAccount = mailID + "@" + parent.parent.globals.document.vars.domainName.value;
}
}
navigator.preference("mail.pop_name", mailID);
navigator.preference("mail.identity.organization", parent.parent.globals.document.vars.company.value);
navigator.preference("mail.identity.reply_to", mailAccount);
navigator.preference("mail.identity.username", userName);
navigator.preference("mail.identity.useremail", mailAccount);
navigator.preference("mail.remember_password", false);
navigator.preference("mail.pop_password", "");
var theMailPassword=parent.parent.globals.document.vars.emailPassword.value;
if (theMailPassword != null && theMailPassword != "") {
theMailPassword = parent.parent.globals.document.setupPlugin.EncryptString(theMailPassword);
if (theMailPassword != null && theMailPassword != "") {
navigator.preference("mail.remember_password", true);
navigator.preference("mail.pop_password", theMailPassword);
}
}
navigator.preference("editor.author", userName);
navigator.preference("editor.publish_username", parent.parent.globals.document.vars.accountName.value);
navigator.preference("editor.publish_location", parent.parent.globals.document.vars.publishURL.value);
navigator.preference("editor.publish_browse_location", parent.parent.globals.document.vars.viewURL.value);
navigator.preference("editor.publish_password", "");
navigator.preference("editor.publish_save_password", false);
var thePublishPassword=parent.parent.globals.document.vars.publishPassword.value;
if (thePublishPassword != "") {
thePublishPassword = parent.parent.globals.document.setupPlugin.EncryptString(thePublishPassword);
if (thePublishPassword != null && thePublishPassword != "") {
navigator.preference("editor.publish_password", thePublishPassword);
navigator.preference("editor.publish_save_password", true);
}
}
navigator.preference("browser.mac.use_internet_config", false);
var profileDir = parent.parent.globals.document.setupPlugin.GetCurrentProfileDirectory();
if (profileDir != null && profileDir != "") {
// write MUC Configuration file
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var configFile="";
if (thePlatform == "Macintosh") { // Macintosh support
configFile = profileDir + "Configuration";
}
else { // Windows support
configFile = profileDir + "CONFIG.INI";
}
parent.parent.globals.document.setupPlugin.SetNameValuePair(configFile,"Account", "Account", newProfileName); // parent.parent.globals.document.vars.providername.value);
parent.parent.globals.document.setupPlugin.SetNameValuePair(configFile,"Modem", "Modem", parent.parent.globals.document.vars.modem.value);
parent.parent.globals.document.setupPlugin.SetNameValuePair(configFile,"Location", "Location", "Home");
// write out default Bookmark file (if one doesn't exist yet)
var currentBookmarkFilename="";
if (thePlatform == "Macintosh") { // Macintosh support
currentBookmarkFilename = profileDir + "Bookmarks.html";
}
else { // Windows support
currentBookmarkFilename = profileDir + "BOOKMARK.HTM";
}
var bookmarkData = parent.parent.globals.document.setupPlugin.GetNameValuePair(currentBookmarkFilename,null,null);
if ((bookmarkData == null) || (bookmarkData == "") || (bookmarkData.indexOf("HREF")<0)) {
var defaultBookmarkFilename = parent.parent.globals.getConfigFolder(self) + "bookmark.htm";
bookmarkData = parent.parent.globals.document.setupPlugin.GetNameValuePair(defaultBookmarkFilename,null,null);
if (bookmarkData != null && bookmarkData != "") {
parent.parent.globals.document.setupPlugin.SaveTextToFile(currentBookmarkFilename,bookmarkData,false);
}
}
// copy profile lock file (if one is specified in selected .NCI file)
theProviderFilename = parent.parent.globals.document.vars.providerFilename.value;
if (theProviderFilename != "") {
var configLockFile = parent.parent.globals.document.setupPlugin.GetNameValuePair(theProviderFilename,"Configuration","ConfigurationFileName");
if (configLockFile != null && configLockFile != "") {
// read in .CFG file (from Config folder)
configLockFile = theFolder + configLockFile;
var cfgData = parent.parent.globals.document.setupPlugin.ReadFile(configLockFile);
if (cfgData != null && cfgData != "") {
// write out PROFILE.CFG file (inside of current profile directory)
var profileLockfilename = profileDir + "PROFILE.CFG";
parent.parent.globals.document.setupPlugin.WriteFile(profileLockfilename,cfgData);
}
}
}
}
// rename profile
if (thePlatform == "Macintosh") {
if (newProfileName.length > 31) newProfileName=newProfileName.substring(0,31);
}
parent.parent.globals.document.setupPlugin.SetCurrentProfileName(newProfileName);
if (parent.parent.globals.document.vars.debugMode.value.toLowerCase() == "yes") {
parent.parent.globals.debug("\nSetting profile name: " + newProfileName);
}
}
function showWindowBars()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
// check browser version
var theAgent=navigator.userAgent;
var x=theAgent.indexOf("/");
if (x>=0) {
theVersion=theAgent.substring(x+1,theAgent.length);
x=theVersion.indexOf(".");
if (x>0) {
theVersion=theVersion.substring(0,x);
}
if (parseInt(theVersion)>=4) {
top.statusbar.visible=true;
top.scrollbars.visible=true;
top.toolbar.visible=true;
top.menubar.visible=true;
top.locationbar.visible=true;
top.personalbar.visible=true;
}
}
parent.parent.globals.document.setupPlugin.SetKiosk(false);
}
function setLocation(theURL)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var theWindow=window.open(theURL,"__BLANK","toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes");
// parent.parent.location.replace(theURL); // jumping to the URL
top.close();
}
function go(msg)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (msg=="Connect Now") {
if (parent.parent.globals.document.vars.editMode.value != "yes") {
configureDialer();
if (parent.parent.globals.document.setupPlugin.NeedReboot() == true) {
parent.parent.globals.forceReboot("connect2.htm"); // XXX hardcode in name of next screen???
return(false);
}
if (parent.parent.globals.document.setupPlugin.DialerConnect() == false) {
window.location.replace("error.htm"); // XXX hardcode in name of next screen???
return(false);
}
// showWindowBars();
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theURL = parent.parent.globals.GetNameValuePair(theFile,"Existing Acct Mode","RegPodURL");
if (theURL == null || theURL == "") {
theURL = "http://home.netscape.com/";
}
setTimeout("setLocation(\'" + theURL + "\')", 1000);
}
else {
alert("You cannot connect while in edit mode.");
return(false);
}
}
else if (msg == "error.htm") {
if (parent.parent.globals.document.vars.editMode.value == "yes") { // only do this if editMode is false
return (confirm("Since you are in edit mode, would you like to edit the error screen that users will see if the connection fails?"));
}
else {
return(false);
}
}
else if ((msg=="Later") && (parent.parent.globals.document.vars.editMode.value != "yes")) {
configureDialer();
//showWindowBars();
return(true);
}
else if (msg=="Back") {
history.back();
}
return(false);
}
function checkData()
{
return(true);
}
function doGo()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
parent.controls.go("Next");
}
function loadData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (parent.parent.globals.document.vars.tryAgain.value == "yes") {
parent.parent.globals.document.vars.tryAgain.value = "no";
setTimeout("doGo()",1);
}
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,98 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="dial.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" ONLOAD="loadData()" ID="dial100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Your Account Access Phone Number</B></P>
<P>Enter the number you dial to connect to your Internet account.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Telephone Number:
</B>
<spacer type=vertical size=2>
</TD>
<TD VALIGN="TOP" ALIGN="LEFT" COLSPAN="2">
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" ID="nospace">
<TR>
<TD ALIGN="CENTER" VALIGN="BOTTOM">
<SCRIPT LANGUAGE="JavaScript" ID="dial101">
writeLocalText("Area Code:");
</SCRIPT>
</TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM">
Number:&nbsp;
</TD>
</TR>
<TR>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="accountAreaCode" TYPE="&{localString};" SIZE=3 MAXLENGTH=3>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT NAME="accountPhoneNumber" TYPE="text" SIZE=24 MAXLENGTH=24>
</TD></TR></TABLE>
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>

128
cmd/dialup/as_html/dial.js Normal file
Просмотреть файл

@ -0,0 +1,128 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var intlString = "";
var localString = "";
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var intlFlag = parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
if (intlFlag == "yes") {
intlString = "text";
localString = "hidden";
}
else {
intlString = "hidden";
localString = "text";
}
function writeLocalText(theString)
{
if (localString == "text") {
document.write(theString);
}
}
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (intlFlag != "yes") {
if (document.forms[0].accountAreaCode.value == "") {
alert("You must enter an area code.");
parent.parent.globals.setFocus(document.forms[0].accountAreaCode);
return(false);
}
if (parent.parent.globals.verifyAreaCode(document.forms[0].accountAreaCode.value)==false) {
alert("Please enter a valid area code.");
parent.parent.globals.setFocus(document.forms[0].accountAreaCode);
return(false);
}
}
if (document.forms[0].accountPhoneNumber.value == "") {
alert("You must enter a telephone number.");
parent.parent.globals.setFocus(document.forms[0].accountPhoneNumber);
return(false);
}
if (parent.parent.globals.verifyPhoneNumber(document.forms[0].accountPhoneNumber.value)==false) {
alert("Please enter a valid telephone number.");
parent.parent.globals.setFocus(document.forms[0].accountPhoneNumber);
return(false);
}
return(true);
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].accountAreaCode == "undefined") || (document.forms[0].accountAreaCode == "[object InputArray]")) ||
((document.forms[0].accountPhoneNumber == "undefined") || (document.forms[0].accountPhoneNumber == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
if (intlFlag != "yes") {
document.forms[0].accountAreaCode.value = parent.parent.globals.document.vars.accountAreaCode.value;
}
document.forms[0].accountPhoneNumber.value = parent.parent.globals.document.vars.accountPhoneNumber.value;
parent.parent.globals.setFocus(document.forms[0].accountAreaCode);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].accountAreaCode == "undefined") || (document.forms[0].accountAreaCode == "[object InputArray]")) ||
((document.forms[0].accountPhoneNumber == "undefined") || (document.forms[0].accountPhoneNumber == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
if (intlFlag != "yes") {
parent.parent.globals.document.vars.accountAreaCode.value = document.forms[0].accountAreaCode.value;
}
parent.parent.globals.document.vars.accountPhoneNumber.value = document.forms[0].accountPhoneNumber.value;
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,154 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="dialinf1.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" ONLOAD="loadData()" ID="dialinf100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Dialing Settings for Your Location</B></P>
<P>Please specify any special dialing settings that apply to the location that you are connecting from.</P>
<P>If you have Call Waiting, you should turn it off before you connect. Select a code from the pop-up menu below, or enter one of your own in the text box.</P>
<spacer type=horizontal size=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0"ID="minspace">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>Turn off Call Waiting with:&nbsp;</B>
<SPACER TYPE=VERTICAL SIZE=2>
</TD>
<TD ALIGN=LEFT VALIGN="MIDDLE" ALIGN="RIGHT">
<INPUT NAME="cwData" TYPE="text" SIZE=8 MAXLENGTH=8 ONCHANGE="updateCWOptions(document.forms[0].cwData)" ID="dialinf101">
<SPACER TYPE=HORIZONTAL SIZE=6>
</TD>
<TD ALIGN=LEFT VALIGN="BOTTOM" ALIGN="RIGHT">
<SPACER TYPE=VERTICAL SIZE=1>
<SELECT NAME="cwOptions" ONCHANGE="updateCWOptions(document.forms[0].cwOptions)" ID="dialinf102">
<OPTION VALUE="">(Line Doesn't Have Call Waiting)
<OPTION VALUE="*70,">*70,
<OPTION VALUE="1170,">1170,
<OPTION VALUE="70#,">70#,
</SELECT>
</TD>
</TR>
</TABLE>
<SPACER TYPE=VERTICAL SIZE=16>
<P>If you are connecting from a building with an internal phone network--such as from an office or a hotel--you need to access an outside line before you can connect.</P>
<spacer type=horizontal size=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" ID="minspace">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>Access an outside line by dialing:&nbsp;</B>
<SPACER TYPE=VERTICAL SIZE=2>
</TD>
<TD ALIGN=LEFT VALIGN="MIDDLE" ALIGN="LEFT">
<INPUT NAME="prefixData" TYPE="text" SIZE=8 MAXLENGTH=20 ONCHANGE="updatePrefix(document.forms[0].prefixData)" ID="dialinf103">
</TD>
</TR>
</TABLE>
<!-- The layer below contains pulse and tone radio buttons --!>
<LAYER NAME = "dialingMethods" VISIBILITY = "hide">
<P ID="nospace">Which dialing method would you like to use?</P>
<spacer type=horizontal size=72>
<TABLE CELLPADDING="0" CELLSPACING="0" border="0" ID="minspace">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
<FORM>
<INPUT NAME="dialMethod" TYPE="radio" VALUE="TONE" CHECKED>Tone
<INPUT NAME="dialMethod" TYPE="radio" VALUE="PULSE">Pulse
</FORM>
</B>
</TD>
</TR>
</TABLE>
</LAYER>
<SCRIPT LANGUAGE="JavaScript" ID="dialinf104">
generateDialingMethods();
updateCWOptions(document.forms[0].cwData);
</SCRIPT>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,275 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
return(true);
}
function verifyCallWaiting(cwData)
{
var validFlag=true;
if (cwData.length > 0) {
for (var x=0; x<cwData.length; x++) {
if ("0123456789*#,".indexOf(cwData.charAt(x)) <0) {
validFlag=false;
break;
}
}
}
return(validFlag);
}
function verifyPrefix(prefixData)
{
var validFlag=true;
if (prefixData.length > 0) {
for (var x=0; x<prefixData.length; x++) {
if ("0123456789,".indexOf(prefixData.charAt(x)) <0) {
validFlag=false;
break;
}
}
}
return(validFlag);
}
function checkData()
{
if (verifyCallWaiting(document.forms[0].cwData.value) == false) {
alert("Please enter a valid call waiting string. (It may contain numbers, asterisks, pound signs and commas.)");
parent.parent.globals.setFocus(document.forms[0].cwData);
return(false);
}
if (verifyPrefix(document.forms[0].prefixData.value) == false) {
alert("Please enter a valid outside line string. (It may contain numbers and commas.)");
parent.parent.globals.setFocus(document.forms[0].prefixData);
return(false);
}
return(true);
}
function loadData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].cwData == "undefined") || (document.forms[0].cwData == "[object InputArray]")) ||
((document.forms[0].cwOptions == "undefined") || (document.forms[0].cwOptions == "[object InputArray]")) ||
((document.forms[0].prefixData == "undefined") || (document.forms[0].prefixData == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].cwData.value=parent.parent.globals.document.forms[0].cwData.value;
// document.forms[0].cwOFF.checked=parent.parent.globals.document.forms[0].cwOFF.checked;
// document.forms[0].cwOFF.checked=(document.forms[0].cwData.value=="") ? 0:1;
var found=false;
for (var i = 0; i < document.forms[0].cwOptions.length; i++) {
if (document.forms[0].cwOptions[i].value==parent.parent.globals.document.forms[0].cwData.value) {
document.forms[0].cwOptions[i].selected=true;
found=true;
}
else {
document.forms[0].cwOptions[i].selected=false;
}
}
if (found==false) {
if (document.forms[0].cwData.value == "") {
document.forms[0].cwOptions[0].text = "(Line Doesn't Have Call Waiting)";
document.forms[0].cwOptions[0].value = "";
}
else {
document.forms[0].cwOptions[0].text = document.forms[0].cwData.value;
document.forms[0].cwOptions[0].value = document.forms[0].cwData.value;
}
document.forms[0].cwOptions[0].selected=true;
}
document.forms[0].prefixData.value=parent.parent.globals.document.forms[0].prefixData.value;
// document.forms[0].prefix.checked=parent.parent.globals.document.forms[0].prefix.checked;
// document.forms[0].prefix.checked=(document.forms[0].prefixData.value=="") ? 0:1;
var theModem = parent.parent.globals.document.vars.modem.value;
var theModemType = parent.parent.globals.document.setupPlugin.GetModemType(theModem);
if (theModemType != null) {
theModemType = theModemType.toUpperCase();
if (theModemType == "ISDN") {
// do nothing
}
else {
if (parent.parent.globals.document.forms[0].dialMethod.value == "PULSE") {
document.layers["dialingMethods"].document.forms[0].dialMethod[0].checked=false;
document.layers["dialingMethods"].document.forms[0].dialMethod[1].checked=true;
}
else {
document.layers["dialingMethods"].document.forms[0].dialMethod[0].checked=true;
document.layers["dialingMethods"].document.forms[0].dialMethod[1].checked=false;
}
}
}
parent.parent.globals.setFocus(document.forms[0].cwData);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].cwData == "undefined") || (document.forms[0].cwData == "[object InputArray]")) ||
((document.forms[0].cwOptions == "undefined") || (document.forms[0].cwOptions == "[object InputArray]")) ||
((document.forms[0].prefixData == "undefined") || (document.forms[0].prefixData == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
// parent.parent.globals.document.forms[0].cwOFF.checked = document.forms[0].cwOFF.checked;
parent.parent.globals.document.forms[0].cwData.value = document.forms[0].cwData.value;
// parent.parent.globals.document.forms[0].prefix.checked = document.forms[0].prefix.checked;
parent.parent.globals.document.forms[0].prefixData.value = document.forms[0].prefixData.value;
var theModem = parent.parent.globals.document.vars.modem.value;
var theModemType = parent.parent.globals.document.setupPlugin.GetModemType(theModem);
if (theModemType != null) {
theModemType = theModemType.toUpperCase();
if (theModemType == "ISDN") {
parent.parent.globals.document.forms[0].dialMethod.value = theModemType;
}
else {
if (document.layers["dialingMethods"].document.forms[0].dialMethod[1].checked == true) {
parent.parent.globals.document.forms[0].dialMethod.value = document.layers["dialingMethods"].document.forms[0].dialMethod[1].value;
}
else {
parent.parent.globals.document.forms[0].dialMethod.value = document.layers["dialingMethods"].document.forms[0].dialMethod[0].value;
}
}
}
}
function updateCWOptions(theObject)
{
/*
if (theObject.name=="cwOFF") {
if (theObject.checked) {
parent.parent.globals.setFocus(document.forms[0].cwData);
}
else {
document.forms[0].cwData.value="";
document.forms[0].cwOFF.checked=0;
}
}
else
*/
if (theObject.name=="cwData") {
document.forms[0].cwOptions[0].text = "(Line Doesn't Have Call Waiting)";
document.forms[0].cwOptions[0].value = "";
if (document.forms[0].cwData.value=="") {
document.forms[0].cwOptions.selectedIndex = 0;
}
else {
var found=0;
for (var x=1; x<document.forms[0].cwOptions.length; x++) {
if (document.forms[0].cwOptions[x].text == document.forms[0].cwData.value) {
found=x;
break;
}
}
if (found<1) {
document.forms[0].cwOptions[0].text = document.forms[0].cwData.value;
document.forms[0].cwOptions[0].value = document.forms[0].cwData.value;
}
document.forms[0].cwOptions.selectedIndex = found;
}
}
else
if (theObject.name=="cwOptions") {
document.forms[0].cwData.value=document.forms[0].cwOptions[document.forms[0].cwOptions.selectedIndex].value;
parent.parent.globals.setFocus(document.forms[0].cwData);
// document.forms[0].cwOFF.checked=1;
}
return(true);
}
function updatePrefix(theObject)
{
/*
if (theObject.name=="prefix") {
if (theObject.checked) {
parent.parent.globals.setFocus(document.forms[0].prefixData);
}
else {
document.forms[0].prefixData.value="";
document.forms[0].prefix.checked=0;
}
}
else if (theObject.name=="prefixData") {
if (document.forms[0].prefixData.value=="") {
document.forms[0].prefix.checked=0;
}
else {
document.forms[0].prefix.checked=1;
}
}
*/
return(false);
}
function generateDialingMethods()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var theModem = parent.parent.globals.document.vars.modem.value;
var theModemType = parent.parent.globals.document.setupPlugin.GetModemType(theModem);
if (theModemType != null && theModemType.toUpperCase() != "ISDN")
{
document.layers["dialingMethods"].visibility = "show";
}
else
{
document.layers["dialingMethods"].visibility = "hide";
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,112 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="dialinf2.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" ONLOAD="loadData()" ID="dialinf200">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Phone Number of Your Location</B></P>
<P>Please enter the phone number of the line that you are using to connect--the line that is now connected to your computer or modem. Account Setup uses this information to set up your connection software to access the Internet.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Telephone Number:
</B>
<spacer type=vertical size=2>
</TD>
<TD VALIGN="TOP" ALIGN="LEFT" COLSPAN="2">
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" ID="nospace">
<TR>
<TD ALIGN="CENTER" VALIGN="BOTTOM">
<SCRIPT LANGUAGE="JavaScript" ID="dialinf202">
writeLocalText("Area Code:");
</SCRIPT>
</TD>
</TR>
<TR>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="modemAreaCode" TYPE="&{localString};" SIZE=3 MAXLENGTH=3>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT NAME="modemPhoneNumber" TYPE="text" SIZE=24 MAXLENGTH=24>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
<P>Please enter optional alternate area codes that you can call from your location to access and Internet service
provider.</P>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0">
<TR>
<TD VALIGN="TOP" ALIGN="LEFT" COLSPAN="2">
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" ID="nospace">
<TR>
<TD VALIGN="TOP" ALIGN="LEFT">
<B>Alternate Area Code 1:</B>
<SPACER TYPE=VERTICAL SIZE=2>
</TD>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="altAreaCode1" TYPE="text" SIZE=3 MAXLENGTH=3>
</TD>
</TR>
<TR>
<TD VALIGN="MIDDLE" ALIGN="LEFT">
<B>Alternate Area Code 2:</B>
<SPACER TYPE=VERTICAL SIZE=2>
</TD>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="altAreaCode2" TYPE="text" SIZE=3 MAXLENGTH=3>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
<B>Alternate Area Code 3:</B>
<SPACER TYPE=VERTICAL SIZE=2>
</TD>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="altAreaCode3" TYPE="text" SIZE=3 MAXLENGTH=3>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,171 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var intlString = "";
var localString = "";
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var intlFlag = parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
if ( intlFlag == "yes" )
{
intlString = "text";
localString = "hidden";
}
else
{
intlString = "hidden";
localString = "text";
}
function writeLocalText( theString )
{
if ( localString == "text" )
{
document.write( theString );
}
}
function go( msg )
{
if ( ( parent.parent.globals.document.vars.editMode.value == "yes" ) || checkData() )
{
if ( msg == parent.parent.globals.document.vars.path.value )
{
return true;
}
}
return false;
}
function checkData()
{
if ( intlFlag != "yes" )
{
if ( document.forms[ 0 ].modemAreaCode.value == "" )
{
alert( "You must enter an area code." );
parent.parent.globals.setFocus( document.forms[ 0 ].modemAreaCode );
return false;
}
if ( parent.parent.globals.verifyAreaCode( document.forms[ 0 ].modemAreaCode.value ) == false )
{
alert( "Please enter a valid area code." );
parent.parent.globals.setFocus( document.forms[ 0 ].modemAreaCode );
return false;
}
}
if ( document.forms[ 0 ].modemPhoneNumber.value == "" )
{
alert( "You must enter a telephone number." );
parent.parent.globals.setFocus( document.forms[ 0 ].modemPhoneNumber );
return false;
}
if ( parent.parent.globals.verifyPhoneNumber( document.forms[ 0 ].modemPhoneNumber.value ) == false )
{
alert( "Please enter a valid telephone number." );
parent.parent.globals.setFocus( document.forms[ 0 ].modemPhoneNumber );
return false;
}
return true;
}
function loadData()
{
// ¥ make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if ( ( ( document.forms[ 0 ].modemAreaCode == "undefined" ) ||
( document.forms[ 0 ].modemAreaCode == "[object InputArray]" )
) ||
( ( document.forms[ 0 ].modemPhoneNumber == "undefined" ) ||
( document.forms[ 0 ].modemPhoneNumber == "[object InputArray]" ) ) )
{
top.globals.debug( "FORM ELEMENT = " + document.forms[ 0 ].modemPhoneNumber );
top.globals.debug( "SET FOCUS: " + document.forms[ 0 ].modemAreaCode + "BAD OBJECT!!!" );
top.globals.debug( "HISTORY: " + parent.content.history );
parent.controls.reloadDocument();
return;
}
document.forms[ 0 ].modemAreaCode.value = parent.parent.globals.document.vars.modemAreaCode.value;
if ( intlFlag != "yes" )
{
if ( document.forms[ 0 ].modemAreaCode.value == "" )
{
document.forms[ 0 ].modemAreaCode.value = parent.parent.globals.document.vars.areaCode.value;
}
}
document.forms[ 0 ].modemPhoneNumber.value = parent.parent.globals.document.vars.modemPhoneNumber.value;
if ( document.forms[ 0 ].modemPhoneNumber.value == "" )
{
document.forms[ 0 ].modemPhoneNumber.value = parent.parent.globals.document.vars.phoneNumber.value;
}
document.forms[ 0 ].altAreaCode1.value = parent.parent.globals.document.vars.altAreaCode1.value;
document.forms[ 0 ].altAreaCode2.value = parent.parent.globals.document.vars.altAreaCode2.value;
document.forms[ 0 ].altAreaCode3.value = parent.parent.globals.document.vars.altAreaCode3.value;
parent.parent.globals.setFocus( document.forms[ 0 ].modemAreaCode );
if ( parent.controls.generateControls )
parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].modemAreaCode == "undefined") || (document.forms[0].modemAreaCode == "[object InputArray]")) ||
((document.forms[0].modemPhoneNumber == "undefined") || (document.forms[0].modemPhoneNumber == "[object InputArray]")))
{
top.globals.debug("SAVE DATA ...");
top.globals.debug("FORM ELEMENT = " + document.forms[0].modemPhoneNumber);
top.globals.debug("SET FOCUS: " + document.forms[0].modemAreaCode + "BAD OBJECT!!!");
top.globals.debug("HISTORY: " + parent.content.history);
parent.controls.reloadDocument();
return;
}
if ( intlFlag != "yes" )
{
parent.parent.globals.document.vars.modemAreaCode.value = document.forms[ 0 ].modemAreaCode.value;
}
parent.parent.globals.document.vars.modemPhoneNumber.value = document.forms[ 0 ].modemPhoneNumber.value;
parent.parent.globals.document.vars.altAreaCode1.value = document.forms[ 0 ].altAreaCode1.value;
parent.parent.globals.document.vars.altAreaCode2.value = document.forms[ 0 ].altAreaCode2.value;
parent.parent.globals.document.vars.altAreaCode3.value = document.forms[ 0 ].altAreaCode3.value;
}
// end hiding contents from old browsers -->

133
cmd/dialup/as_html/dns.htm Normal file
Просмотреть файл

@ -0,0 +1,133 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="dns.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="dns100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Your Provider's Domain and DNS Servers</B></P>
<P>Enter your provider's domain name and DNS server addresses. Your provider might have given you this information when you created your account. If you don't have the information, call your provider's technical support office before continuing.</P>
<CENTER>
<TABLE CELLPADDING="3" CELLSPACING="0" border="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Domain name:
</B>
<spacer type=vertical size=8>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<INPUT NAME="domainName" TYPE="text" SIZE=32 MAXLENGTH=32>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
<spacer type=horizontal size=3>(For example, <BR>
<spacer type=horizontal size=3>providername.com)
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Primary DNS&nbsp;
<BR>
Server Address:
</B>
</TD>
<TD ALIGN="LEFT" VALIGN="BOTTOM">
<INPUT NAME="primaryDNS" TYPE="text" SIZE=32 MAXLENGTH=32>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
<spacer type=horizontal size=3>(For example, 0.0.0.0)
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Secondary DNS&nbsp;
<BR>
Server Address:
</B>
</TD>
<TD ALIGN="LEFT" VALIGN="BOTTOM">
<INPUT NAME="secondaryDNS" TYPE="text" SIZE=32 MAXLENGTH=32>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
<spacer type=horizontal size=3>(For example, 0.0.0.0)
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

98
cmd/dialup/as_html/dns.js Normal file
Просмотреть файл

@ -0,0 +1,98 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (document.forms[0].primaryDNS.value == "" && document.forms[0].secondaryDNS.value != "") {
document.forms[0].primaryDNS.value = document.forms[0].secondaryDNS.value;
document.forms[0].secondaryDNS.value = "";
}
if (document.forms[0].primaryDNS.value != "") {
if (parent.parent.globals.verifyIPaddress(document.forms[0].primaryDNS.value)==false) {
alert("The address of the primary DNS server is not valid. It should consist of digits separated by periods.");
document.forms[0].primaryDNS.focus();
document.forms[0].primaryDNS.select();
return(false);
}
}
if (document.forms[0].secondaryDNS.value != "") {
if (parent.parent.globals.verifyIPaddress(document.forms[0].secondaryDNS.value)==false) {
alert("The address of the secondary DNS server is not valid. It should consist of digits separated by periods.");
document.forms[0].secondaryDNS.focus();
document.forms[0].secondaryDNS.select();
return(false);
}
}
return(true);
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].domainName == "undefined") || (document.forms[0].domainName == "[object InputArray]")) ||
((document.forms[0].primaryDNS == "undefined") || (document.forms[0].primaryDNS == "[object InputArray]")) ||
((document.forms[0].secondaryDNS == "undefined") || (document.forms[0].secondaryDNS == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].domainName.value = parent.parent.globals.document.vars.domainName.value;
document.forms[0].primaryDNS.value = parent.parent.globals.document.vars.primaryDNS.value;
document.forms[0].secondaryDNS.value = parent.parent.globals.document.vars.secondaryDNS.value;
parent.parent.globals.setFocus(document.forms[0].domainName);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].domainName == "undefined") || (document.forms[0].domainName == "[object InputArray]")) ||
((document.forms[0].primaryDNS == "undefined") || (document.forms[0].primaryDNS == "[object InputArray]")) ||
((document.forms[0].secondaryDNS == "undefined") || (document.forms[0].secondaryDNS == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.domainName.value = document.forms[0].domainName.value;
parent.parent.globals.document.vars.primaryDNS.value = document.forms[0].primaryDNS.value;
parent.parent.globals.document.vars.secondaryDNS.value = document.forms[0].secondaryDNS.value;
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,80 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="connect1.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="download100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<P CLASS="title"><B>Download</B></P>
<P>Account Setup will now connect you to the Internet account server, to download information about available account plans.
It may take as long as two minutes for the information to be retrieved.</P>
<P>When evaluating account plans, think about these questions:</P>
<UL>
<LI>How much time do you think you'll spend on the Internet each month?</LI>
<LI>What are the monthly or hourly rates?</LI>
<LI>What technical support is offered?</LI>
</UL>
<P ID="nospace">Make sure your modem is properly connected and turned on, then click Download to begin.</P>
<CENTER>
<SCRIPT LANGUAGE = "JavaScript" ID="connect101">
generateRegServerList();
</SCRIPT>
</CENTER>
</BODY>
</HTML>

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

@ -0,0 +1,153 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go( msg )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
// ¥ skip if we're in edit mode
if ( parent.parent.globals.document.vars.editMode.value != "yes" )
{
// ¥ if "RegServer" specified in ACCTSET.INI, use it
var theFile = parent.parent.globals.getAcctSetupFilename( self );
var intlFlag = parent.parent.globals.GetNameValuePair( theFile, "Mode Selection", "IntlMode" );
intlFlag = intlFlag.toLowerCase();
var theRegFile = parent.parent.globals.GetNameValuePair( theFile, "New Acct Mode", "RegServer" );
if ( theRegFile != null && theRegFile != "" )
{
parent.parent.globals.document.vars.regServer.value = theRegFile;
}
else
{
// ¥ otherwise, if multiple .IAS files exist, get list selection and determine appropriate .IAS file
var pathName = parent.parent.globals.getConfigFolder( self );
var theList = parent.parent.globals.document.setupPlugin.GetFolderContents( pathName,".IAS" );
if ( theList != null )
{
if ( theList.length > 1 )
{
if ( document.forms[ 0 ].regServerList.selectedIndex < 0 )
{
alert( "Please select an Internet account server." );
return false;
}
for ( var x = 0; x < theList.length; x++ )
{
var file = parent.parent.globals.getConfigFolder( self ) + theList[ x ];
var name = parent.parent.globals.document.setupPlugin.GetNameValuePair( file, "Dial-In Configuration", "SiteName" );
if ( name == document.forms[ 0 ].regServerList.options[ document.forms[ 0 ].regServerList.selectedIndex ].text )
{
parent.parent.globals.document.vars.regServer.value = theList[ x ];
break;
}
}
if ( parent.parent.globals.document.vars.regServer.value == "" )
{
alert( "Internal problem locating appropriate registration server file." );
return false;
}
}
else if ( theList.length == 1 )
{
parent.parent.globals.document.vars.regServer.value = theList[ 0 ];
}
else
{
alert( "Internal problem locating a registration server file." );
return false;
}
}
else
{
alert( "Internal problem locating appropriate registration server file." );
return false;
}
}
return true;
}
else
{
return false;
}
}
function checkData()
{
return true;
}
function loadData()
{
if ( parent.controls.generateControls )
parent.controls.generateControls();
}
function saveData()
{
}
function generateRegServerList()
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
// if RegServer is not specified in ACCTSET.INI and multiple .IAS files exist, build list
var theFile = parent.parent.globals.getAcctSetupFilename( self );
var theRegFile = parent.parent.globals.GetNameValuePair( theFile, "New Acct Mode", "RegServer" );
if ( theRegFile == null || theRegFile == "" )
{
var pathName = parent.parent.globals.getConfigFolder( self );
var theList = parent.parent.globals.document.setupPlugin.GetFolderContents( pathName, ".IAS" );
if ( theList != null )
{
if ( theList.length > 1 )
{
document.writeln( "<TABLE CELLPADDING=2 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=LEFT VALIGN=TOP HEIGHT=25><spacer type=vertical size=2><B>Select an Internet account server:</B></TD><TD ALIGN=LEFT VALIGN=TOP><FORM><SELECT NAME='regServerList'>");
for ( var x = 0; x < theList.length; x++ )
{
var file = parent.parent.globals.getConfigFolder( self ) + theList[ x ];
var name = parent.parent.globals.document.setupPlugin.GetNameValuePair( file, "Dial-In Configuration", "SiteName" );
var selected = ( x== 0 ) ? " SELECTED" : "";
document.writeln( "<OPTION VALUE='" + name + "'" + selected + ">" + name );
}
document.writeln( "</SELECT></FORM></TD></TR></TABLE>" );
}
}
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,151 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" SRC="editfour.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="editfour.js">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000000" VLINK="#000000" ALINK="#FF0000"
onload="loadData()" ID="editfour100">
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" WIDTH="100%" ID="nospace">
<TR>
<TD BGCOLOR="#CCCCFF">
<spacer type=horizontal size=4>
<P STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='12px';fontWeight='bold';lineHeight='1';marginTop='0';marginRight='40';marginLeft='0';
">Other Account Setup Screens</P>
</FONT>
</TD>
</TR>
<TR>
<TD>
<spacer type=vertical size=6>
</TD>
</TR>
</TABLE>
<TABLE BORDER="1" CELLSPACING="0" CELLPADDING="0" BGCOLOR="#FFFFFF" WIDTH="100%" ID="nospace">
<TR>
<TD ALIGN=LEFT VALIGN=TOP>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="3" BGCOLOR="#FFFFFF" WIDTH="100%" ID="nospace">
<TR>
<TD VALIGN="TOP" WIDTH=468 ALIGN=LEFT>
<FONT STYLE="marginLeft='6';fontSize='10px';fontFamily='PrimaSans BT,Helvetica,Arial';marginTop='6'
">The last few screens of the Account Setup's IAS mode are listed below. Account Setup displays these screens only in the specific circumstances described. You can edit these screens just as you would other screens of Account Setup. To load one of the screens, click the arrow corresponding to the screen. </P>
</TD>
</TR>
</TABLE>
<TABLE BORDER="0" CELLSPACING="0" CELLPADDING="2" BGCOLOR="#FFFFFF" WIDTH= ID="nospace">
<TR>
<TD VALIGN="TOP">
<A HREF="about:blank" onclick="setPath('register.htm');return false" ID="editfour101"><IMG NAME="next" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</TD>
<TD><FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
<B>register.htm</B>
</FONT>
<spacer type=vertical size=8>
<FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
Displayed by Account Setup while it is in the process of connecting to the Internet account server.
</FONT>
</TD>
</TR>
<TR>
<TD>
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
<A HREF="about:blank" onclick="setPath('ok.htm');return false" ID="editfour102"><IMG NAME="next" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</TD>
<TD><FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
<B>ok.htm</B>
</FONT>
<spacer type=vertical size=8>
<FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
Displayed by Account Setup when the user has successfully completed the process of using your Internet account server to create an account. Account Setup receives the user's account information from your server, disconnects from the server, then loads this screen in the Account Setup window.
</FONT>
</TD>
</TR>
<TR>
<TD>
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
<A HREF="about:blank" onclick="setPath('okreboot.htm');return false" ID="editfour103"><IMG NAME="next" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</TD>
<TD><FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
<B>okreboot.htm</B>
</FONT>
<spacer type=vertical size=8>
<FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
Displayed in the same circumstances as above, if the users must restart his or her computer before connecting to the Internet. This is a situation which
will occur on Macintoshes running MacTCP only. Ignore this page if you are configuring for a Windows environment.
</FONT>
</TD>
</TR>
<TR>
<TD>
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="TOP">
<A HREF="about:blank" onclick="setPath('error.htm');return false" ID="editfour104"><IMG NAME="next" SRC="images/nxt_up.gif" BORDER=0 HEIGHT=32 WIDTH=32></A>
</TD>
<TD><FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
<B>error.htm</B>
</FONT>
<spacer type=vertical size=8>
<FONT STYLE="fontFamily='PrimaSans BT,Helvetica,Arial';fontSize='10px';marginTop='0';marginLeft='24'
">
Displayed if Account Setup can't establish a connection with your Internet account server or the user connects to the Internet account server but exits without creating an account.
</FONT><spacer type=vertical size=4>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,64 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var thePath = "";
function go(msg)
{
if (msg == thePath) {
return(checkData());
}
return(false);
}
function doGo()
{
parent.controls.go("Next");
}
function setPath(msg)
{
thePath = msg;
setTimeout("doGo()",1);
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent && parent.controls && parent.controls.generateControls) {
parent.controls.generateControls();
}
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,119 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="email.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="email100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Your Email Login and Password</B></P>
<P>Enter your email name and password, if they are different from your account login name and password. If you are not sure about your email login and password, call your provider's technical support office.</P>
<CENTER>
<TABLE CELLPADDING="3" CELLSPACING="0" border="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Email Login:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT NAME="emailName" TYPE="text" SIZE=32 MAXLENGTH=32>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
(For example, jsmith)
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Password:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="emailPassword" TYPE="password" SIZE=32 MAXLENGTH=32>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Type Password Again:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="emailPasswordCheck" TYPE="password" SIZE=32 MAXLENGTH=32>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,93 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (document.forms[0].emailPassword.value != document.forms[0].emailPasswordCheck.value) {
if (document.forms[0].emailPassword.value == "") {
parent.parent.globals.setFocus(document.forms[0].emailPassword);
}
else {
parent.parent.globals.setFocus(document.forms[0].emailPasswordCheck);
}
alert("The password you entered in 'Type Password Again' does not match the password you entered in 'Password'. Please re-enter your password.");
return(false);
}
return(true);
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].emailName == "undefined") || (document.forms[0].emailName == "[object InputArray]")) ||
((document.forms[0].emailPassword == "undefined") || (document.forms[0].emailPassword == "[object InputArray]")) ||
((document.forms[0].emailPasswordCheck == "undefined") || (document.forms[0].emailPasswordCheck == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].emailName.value = parent.parent.globals.document.vars.emailName.value;
document.forms[0].emailPassword.value = parent.parent.globals.document.vars.emailPassword.value;
document.forms[0].emailPasswordCheck.value = parent.parent.globals.document.vars.emailPasswordCheck.value;
if (document.forms[0].emailName.value == "" && document.forms[0].emailPassword.value == "" && document.forms[0].emailPasswordCheck.value == "") {
document.forms[0].emailName.value = parent.parent.globals.document.vars.accountName.value;
document.forms[0].emailPassword.value = parent.parent.globals.document.vars.accountPassword.value;
document.forms[0].emailPasswordCheck.value = parent.parent.globals.document.vars.accountPasswordCheck.value;
}
parent.parent.globals.setFocus(document.forms[0].emailName);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].emailName == "undefined") || (document.forms[0].emailName == "[object InputArray]")) ||
((document.forms[0].emailPassword == "undefined") || (document.forms[0].emailPassword == "[object InputArray]")) ||
((document.forms[0].emailPasswordCheck == "undefined") || (document.forms[0].emailPasswordCheck == "[object InputArray]")))
{
parent.controls.reloadDocument();
return(true);
}
parent.parent.globals.document.vars.emailName.value = document.forms[0].emailName.value;
parent.parent.globals.document.vars.emailPassword.value = document.forms[0].emailPassword.value;
parent.parent.globals.document.vars.emailPasswordCheck.value = document.forms[0].emailPasswordCheck.value;
return(true);
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,106 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="error.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="error100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline of this screen -->
<P CLASS="title"><B>Connection Error...</B></P>
<!-- The layer below contains the text displayed for errors encountered while the user
is in IAS mode -->
<LAYER NAME="IAS Mode" VISIBILITY=HIDE>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH=470>
<TR>
<TD ALIGN=LEFT VALIGN=TOP BGCOLOR="FFFFFF">
<P ID="nomargins">Your connection to the Internet account server closed before you finished creating an account.</P>
<P ID="nomargins">If you exited the Internet account server before you were finished creating an account, you can reconnect to the server later by launching Account Setup from the Netscape Communicator folder.</P>
<P ID="nomargins">If Account Setup wasn't able to establish a connection with the Internet account server, make sure that your modem is installed properly, connected, and turned on. Also make sure that the telephone line you are using has an ordinary dial tone. When you're ready to try connecting again, click Connect Again.</P>
<P ID="nomargins">For more troubleshooting tips, click Help.</P>
</TD>
</TR>
</TABLE>
</LAYER>
<!-- The layer below contains the text displayed for errors encountered while the user
is in NCI mode -->
<LAYER NAME="NCI Mode" VISIBILITY=HIDE>
<SPACER TYPE=HORIZONTAL SIZE=72>
<TABLE BORDER="0" CELLPADDING="6" CELLSPACING="0" WIDTH=500>
<TR>
<TD ALIGN=LEFT VALIGN=TOP BGCOLOR="FFFFFF">
<P ID="nomargins">Account Setup wasn't able to establish a connection to your account. Make sure that your modem is installed properly, connected, and turned on. Also make sure that the telephone line you are using has an ordinary dial tone. When you're ready to try connecting again, click Connect Again.</P>
<P ID="nomargins">For more troubleshooting tips, click Help.</P>
</TD>
</TR>
</TABLE>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,82 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value != "yes")
{
if (msg == parent.parent.globals.document.vars.path.value) {
parent.parent.globals.document.vars.tryAgain.value = "yes";
return(checkData());
}
return(false);
}
else {
if (msg == parent.parent.globals.document.vars.path.value)
alert("Sorry, you cannot connect while in using the Account Setup Editor.");
return(false);
}
}
function checkData()
{
return(true);
}
function showErrorLayer()
{
if (document.layers["IAS Mode"] && document.layers["NCI Mode"]) {
if (parent.parent.globals.document.vars.path.value == "Existing Path") {
document.layers["IAS Mode"].visibility = "hide";
document.layers["NCI Mode"].visibility = "show";
}
else {
document.layers["IAS Mode"].visibility = "show";
document.layers["NCI Mode"].visibility = "hide";
}
}
else {
setTimeout("showErrorLayer()",1000);
}
}
function loadData()
{
setTimeout("showErrorLayer()",1000);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,142 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<EMBED NAME='setupPlugin' TYPE='application/x-netscape-autoconfigure-dialer' HIDDEN=true MAYSCRIPT></EMBED>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="globals1.js">
</SCRIPT>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="globals2.js">
</SCRIPT>
</HEAD>
<BODY BGCOLOR = #000066>
<PRE>
<FORM NAME="vars">
Debug Mode: <INPUT NAME="debugMode" TYPE="Text" VALUE="yes"><BR>
Edit Mode: <INPUT NAME="editMode" TYPE="Text" VALUE="no"><BR>
QA Mode: <INPUT NAME="qaMode" TYPE="Text" VALUE="no"><BR>
International Mode: <INPUT NAME="intlMode" TYPE="Text"><BR>
Startup File: <INPUT NAME="startupFile" TYPE="Text"><BR>
Registration server: <INPUT NAME="regServer" TYPE="text"><BR>
Reg Data: <TEXTAREA ROWS=4 COLS=60 NAME="regData" TYPE="text"></TEXTAREA><BR>
Reg Bookmark File: <TEXTAREA ROWS=4 COLS=60 NAME="regBookmark" TYPE="text"></TEXTAREA><BR>
Reg Lock File: <TEXTAREA ROWS=4 COLS=60 NAME="lockFile" TYPE="text"></TEXTAREA><BR>
RegMode Active: <INPUT NAME="regMode" TYPE="text"><P>
Inited: <INPUT NAME="inited" TYPE="Text" VALUE="no"><BR>
Offline Mode: <INPUT NAME="offlineMode" TYPE="Text"><BR>
Warn on Cookies: <INPUT NAME="cookieWarning" TYPE="Text"><BR>
Error, Try Again: <INPUT NAME="tryAgain" TYPE="Text" VALUE="no"><BR>
Screen History: <TEXTAREA ROWS=3 COLS=40 NAME="pageHistory"></TEXTAREA><BR>
<P><CENTER><HR WIDTH="50%"></CENTER><P>
Path: <INPUT NAME="path" TYPE="text"><BR>
First: <INPUT NAME="first" TYPE="text"><BR>
Last: <INPUT NAME="last" TYPE="text"><BR>
Company: <INPUT NAME="company" TYPE="text"><BR>
Address1: <INPUT NAME="address1" TYPE="text"><BR>
Address2: <INPUT NAME="address2" TYPE="text"><BR>
Address3: <INPUT NAME="address3" TYPE="text"><BR>
City: <INPUT NAME="city" TYPE="text">
State: <INPUT NAME="state" TYPE="text">
Zip: <INPUT NAME="zip" TYPE="text"><BR>
Areacode: <INPUT NAME="areaCode" TYPE="text">
Phonenumber: <INPUT NAME="phoneNumber" TYPE="text"><BR>
Country: <INPUT NAME="country" TYPE="text"><BR>
CountryCode: <INPUT NAME="countryCode" TYPE="text"><BR>
Cardname: <INPUT NAME="cardname" TYPE="text"><BR>
Cardtype: <INPUT NAME="cardtype" TYPE="text"><BR>
Cardcode: <INPUT NAME="cardcode" TYPE="text"><BR>
Cardnumber: <INPUT NAME="cardnumber" TYPE="text"><BR>
Month: <INPUT NAME="month" TYPE="text"><BR>
Year: <INPUT NAME="year" TYPE="text"><BR>
Modem: <INPUT NAME="modem" TYPE="text"><BR>
Manufacturer: <INPUT NAME="manufacturer" TYPE="text"><BR>
Model: <INPUT NAME="model" TYPE="text"><BR>
<INPUT NAME="port" TYPE="radio">Modem Port<BR>
<INPUT NAME="port" TYPE="radio">Printer Port<BR>
Modem Areacode: <INPUT NAME="modemAreaCode" TYPE="text">
Modem Phonenumber: <INPUT NAME="modemPhoneNumber" TYPE="text"><BR>
Accept Language: <INPUT NAME="acceptLanguage" TYPE="text">
Alternate Area Code 1: <INPUT NAME="altAreaCode1" TYPE="text">
Alternate Area Code 2: <INPUT NAME="altAreaCode2" TYPE="text">
Alternate Area Code 3: <INPUT NAME="altAreaCode3" TYPE="text"><BR>
<!INPUT NAME="cwOFF" TYPE="checkbox">
CallWaiting: <INPUT NAME="cwData" TYPE="text"><BR>
<!INPUT NAME="prefix" TYPE="checkbox">
Prefix: <INPUT NAME="prefixData" TYPE="text"><BR>
DialMethod: <INPUT NAME="dialMethod" TYPE="text"><BR>
Providername: <INPUT NAME="providername" TYPE="text"><BR>
ProviderFilename: <INPUT NAME="providerFilename" TYPE="text"><BR>
Account Areacode: <INPUT NAME="accountAreaCode" TYPE="text">
Account Phonenumber: <INPUT NAME="accountPhoneNumber" TYPE="text"><BR>
Login Name: <INPUT NAME="accountName" TYPE="text"><BR>
Password: <INPUT NAME="accountPassword" TYPE="password"><BR>
Password Check: <INPUT NAME="accountPasswordCheck" TYPE="password"><BR>
TTY Window: <INPUT NAME="ttyWindow" TYPE="checkbox"><BR>
Email Name: <INPUT NAME="emailName" TYPE="text"><BR>
Email Password: <INPUT NAME="emailPassword" TYPE="password"><BR>
Email Password Check: <INPUT NAME="emailPasswordCheck" TYPE="password"><BR>
Publish URL: <INPUT NAME="publishURL" TYPE="text"><BR>
Publish Password: <INPUT NAME="publishPassword" TYPE="password"><BR>
Publish Password Check: <INPUT NAME="publishPasswordCheck" TYPE="password"><BR>
View URL: <INPUT NAME="viewURL" TYPE="text"><BR>
SMTP server: <INPUT NAME="SMTP" TYPE="text"><BR>
Mail server: <INPUT NAME="mailServer" TYPE="text"><BR>
Mail protocol: <INPUT NAME="mailProtocol" TYPE="text"><BR>
NNTP server: <INPUT NAME="NNTP" TYPE="text"><BR>
LDAP server: <TEXTAREA NAME="LDAP" TYPE="text"></TEXTAREA><BR>
Domain name: <INPUT NAME="domainName" TYPE="text"><BR>
Primary DNS server: <INPUT NAME="primaryDNS" TYPE="text"><P>
Secondary DNS server: <INPUT NAME="secondaryDNS" TYPE="text"><P>
Static IP address: <INPUT NAME="ipAddress" TYPE="text"><P>
Static IP address: <INPUT NAME="scriptEnabled" TYPE="text"><P>
Static IP address: <INPUT NAME="scriptFile" TYPE="text"><P>
Profile Lockfilename: <INPUT NAME="lckFilename" TYPE="text"><P>
External Editor: <INPUT NAME="externalEditor" TYPE="text"><P>
</FORM>
</PRE>
</BODY>
<SCRIPT LANGUAGE="JavaScript" ID="globals100">
loadGlobalData();
</SCRIPT>
</HTML>

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

@ -0,0 +1,881 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
compromisePrincipals();
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
enableExternalCapture(); // This requires UniversalBrowserWrite access
parent.captureEvents( Event.MOUSEDOWN | Event.MOUSEUP | Event.DRAGDROP | Event.DBLCLICK );
parent.onmousedown = cancelEvent;
parent.onmouseup = cancelEvent;
parent.ondragdrop = cancelEvent;
parent.ondblclick = cancelEvent;
function cancelEvent( e )
{
var retVal = false;
if ( ( e.which < 2 ) && ( e.type != "dragdrop" ) && ( e.type != "dblclick" ) )
retVal = routeEvent( e );
return retVal;
}
function debug( theString )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
if ( document.vars.debugMode.value.toLowerCase() == "yes" )
document.setupPlugin.debug( theString );
}
function GetNameValuePair( file, section, variable )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
var value = parent.globals.document.setupPlugin.GetNameValuePair( file, section, variable );
if ( value == null )
value = "";
return value;
}
function SetNameValuePair( file, section, variable, data )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
parent.globals.document.setupPlugin.SetNameValuePair( file, section, variable, data );
debug( "\tSetNameValuePair: [" + section + "] " + variable + "=" + data );
}
// ¥Êreturns a string representing the path to the folder named "Config" inside the folder "Data" that
// is installed in the Communicator's home directory
function getConfigFolder( theObject )
{
// var thePlatform = new String( navigator.userAgent );
// var x = thePlatform.indexOf( "(" ) + 1;
// var y = thePlatform.indexOf( ";", x + 1 );
// thePlatform = thePlatform.substring( x, y );
var pathName;
pathName = getFolder( theObject ) + "Config/";
// if ( thePlatform == "Macintosh" ) // Macintosh support
// pathName = getFolder( theObject ) + "Config/";
// else // Windows support
// pathName = getFolder( theObject ) + "Config/";
debug( "getConfigFolder: " + pathName );
return pathName;
}
// ¥Êreturns a string representing the path to the file "ACCTSET.INI" inside the folder
// returned from getConfigFolder
function getAcctSetupFilename( theObject )
{
// var thePlatform = new String( navigator.userAgent );
// var x = thePlatform.indexOf( "(" ) + 1;
// var y = thePlatform.indexOf( ";", x + 1 );
// thePlatform = thePlatform.substring( x, y );
var theFile;
theFile = getConfigFolder( theObject ) + "ACCTSET.INI";
// if ( thePlatform == "Macintosh" )
// Macintosh support
// theFile = getConfigFolder( theObject ) + "ACCTSET.INI";
// else
// theFile = getConfigFolder( theObject ) + "ACCTSET.INI";
debug( "getAcctSetupFilename: " + theFile );
return theFile;
}
// ¥Êreturns a canoncial path to the folder containing the document representing the current contents of "theWindow"
function getFolder( theWindow )
{
var thePlatform = new String( navigator.userAgent );
var x = thePlatform.indexOf( "(" ) + 1;
var y = thePlatform.indexOf( ";", x + 1 );
thePlatform = thePlatform.substring( x, y );
if ( thePlatform == "Macintosh" )
{ // Macintosh support
var path = unescape( theWindow.location.pathname );
if ( ( x = path.lastIndexOf( "/" ) ) > 0 )
path = path.substring( 0, x + 1 );
//var fileArray = path.split( "/" );
//var newpath = fileArray.join( ":" ) + ":";
//if ( newpath.charAt( 0 ) == ':' )
// newpath = newpath.substring( 1, newpath.length );
newpath = unescape( path );
}
else
{ // Windows support
// note: JavaScript returns path with '/' instead of '\'
var path = unescape( theWindow.location.pathname );
// gets the drive letter and directory path
if ( ( x = path.lastIndexOf( "|" ) ) > 0 )
{
var Drive = path.substring( path.indexOf( '/' ) + 1, path.indexOf( '|' ) );
var dirPath = path.substring( path.indexOf( '|' ) + 1, path.lastIndexOf( '/' ) + 1 );
}
// construct newpath
newpath = Drive + ":" + dirPath;
}
return newpath;
}
function setFocus( theObject )
{
theObject.focus();
theObject.select();
}
function message( txt )
{
window.status = txt;
setTimeout( "remove_message()", 10000 );
}
function remove_message()
{
window.status = "";
}
function checkPluginExists( name, generateOutputFlag )
{
/*
var myPlugin = navigator.plugins["name"];
if (myPlugin) {
// do something here
}
else {
document.writeln("<CENTER><STRONG>Warning! The '" +name+ "' plug-in is not installed!</STRONG></CENTER>\n");
}
*/
if ( navigator.javaEnabled() )
{
var myMimetype = navigator.mimeTypes[ name ]
if ( myMimetype )
{
return true;
}
else
{
if ( generateOutputFlag == true )
{
document.writeln( "<CENTER><STRONG>The 'Account Setup Plugin' is not installed!<P>\n" );
document.writeln( "Please install the plugin, then run 'Account Setup' again.</STRONG></CENTER>\n" );
}
return false;
}
}
else
{
if ( generateOutputFlag==true )
{
document.writeln( "<CENTER><STRONG>Java support is disabled!<P>\n" );
document.writeln( "Choose Options | Network Preferences and enable Java, then try again.</STRONG></CENTER>\n" );
}
return false;
}
}
function forceReboot(pageName)
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
debug( "go: Reboot needed before move to page " + pageName );
alert( "A reboot is needed. Account Setup will continue after the reboot." );
navigator.preference( "mail.check_new_mail", false );
document.vars.startupFile.value = pageName;
saveGlobalData();
// if rebooting and using magic profile, rename it so that it won't be automatically deleted at next launch
var profileName = parent.parent.globals.document.setupPlugin.GetCurrentProfileName();
if ( profileName != null && profileName != "" )
{
profileName = profileName.toUpperCase();
if ( profileName == '911' || profileName == 'USER1' )
parent.parent.globals.document.setupPlugin.SetCurrentProfileName( "912" );
}
parent.parent.globals.document.setupPlugin.Reboot( getFolder( self ) + "start.htm" );
}
function findVariable( theVar )
{
var theValue = "";
var regData = parent.parent.globals.document.vars.regData.value;
var x = regData.indexOf( theVar + "=" );
if ( x >= 0 )
{
x = x + theVar.length + 1;
var y = regData.indexOf( "\r", x );
if ( y > x )
{
theValue = regData.substring( x, y );
debug( "findVariable: " + theVar + "=" + theValue );
}
}
return theValue;
}
// contentFile = "main.htm";
function getContentPage()
{
// var file = contentFile;
// contentFile = null;
var file = parent.parent.globals.document.vars.startupFile.value;
parent.parent.globals.document.vars.startupFile.value = "";
return file;
}
function setContentPage( file )
{
// contentFile = file;
parent.parent.globals.document.vars.startupFile.value = file;
}
function loadUserInput()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (document.vars.inited.value != "yes") {
document.vars.inited.value = "yes";
var cookieWarning = navigator.preference("network.cookie.warnAboutCookies");
if (cookieWarning == true) {
document.vars.cookieWarning.value = "yes";
}
else {
document.vars.cookieWarning.value = "no";
}
navigator.preference("network.cookie.warnAboutCookies", false);
document.vars.offlineMode.value = navigator.preference("offline.startup_mode");
navigator.preference("offline.startup_mode", 0); // online
navigator.preference("network.online", true);
var acctSetupFile = getAcctSetupFilename(self);
if (acctSetupFile != null && acctSetupFile != "") {
var intlMode = parent.parent.globals.GetNameValuePair(acctSetupFile,"Mode Selection","IntlMode");
if (intlMode != null && intlMode != "") {
intlMode = intlMode.toLowerCase();
}
}
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if (userInputFile != null && userInputFile != "") {
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection="Account Setup User Input";
var regServer = GetNameValuePair(userInputFile,theSection,"regServer");
if (regServer != null && regServer != "") {
document.vars.regServer.value = regServer;
SetNameValuePair(userInputFile,theSection,"regServer", "");
}
document.vars.first.value = GetNameValuePair(userInputFile,theSection,"first");
document.vars.last.value = GetNameValuePair(userInputFile,theSection,"last");
document.vars.company.value = GetNameValuePair(userInputFile,theSection,"company");
document.vars.address1.value = GetNameValuePair(userInputFile,theSection,"address1");
document.vars.address2.value = GetNameValuePair(userInputFile,theSection,"address2");
if (intlMode=="yes") {
document.vars.address3.value = GetNameValuePair(userInputFile,theSection,"address3");
document.vars.city.value="";
document.vars.state.value="";
document.vars.zip.value="";
document.vars.areaCode.value="";
}
else {
document.vars.address3.value="";
document.vars.city.value = GetNameValuePair(userInputFile,theSection,"city");
document.vars.state.value = GetNameValuePair(userInputFile,theSection,"state");
document.vars.zip.value = GetNameValuePair(userInputFile,theSection,"zip");
document.vars.areaCode.value = GetNameValuePair(userInputFile,theSection,"areaCode");
}
document.vars.phoneNumber.value = GetNameValuePair(userInputFile,theSection,"phoneNumber");
document.vars.country.value = GetNameValuePair(userInputFile,theSection,"country");
document.vars.countryCode.value = GetNameValuePair(userInputFile,theSection,"countryCode");
document.vars.cardname.value = GetNameValuePair(userInputFile,theSection,"cardname");
document.vars.cardtype.value = GetNameValuePair(userInputFile,theSection,"cardtype");
document.vars.cardcode.value = GetNameValuePair(userInputFile,theSection,"cardcode");
document.vars.cardnumber.value = GetNameValuePair(userInputFile,theSection,"cardnumber");
SetNameValuePair(userInputFile,theSection,"cardnumber", "");
document.vars.month.value = GetNameValuePair(userInputFile,theSection,"month");
document.vars.year.value = GetNameValuePair(userInputFile,theSection,"year");
document.vars.modem.value = GetNameValuePair(userInputFile,theSection,"modem");
document.vars.manufacturer.value = GetNameValuePair(userInputFile,theSection,"manufacturer");
document.vars.model.value = GetNameValuePair(userInputFile,theSection,"model");
document.vars.externalEditor.value = GetNameValuePair(userInputFile,theSection,"externalEditor");
if (intlMode=="yes") {
document.vars.modemAreaCode.value="";
}
else {
document.vars.modemAreaCode.value = GetNameValuePair(userInputFile,theSection,"modemAreaCode");
}
document.vars.modemPhoneNumber.value = GetNameValuePair(userInputFile,theSection,"modemPhoneNumber");
document.vars.cwData.value = GetNameValuePair(userInputFile,theSection,"cwData");
if (document.vars.cwData.value != null && document.vars.cwData.value != "") {
// document.vars.prefix.cwOFF=1;
}
else {
// document.vars.prefix.cwOFF=0;
}
document.vars.prefixData.value = GetNameValuePair(userInputFile,theSection,"prefixData");
if (document.vars.prefixData.value != null && document.vars.prefixData.value != "") {
// document.vars.prefix.checked=1;
}
else {
// document.vars.prefix.checked=0;
}
document.vars.dialMethod.value = GetNameValuePair(userInputFile,theSection,"dialMethod");
document.vars.providername.value = GetNameValuePair(userInputFile,theSection,"providername");
if (intlMode=="yes") {
document.vars.accountAreaCode.value="";
}
else {
document.vars.accountAreaCode.value = GetNameValuePair(userInputFile,theSection,"accountAreaCode");
}
document.vars.accountPhoneNumber.value = GetNameValuePair(userInputFile,theSection,"accountPhoneNumber");
document.vars.accountName.value = GetNameValuePair(userInputFile,theSection,"accountName");
document.vars.emailName.value = GetNameValuePair(userInputFile,theSection,"emailName");
document.vars.publishURL.value = GetNameValuePair(userInputFile,theSection,"publishURL");
document.vars.viewURL.value = GetNameValuePair(userInputFile,theSection,"viewURL");
document.vars.accountPassword.value = GetNameValuePair(userInputFile,theSection,"accountPassword"); // existing path
document.vars.accountPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"accountPasswordCheck");
document.vars.emailPassword.value = GetNameValuePair(userInputFile,theSection,"emailPassword");
document.vars.emailPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"emailPasswordCheck");
document.vars.publishPassword.value = GetNameValuePair(userInputFile,theSection,"publishPassword");
document.vars.publishPasswordCheck.value = GetNameValuePair(userInputFile,theSection,"publishPasswordCheck");
document.vars.SMTP.value = GetNameValuePair(userInputFile,theSection,"SMTP");
document.vars.mailServer.value = GetNameValuePair(userInputFile,theSection,"mailServer");
document.vars.mailProtocol.value = GetNameValuePair(userInputFile,theSection,"mailProtocol");
document.vars.NNTP.value = GetNameValuePair(userInputFile,theSection,"NNTP");
document.vars.domainName.value = GetNameValuePair(userInputFile,theSection,"domainName");
document.vars.primaryDNS.value = GetNameValuePair(userInputFile,theSection,"primaryDNS");
document.vars.secondaryDNS.value = GetNameValuePair(userInputFile,theSection,"secondaryDNS");
document.vars.ipAddress.value = GetNameValuePair(userInputFile,theSection,"ipAddress");
document.vars.scriptEnabled.value = GetNameValuePair(userInputFile,theSection,"scriptEnabled");
document.vars.scriptFile.value = GetNameValuePair(userInputFile,theSection,"scriptFile");
document.vars.lckFilename.value = GetNameValuePair(userInputFile,theSection,"lckFilename");
SetNameValuePair(userInputFile,theSection,"accountPassword", ""); // existing path
SetNameValuePair(userInputFile,theSection,"accountPasswordCheck", "");
SetNameValuePair(userInputFile,theSection,"emailPassword", "");
SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", "");
SetNameValuePair(userInputFile,theSection,"publishPassword", "");
SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", "");
}
}
}
/*
loadGlobalData: checks for the plugin; reads in any saved user input from a previous session
*/
function loadGlobalData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if ( document.setupPlugin == null )
return;
if ( document.vars.inited.value != "yes" )
{
// load globals here
var acctSetupFile = getAcctSetupFilename( self );
if ( acctSetupFile != null && acctSetupFile != "" )
{
var intlMode = parent.parent.globals.GetNameValuePair( acctSetupFile, "Mode Selection", "IntlMode" );
if ( intlMode != null && intlMode != "" )
{
intlMode = intlMode.toLowerCase();
document.vars.intlMode.value = intlMode;
}
var editMode = parent.parent.globals.GetNameValuePair( acctSetupFile, "Mode Selection", "EditMode" );
if ( editMode != null && editMode != "" )
{
editMode = editMode.toLowerCase();
document.vars.editMode.value = editMode;
SetNameValuePair( acctSetupFile, "Mode Selection", "EditMode", "no" );
}
// if not in editMode, ensure that OS support is available (networking,dialer,etc)
if ( editMode != "yes" )
{
var installedFlag = document.setupPlugin.CheckEnvironment();
if ( installedFlag != true )
{
document.setupPlugin.QuitNavigator();
return;
}
}
// set appropriate path info (if not prompting user)
document.vars.path.value = "";
var newPathFlag = parent.parent.globals.GetNameValuePair( acctSetupFile, "Mode Selection", "ForceNew" );
newPathFlag = newPathFlag.toLowerCase();
var existingPathFlag = parent.parent.globals.GetNameValuePair( acctSetupFile, "Mode Selection", "ForceExisting" );
existingPathFlag = existingPathFlag.toLowerCase();
if ( newPathFlag == "yes" && existingPathFlag != "yes" )
document.vars.path.value = "New Path";
else if ( existingPathFlag == "yes" && newPathFlag != "yes" )
document.vars.path.value = "Existing Path";
if ( document.vars.debugMode.value.toLowerCase() != "yes" && ( document.vars.editMode.value.toLowerCase() != "yes" ) )
if (checkPluginExists( "application/x-netscape-autoconfigure-dialer", false ) )
document.setupPlugin.SetKiosk( true );
}
// load in user input (if any)
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if ( userInputFile != null && userInputFile != "" )
{
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection = "Account Setup User Input";
document.vars.externalEditor.value = GetNameValuePair( userInputFile, theSection, "externalEditor" );
var startupFile = GetNameValuePair( userInputFile, theSection, "startupFile" );
if ( startupFile != null && startupFile != "" )
{
document.vars.startupFile.value = startupFile;
document.vars.path.value = GetNameValuePair( userInputFile, theSection, "path" );
document.vars.pageHistory.value = GetNameValuePair( userInputFile, theSection, "pageHistory" );
SetNameValuePair( userInputFile, theSection, "startupFile", "" );
SetNameValuePair( userInputFile, theSection, "path", "" );
SetNameValuePair( userInputFile, theSection, "pageHistory", "" );
// if coming out of a reboot and using magic profile, rename it so that it won't be automatically deleted at next launch
var profileName = document.setupPlugin.GetCurrentProfileName();
if ( profileName != null && profileName != "" )
{
profileName = profileName.toUpperCase();
if ( profileName == '912' )
document.setupPlugin.SetCurrentProfileName( "USER1" );
}
loadUserInput();
}
else
{
document.vars.startupFile.value = "main.htm";
// defer loading user input until after main screen has loaded (faster speedup)
}
parent.screen.location.replace( "screen.htm" );
}
// QA support
var qaMode = document.vars.qaMode.value;
if ( qaMode != null && qaMode != "" )
{
qaMode = qaMode.toLowerCase();
if ( qaMode == "yes" )
{
if ( confirm( "Would you like to use a Milan data file to configure Communicator?" ) == true )
{
if ( document.setupPlugin.Milan( null, null, true, false ) == true )
document.vars.regMode.value = "yes";
}
}
}
}
if ( document.vars.regMode.value == "yes" )
setRegisterMode( 1 );
}
function saveExternalEditor()
{
// Since we don't do a saveGlobalData in editMode, we need an alternate way to save the externalEditor
// as a preference in ACCTSET.DAT. This is it.
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if (userInputFile != null && userInputFile != "") {
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection="Account Setup User Input";
SetNameValuePair(userInputFile,theSection,"externalEditor", document.vars.externalEditor.value);
}
}
function saveGlobalData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (document.vars.editMode.value.toLowerCase() == "yes") return;
if (document.setupPlugin == null) return;
/*
if (document.vars.debugMode.value.toLowerCase() != "yes" && (document.vars.editMode.value.toLowerCase() != "yes")) {
if (checkPluginExists("application/x-netscape-autoconfigure-dialer",false)) {
document.setupPlugin.SetKiosk(false);
}
}
top.statusbar.visible=true;
top.scrollbars.visible=true;
top.toolbar.visible=true;
top.menubar.visible=true;
top.locationbar.visible=true;
top.personalbar.visible=true; // was directory
*/
if (document.vars.cookieWarning.value == "yes") {
navigator.preference("network.cookie.warnAboutCookies", true);
}
else {
navigator.preference("network.cookie.warnAboutCookies", false);
}
if (document.vars.offlineMode.value != "undefined") {
navigator.preference("offline.startup_mode", document.vars.offlineMode.value);
}
// save user input (if any)
var userInputFile = document.setupPlugin.GetCurrentProfileDirectory();
if (userInputFile != null && userInputFile != "") {
userInputFile = userInputFile + "ACCTSET.DAT";
var theSection="Account Setup User Input";
SetNameValuePair(userInputFile,theSection,"startupFile", document.vars.startupFile.value);
SetNameValuePair(userInputFile,theSection,"regServer", document.vars.regServer.value);
SetNameValuePair(userInputFile,theSection,"first", document.vars.first.value);
SetNameValuePair(userInputFile,theSection,"last", document.vars.last.value);
SetNameValuePair(userInputFile,theSection,"company", document.vars.company.value);
SetNameValuePair(userInputFile,theSection,"address1", document.vars.address1.value);
SetNameValuePair(userInputFile,theSection,"address2", document.vars.address2.value);
SetNameValuePair(userInputFile,theSection,"address3", document.vars.address3.value);
SetNameValuePair(userInputFile,theSection,"city", document.vars.city.value);
SetNameValuePair(userInputFile,theSection,"state", document.vars.state.value);
SetNameValuePair(userInputFile,theSection,"zip", document.vars.zip.value);
SetNameValuePair(userInputFile,theSection,"areaCode", document.vars.areaCode.value);
SetNameValuePair(userInputFile,theSection,"phoneNumber", document.vars.phoneNumber.value);
SetNameValuePair(userInputFile,theSection,"country", document.vars.country.value);
SetNameValuePair(userInputFile,theSection,"countryCode", document.vars.countryCode.value);
SetNameValuePair(userInputFile,theSection,"cardname", document.vars.cardname.value);
SetNameValuePair(userInputFile,theSection,"cardtype", document.vars.cardtype.value);
SetNameValuePair(userInputFile,theSection,"cardcode", document.vars.cardcode.value);
if (document.setupPlugin.NeedReboot() == true) {
SetNameValuePair(userInputFile,theSection,"cardnumber", document.vars.cardnumber.value);
SetNameValuePair(userInputFile,theSection,"path", document.vars.path.value);
SetNameValuePair(userInputFile,theSection,"pageHistory", document.vars.pageHistory.value);
SetNameValuePair(userInputFile,theSection,"accountPassword", document.vars.accountPassword.value); // existing path
SetNameValuePair(userInputFile,theSection,"accountPasswordCheck", document.vars.accountPasswordCheck.value);
SetNameValuePair(userInputFile,theSection,"emailPassword", document.vars.emailPassword.value);
SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", document.vars.emailPasswordCheck.value);
SetNameValuePair(userInputFile,theSection,"publishPassword", document.vars.publishPassword.value);
SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", document.vars.publishPasswordCheck.value);
SetNameValuePair(userInputFile,theSection,"SMTP", document.vars.SMTP.value);
SetNameValuePair(userInputFile,theSection,"mailServer", document.vars.mailServer.value);
SetNameValuePair(userInputFile,theSection,"mailProtocol", document.vars.mailProtocol.value);
SetNameValuePair(userInputFile,theSection,"NNTP", document.vars.NNTP.value);
SetNameValuePair(userInputFile,theSection,"domainName", document.vars.domainName.value);
SetNameValuePair(userInputFile,theSection,"primaryDNS", document.vars.primaryDNS.value);
SetNameValuePair(userInputFile,theSection,"secondaryDNS", document.vars.secondaryDNS.value);
SetNameValuePair(userInputFile,theSection,"ipAddress", document.vars.ipAddress.value);
SetNameValuePair(userInputFile,theSection,"scriptEnabled", document.vars.scriptEnabled.value);
SetNameValuePair(userInputFile,theSection,"scriptFile", document.vars.scriptFile.value);
SetNameValuePair(userInputFile,theSection,"lckFilename", document.vars.lckFilename.value);
}
else {
SetNameValuePair(userInputFile,theSection,"cardnumber", "");
SetNameValuePair(userInputFile,theSection,"path", "");
SetNameValuePair(userInputFile,theSection,"pageHistory", "");
SetNameValuePair(userInputFile,theSection,"accountPassword", ""); // existing path
SetNameValuePair(userInputFile,theSection,"accountPasswordCheck", "");
SetNameValuePair(userInputFile,theSection,"emailPassword", "");
SetNameValuePair(userInputFile,theSection,"emailPasswordCheck", "");
SetNameValuePair(userInputFile,theSection,"publishPassword", "");
SetNameValuePair(userInputFile,theSection,"publishPasswordCheck", "");
}
SetNameValuePair(userInputFile,theSection,"month", document.vars.month.value);
SetNameValuePair(userInputFile,theSection,"year", document.vars.year.value);
SetNameValuePair(userInputFile,theSection,"modem", document.vars.modem.value);
SetNameValuePair(userInputFile,theSection,"manufacturer", document.vars.manufacturer.value);
SetNameValuePair(userInputFile,theSection,"model", document.vars.model.value);
SetNameValuePair(userInputFile,theSection,"modemAreaCode", document.vars.modemAreaCode.value);
SetNameValuePair(userInputFile,theSection,"modemPhoneNumber", document.vars.modemPhoneNumber.value);
SetNameValuePair(userInputFile,theSection,"altAreaCode1", document.vars.altAreaCode1.value);
SetNameValuePair(userInputFile,theSection,"altAreaCode2", document.vars.altAreaCode2.value);
SetNameValuePair(userInputFile,theSection,"altAreaCode3", document.vars.altAreaCode3.value);
SetNameValuePair(userInputFile,theSection,"cwData", document.vars.cwData.value);
SetNameValuePair(userInputFile,theSection,"prefixData", document.vars.prefixData.value);
SetNameValuePair(userInputFile,theSection,"dialMethod", document.vars.dialMethod.value);
SetNameValuePair(userInputFile,theSection,"providername", document.vars.providername.value);
SetNameValuePair(userInputFile,theSection,"providerFilename", document.vars.providerFilename.value); // existing path
SetNameValuePair(userInputFile,theSection,"accountAreaCode", document.vars.accountAreaCode.value);
SetNameValuePair(userInputFile,theSection,"accountPhoneNumber", document.vars.accountPhoneNumber.value);
SetNameValuePair(userInputFile,theSection,"accountName", document.vars.accountName.value);
SetNameValuePair(userInputFile,theSection,"emailName", document.vars.emailName.value);
SetNameValuePair(userInputFile,theSection,"publishURL", document.vars.publishURL.value);
SetNameValuePair(userInputFile,theSection,"viewURL", document.vars.viewURL.value);
SetNameValuePair(userInputFile,theSection,"externalEditor", document.vars.externalEditor.value);
}
}
function setRegisterMode( numSecondsElapsed )
{
netscape.security.PrivilegeManager.enablePrivilege( "AccountSetup" );
var connectStatusFlag = document.setupPlugin.IsDialerConnected();
document.vars.regMode.value = "yes";
var regData = document.setupPlugin.GetRegInfo( false );
if ( ( numSecondsElapsed < 10 ) || ( connectStatusFlag == true ) )
{
numSecondsElapsed = numSecondsElapsed + 1;
if ( regData == null )
setTimeout( "setRegisterMode(" + numSecondsElapsed + ")", 1000 ); // check every second
else
{
// handle multi-line data differently
var bookmarkTag = "BOOKMARK_FILE=";
var bookmarkTagLen = bookmarkTag.length;
document.vars.regMode.value = "no";
document.vars.regData.value = "";
debug( "\nRegistration Complete: " + regData.length + " item(s)" );
for ( var x=0; x < regData.length; x++ )
{
var data = "" + regData[x];
var dataLen = data.length;
if ( data.indexOf( bookmarkTag ) ==0 )
{
data = data.substring( bookmarkTagLen, dataLen );
document.vars.regBookmark.value = data;
}
else
document.vars.regData.value = document.vars.regData.value + regData[ x ] + "\r";
debug( " " + x + ": " + regData[ x ] );
}
document.setupPlugin.GetRegInfo( true );
// hang up (this will delete the dialer's
// reference to the Registration Server)
document.setupPlugin.DialerHangup();
// check status and go to appropriate screen
var status = findVariable( "STATUS" );
if ( status == "OK" )
{
configureNewAccount();
var rebootFlag = document.setupPlugin.NeedReboot();
if ( rebootFlag == true )
setContentPage( "okreboot.htm" );
else
setContentPage( "ok.htm" );
}
else if ( status == "EXIT" )
{
saveGlobalData();
document.setupPlugin.QuitNavigator();
}
else
setContentPage( "error.htm" );
parent.frames[ 0 ].location.replace( "screen.htm" );
navigator.preference( "security.warn_submit_insecure", true );
navigator.preference( "security.warn_entering_secure", true );
navigator.preference( "security.warn_leaving_secure", true );
}
}
// ¥Êwe've lost the connection
else
{
document.vars.regMode.value = "no";
// hang up (even if already disconnected, this will delete
// the dialer's reference to the Registration Server)
document.setupPlugin.DialerHangup();
// go to error screen
document.setupPlugin.GetRegInfo( true );
setContentPage( "error.htm" );
parent.screen.location.replace( "screen.htm" );
navigator.preference( "security.warn_submit_insecure", true );
navigator.preference( "security.warn_entering_secure", true );
navigator.preference( "security.warn_leaving_secure", true );
}
}
function verifyIPaddress( address )
{
var dotCount = 0, dotIndex = 0, net, validFlag = false;
while ( dotIndex >= 0 )
{
net = "";
dotIndex = address.indexOf( "." );
if ( dotIndex >=0 )
{
net = address.substring( 0, dotIndex );
address = address.substring( dotIndex + 1 );
++dotCount;
}
else
{
net = address;
if ( net=="" )
break;
}
netValue = parseInt( net );
if ( isNaN( netValue ) )
break;
if ( netValue < 0 || netValue > 255 )
break;
if ( dotCount == 3 && dotIndex < 0 )
validFlag = true;
}
return validFlag;
}
function verifyAreaCode( areaCode )
{
var validFlag = false;
if ( areaCode.length >= 3 )
{
validFlag = true;
for ( var x = 0; x < areaCode.length; x++ )
{
if ( "0123456789".indexOf( areaCode.charAt( x ) ) < 0 )
{
validFlag = false;
break;
}
}
}
return validFlag;
}
function verifyZipCode( zipCode )
{
var validFlag = false;
if ( zipCode.length >= 5 )
{
validFlag = true;
for ( var x = 0; x < zipCode.length; x++ )
{
if ( "0123456789-".indexOf( zipCode.charAt( x ) ) < 0 )
{
validFlag = false;
break;
}
}
}
return validFlag;
}
function verifyPhoneNumber( phoneNum )
{
var validFlag = false;
if ( phoneNum.length >= 7 )
{
validFlag = true;
for ( var x=0; x < phoneNum.length; x++ )
{
if ( "0123456789().,-+ ".indexOf( phoneNum.charAt( x ) ) < 0 )
{
validFlag = false;
break;
}
}
}
return validFlag;
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,816 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
compromisePrincipals();
function configureNewAccount()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var theFile = getAcctSetupFilename(self);
var intlFlag = GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
var theScript = findVariable("LOGIN_SCRIPT");
// determine outside line access string
var outsideLineAccessStr = "";
if (document.vars.prefixData.value != "") {
outsideLineAccessStr = document.vars.prefixData.value;
x = outsideLineAccessStr.indexOf(",");
if (x<0) outsideLineAccessStr = outsideLineAccessStr + ",";
}
var dialAsLongDistance = findVariable("DIAL_AS_LONG_DISTANCE");
if (dialAsLongDistance != null && dialAsLongDistance!="") {
var dialAsLongDistanceFlag = (dialAsLongDistance=="NO") ? "FALSE":"TRUE";
var dialAreaCode = findVariable("DIAL_AREA_CODE");
var dialAreaCodeFlag = "FALSE";
if (dialAreaCode != null && dialAreaCode != "") {
dialAreaCodeFlag = (dialAreaCode == "NO") ? "FALSE":"TRUE";
}
}
else if (intlFlag == "yes") {
var dialAsLongDistanceFlag = "FALSE";
var dialAreaCodeFlag = "FALSE";
}
else {
var dialAsLongDistanceFlag = "TRUE";
var dialAreaCodeFlag = "TRUE";
var ispAreaCode="";
var ispPhoneNum = findVariable("PHONE_NUM");
if (ispPhoneNum != null && ispPhoneNum!="") {
var x=ispPhoneNum.indexOf("(");
if (x>=0) {
var y=ispPhoneNum.indexOf(")",x+1);
ispAreaCode=ispPhoneNum.substring(x+1,y);
}
}
if (ispAreaCode == document.vars.modemAreaCode.value) {
dialAsLongDistanceFlag="FALSE";
dialAreaCodeFlag = "FALSE";
}
}
// determine new profile name (used for Account in dialer & profile name)
var newProfileName = findVariable("LOGIN");
if (newProfileName=="") {
newProfileName = document.vars.first.value;
if (document.vars.last.value != "") {
newProfileName = newProfileName + " " + document.vars.last.value;
}
}
if (newProfileName!="") newProfileName = newProfileName + "'s";
if (findVariable("SITE_NAME") != "") {
newProfileName = newProfileName + " " + findVariable("SITE_NAME");
}
newProfileName = newProfileName + " Account";
if (newProfileName.length > 240) newProfileName=newProfileName.substring(0,240);
// platform check
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
if (thePlatform == "Win16") {
if (newProfileName.length > 40) newProfileName=newProfileName.substring(0,40);
}
// On Win32 platforms, check if newProfileName contains any invalid characters, such as '/'
// On Mac, disallow invalid characters such as ':'
if ((thePlatform == "WinNT") || (thePlatform == "Win95")) {
var x=0;
x = newProfileName.indexOf('/');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('/');
}
x = newProfileName.indexOf('\\');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\\');
}
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
x = newProfileName.indexOf('\"');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\"');
}
x = newProfileName.indexOf('?');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('?');
}
x = newProfileName.indexOf('<');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('<');
}
x = newProfileName.indexOf('>');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('>');
}
x = newProfileName.indexOf('|');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('|');
}
x = newProfileName.indexOf('&');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('&');
}
}
else if (thePlatform == "Macintosh") {
var x=0;
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
}
else if (thePlatform == "Win16") {
var x=0;
x = newProfileName.indexOf('(');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('(');
}
x = newProfileName.indexOf(')');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(')');
}
}
// configure dialer for new account
dialerData = document.setupPlugin.newStringArray(24); // increment this # as new dialer strings are added
dialerData[0] = "FileName=" + findVariable("SITE_FILE");
dialerData[1] = "AccountName=" + newProfileName;
dialerData[2] = "ISPPhoneNum=" + findVariable("PHONE_NUM");
dialerData[3] = "LoginName=" + findVariable("LOGIN");
dialerData[4] = "Password=" + findVariable("PASSWORD");
dialerData[5] = "DNSAddress=" + findVariable("DNS_ADDR");
dialerData[6] = "DNSAddress2=" + findVariable("DNS_ADDR_2");
dialerData[7] = "DomainName=" + findVariable("DOMAIN_NAME");
dialerData[8] = "IntlMode=" + ((intlFlag=="yes") ? "TRUE":"FALSE");
dialerData[9] = "DialOnDemand=TRUE";
dialerData[10] = "ModemName=" + document.vars.modem.value;
dialerData[11] = "ModemType=" + document.setupPlugin.GetModemType(document.vars.modem.value);
dialerData[12] = "DialType=" + document.vars.dialMethod.value;
dialerData[13] = "OutsideLineAccess=" + outsideLineAccessStr;
dialerData[14] = "DisableCallWaiting=" + ((parent.parent.globals.document.vars.cwData.value != "") ? "TRUE":"FALSE");
dialerData[15] = "DisableCallWaitingCode=" + parent.parent.globals.document.vars.cwData.value;
dialerData[16] = "DialAsLongDistance=" + dialAsLongDistanceFlag;
dialerData[17] = "DialAreaCode=" + dialAreaCodeFlag;
dialerData[18] = "ScriptEnabled=" + ((theScript==null || theScript=="") ? "FALSE":"TRUE");
dialerData[19] = "Script=" + theScript;
dialerData[20] = "AutoSend=" + findVariable("AUTO_SEND");
dialerData[21] = "Location=Home";
dialerData[22] = "DisconnectTime=" + GetNameValuePair(theFile,"Mode Selection","Dialer_Disconnect_After");
dialerData[23] = "Path=New";
// write out dialer data to Java Console
debug("\nNew Account for ISP: " + findVariable("SITE_NAME"));
var numElements = dialerData.length;
for (var x=0; x<numElements; x++) {
debug(" " + x + ": " + dialerData[x]);
}
parent.parent.globals.document.setupPlugin.DialerConfig(dialerData,false);
// configure desktop (Windows)
parent.parent.globals.document.setupPlugin.DesktopConfig(newProfileName, null, theFile);
// set up Navigator preferences
var userName = document.vars.first.value;
if (document.vars.last.value != "") {
userName = userName + " " + document.vars.last.value;
}
navigator.preference("network.hosts.smtp_server", findVariable("SMTP_HOST"));
navigator.preference("network.hosts.nntp_server", findVariable("NNTP_HOST"));
var mailID=""
var mailAccount = findVariable("IMAP_HOST");
if (mailAccount == "") {
mailAccount = findVariable("POP_SERVER");
}
var mailServer="";
x = mailAccount.indexOf("@");
if (x>=0) {
mailID=mailAccount.substring(0,x);
mailServer=mailAccount.substring(x+1,mailAccount.length);
}
else {
mailID=mailAccount;
mailServer=findVariable("DOMAIN_NAME");
if (mailServer != "") {
mailAccount = mailID + "@" + mailServer;
}
}
navigator.preference("network.hosts.pop_server", mailServer);
if (findVariable("IMAP_HOST") != "") {
navigator.preference("mail.server_type", 1);
navigator.preference("mail.imap.server_sub_directory",findVariable("IMAP_SERVERPATH"));
}
else {
navigator.preference("mail.server_type", 0);
}
navigator.preference("mail.pop_name", mailID);
navigator.preference("mail.identity.organization", document.vars.company.value);
navigator.preference("mail.identity.reply_to", findVariable("EMAIL_ADDR"));
navigator.preference("mail.identity.username", userName);
navigator.preference("mail.identity.useremail", mailAccount);
navigator.preference("mail.remember_password", false);
navigator.preference("mail.pop_password", "");
var theMailPassword=findVariable("POP_PASSWORD");
if (theMailPassword != null && theMailPassword != "") {
theMailPassword = parent.parent.globals.document.setupPlugin.EncryptString(theMailPassword);
if (theMailPassword != null && theMailPassword != "") {
navigator.preference("mail.remember_password", true);
navigator.preference("mail.pop_password", theMailPassword);
}
}
navigator.preference("editor.author", userName);
navigator.preference("editor.publish_username", mailID);
var pushURL = findVariable("PUBLISH_PUSH_URL");
navigator.preference("editor.publish_location", pushURL);
navigator.preference("editor.publish_browse_location", findVariable("PUBLISH_VIEW_URL"));
navigator.preference("editor.publish_password", "");
navigator.preference("editor.publish_save_password", false);
if (pushURL != null && pushURL != "") {
var thePublishPassword=findVariable("PASSWORD");
if (thePublishPassword != "") {
thePublishPassword = parent.parent.globals.document.setupPlugin.EncryptString(thePublishPassword);
if (thePublishPassword != null && thePublishPassword != "") {
navigator.preference("editor.publish_save_password", true);
navigator.preference("editor.publish_password", thePublishPassword);
}
}
}
if (findVariable("HOME_URL") != "") {
navigator.preference("browser.startup.page", 1); // 0 blank, 1 homepage, 2 last visited
navigator.preference("browser.startup.homepage", findVariable("HOME_URL"));
}
// look for LDAP data
var ldapNum = navigator.preference("ldap_1.number_of_directories");
if (ldapNum == null || ldapNum == "") {
// if # of directories isn't defined, count any existing LDAP entries
ldapNum=1;
while(true) {
var ldapEntry = navigator.preference("ldap_1.directory" + ldapNum + ".filename");
if (ldapEntry == null || ldapEntry == "") break;
ldapNum = ldapNum + 1;
}
}
ldapNum = 1 + ldapNum;
var ldapEntriesAddedFlag=false;
var ldapIndex=1;
while(true) {
var ldapURL = findVariable("LDAP_HOST_" + ldapIndex);
if (ldapURL == null || ldapURL == "") break;
var secureLDAP = false;
var searchBase = "";
var portNum = 389;
if (ldapURL.indexOf("ldaps://")==0) { // LDAP over SSL
secureLDAP = true;
portNum = 636;
ldapURL = ldapURL.substring(8,ldapURL.length);
}
else if (ldapURL.indexOf("ldap://")==0) {
ldapURL = ldapURL.substring(7,ldapURL.length);
}
var x = ldapURL.indexOf("/"); // find any search base
if (x>0) {
searchBase = ldapURL.substring(x+1,ldapURL.length);
ldapURL = ldapURL.substring(0,x);
}
x = ldapURL.indexOf(":"); // find any port number
if (x>0) {
portNumString = ldapURL.substring(x+1,ldapURL.length);
ldapURL = ldapURL.substring(0,x);
if (portNumString != "") {
portNum = parseInt(portNumString);
}
}
var ldapDesc = findVariable("LDAP_DESC_" + ldapIndex);
if (ldapDesc == "") {
ldapDesc = ldapURL;
}
ldapEntriesAddedFlag = true;
navigator.preference("ldap_1.directory" + ldapNum + ".filename", "");
navigator.preference("ldap_1.directory" + ldapNum + ".description", ldapDesc);
navigator.preference("ldap_1.directory" + ldapNum + ".serverName", ldapURL);
navigator.preference("ldap_1.directory" + ldapNum + ".port", portNum);
navigator.preference("ldap_1.directory" + ldapNum + ".isSecure", secureLDAP);
navigator.preference("ldap_1.directory" + ldapNum + ".searchBase", searchBase);
navigator.preference("ldap_1.directory" + ldapNum + ".searchString", "");
navigator.preference("ldap_1.directory" + ldapNum + ".dirType", 0);
navigator.preference("ldap_1.directory" + ldapNum + ".isOffline", false);
navigator.preference("ldap_1.directory" + ldapNum + ".savePassword", false);
if (document.vars.debugMode.value.toLowerCase() == "yes") {
debug("\tLDAP #" + ldapNum + " Desc: " + ldapDesc);
debug("\tLDAP #" + ldapNum + " serverName: " + ldapURL);
debug("\tLDAP #" + ldapNum + " port: " + portNum);
debug("\tLDAP #" + ldapNum + " isSecure: " + secureLDAP);
debug("\tLDAP #" + ldapNum + " searchBase: " + searchBase);
}
ldapNum = ldapNum + 1;
ldapIndex = ldapIndex + 1;
}
if (ldapEntriesAddedFlag == true) {
navigator.preference("ldap_1.number_of_directories", ldapNum);
}
// on Mac, prevent Internet Config from overriding new settings
navigator.preference("browser.mac.use_internet_config", false);
var profileDir = document.setupPlugin.GetCurrentProfileDirectory();
if (profileDir != null && profileDir != "") {
// write MUC Configuration file
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var configFile="";
if (thePlatform == "Macintosh") { // Macintosh support
configFile = profileDir + "Configuration";
}
else { // Windows support
configFile = profileDir + "CONFIG.INI";
}
document.setupPlugin.SetNameValuePair(configFile,"Account", "Account", newProfileName); // findVariable("SITE_NAME")
document.setupPlugin.SetNameValuePair(configFile,"Modem", "Modem", document.vars.modem.value);
document.setupPlugin.SetNameValuePair(configFile,"Location", "Location", "Home");
// write out Reggie bookmark file (if one was sent)
var currentBookmarkFilename="";
var CRLF="";
if (thePlatform == "Macintosh") { // Macintosh support
currentBookmarkFilename = profileDir + "Bookmarks.html";
CRLF = "\r";
}
else { // Windows support
currentBookmarkFilename = profileDir + "BOOKMARK.HTM";
CRLF = "\r\n";
}
// Mac only: on clean install, core Communicator doesn't copy over Bookmarks.html file from Defaults folder
// so grab a copy from our Config folder
if (thePlatform == "Macintosh") {
var theActiveProfileName = document.setupPlugin.GetCurrentProfileName();
if (theActiveProfileName != null) {
theActiveProfileName = theActiveProfileName.toUpperCase();
if (theActiveProfileName == '911' || theActiveProfileName == 'USER1') {
var theDefaultBookmarkFilename = parent.parent.globals.getConfigFolder(self) + "Bookmarks.html";
var theBookmarkData = parent.parent.globals.document.setupPlugin.GetNameValuePair(theDefaultBookmarkFilename,null,null);
if (theBookmarkData == null || theBookmarkData == "") {
theDefaultBookmarkFilename = parent.parent.globals.getConfigFolder(self) + "bookmark.htm";
theBookmarkData = parent.parent.globals.document.setupPlugin.GetNameValuePair(theDefaultBookmarkFilename,null,null);
}
if (theBookmarkData != null && theBookmarkData != "") {
parent.parent.globals.document.setupPlugin.SaveTextToFile(currentBookmarkFilename,theBookmarkData,false);
}
}
}
}
var bookmarkData = "" + document.setupPlugin.GetNameValuePair(currentBookmarkFilename,null,null);
if (bookmarkData != "") {
if (bookmarkData.indexOf("<!DOCTYPE NETSCAPE-Bookmark-file-1>") ==0) { // check for valid bookmark file header
// build new bookmark title
var titleStr = "Bookmarks";
var name = "";
if (parent.parent.globals.document.vars.first.value != "" && parent.parent.globals.document.vars.last.value != "") {
name = parent.parent.globals.document.vars.first.value + " " + parent.parent.globals.document.vars.last.value;
}
else {
name = findVariable("LOGIN");
}
if (name != "") titleStr = titleStr + " for " + name;
// change TITLE section
var startTitleindex=bookmarkData.indexOf("<TITLE>");
var endTitleindex=bookmarkData.indexOf("</TITLE>");
if (startTitleindex>0 && endTitleindex>0) {
startTitleindex = startTitleindex + "<TITLE>".length;
var bookmarkDataLen = bookmarkData.length;
bookmarkData = bookmarkData.substring(0,startTitleindex) + titleStr + bookmarkData.substring(endTitleindex,bookmarkDataLen);
}
// change H1 section
var startTitleindex=bookmarkData.indexOf("<H1>");
var endTitleindex=bookmarkData.indexOf("</H1>");
if (startTitleindex>0 && endTitleindex>0) {
startTitleindex = startTitleindex + "<H1>".length;
var bookmarkDataLen = bookmarkData.length;
bookmarkData = bookmarkData.substring(0,startTitleindex) + titleStr + bookmarkData.substring(endTitleindex,bookmarkDataLen);
}
}
}
var regBookmarkData = document.vars.regBookmark.value;
if (regBookmarkData != null && regBookmarkData != "") {
if (regBookmarkData.indexOf("<!DOCTYPE NETSCAPE-Bookmark-file-1>") == 0 ) { // check for valid bookmark file header
var cleanFlag = false;
var activeProfileName = document.setupPlugin.GetCurrentProfileName();
if (activeProfileName != null) {
activeProfileName = activeProfileName.toUpperCase();
if (activeProfileName == '911' || activeProfileName == 'USER1') {
cleanFlag=true;
}
}
if (cleanFlag == true) { // if magic profile, write out entire new bookmark file
bookmarkData = regBookmarkData;
}
else { // else append onto end of bookmark file
var headerStr = "<DL><p>" + CRLF;
var startDLindex=regBookmarkData.indexOf(headerStr);
if (startDLindex>0) {
startDLindex = startDLindex + headerStr.length;
}
var lastDLindex = regBookmarkData.lastIndexOf("</DL>");
if (startDLindex>0 && startDLindex>0) { // remove bookmark header/footer data
var newBookmarkData = regBookmarkData.substring(startDLindex,lastDLindex);
if (newBookmarkData != "") {
if (bookmarkData.indexOf(newBookmarkData) <0) {
var startDLindex=bookmarkData.indexOf(headerStr);
if (startDLindex>0) {
startDLindex = startDLindex + headerStr.length;
}
var lastDLindex = bookmarkData.lastIndexOf("</DL>");
if (startDLindex>0 && startDLindex>0) { // merge into current bookmark file
var bookmarkDataLen = bookmarkData.length;
// append new bookmark data to bookmark file
bookmarkData = bookmarkData.substring(0,lastDLindex) + newBookmarkData + bookmarkData.substring(lastDLindex,bookmarkDataLen);
}
}
}
}
}
}
else { // if invalid bookmark header, discard
regBookmarkData = "";
}
}
if (thePlatform == "Win16") {
if (bookmarkData.length >= 16000) {
bookmarkData = "";
}
}
if (bookmarkData != "") {
document.setupPlugin.SaveTextToFile(currentBookmarkFilename,bookmarkData,false);
}
// append ISP bookmark (if Reggie sends it down) to profile's bookmark file
var ISPurl = findVariable("ISP_URL");
if (ISPurl != null && ISPurl != "") {
bookmarkData = "" + document.setupPlugin.GetNameValuePair(currentBookmarkFilename, null, null);
if (bookmarkData != null && bookmarkData != "") {
var lastDLindex = bookmarkData.lastIndexOf("</DL>");
if (lastDLindex >= 0) {
var newData = bookmarkData.substring(0,lastDLindex);
newData = newData + "\t<DT><A HREF=\"" + ISPurl + "\">" + findVariable("SITE_NAME") + "</A>" + CRLF;
newData = newData + bookmarkData.substring(lastDLindex,bookmarkData.length);
if (thePlatform == "Win16") {
if (newData.length >= 16000) {
newData = "";
}
}
if (newData != "") {
document.setupPlugin.SaveTextToFile(currentBookmarkFilename,newData,false);
}
}
}
}
}
// rename profile
if (thePlatform == "Macintosh") {
if (newProfileName.length > 31) newProfileName=newProfileName.substring(0,31);
}
document.setupPlugin.SetCurrentProfileName(newProfileName);
debug("\nSetting profile name: " + newProfileName);
// set the default path to now be the existing path
document.vars.path.value = "Existing Path";
}
function saveAccountInfo(promptFlag)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var CRLF;
if (thePlatform == "Macintosh") {
CRLF = "\r";
}
else {
CRLF = "\r\n";
}
// Determine the current date
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var savePasswordFlag = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","SavePasswords");
var now = new Date();
theDate = now.getMonth()+1 + "/" + now.getDate() + "/" + (now.getYear()+1900);
theDate += " ";
var theHour = now.getHours();
var theString = " AM";
if (theHour >=12) {
theHour = theHour-12;
theString = " PM";
}
var theMinute = now.getMinutes();
if (theMinute < 10) {
theMinute="0" + theMinute;
}
theDate += theHour + ":" + theMinute + theString;
// Mangle the POP/IMAP server
var mailProtocol = "IMAP";
var popIMAPServer = findVariable("IMAP_HOST");
if (popIMAPServer == "") {
mailProtocol = "POP";
popIMAPServer = findVariable("POP_SERVER");
}
var atLocation = popIMAPServer.indexOf("@");
if (atLocation>=0) {
popIMAPServer = popIMAPServer.substring(atLocation+1);
}
// Create the output string to save
var output = "Your Account Information " + theDate + CRLF;
output += "______________________________________________________________" + CRLF + CRLF;
output += "Name: " + parent.parent.globals.document.vars.first.value + " " + parent.parent.globals.document.vars.last.value + CRLF;
output += "Provider: " + findVariable("SITE_NAME") + CRLF + CRLF;
output += "Dialup access number: " + findVariable("PHONE_NUM") + CRLF + CRLF;
output += "Login name: " + findVariable("LOGIN") + CRLF;
if (savePasswordFlag == "yes") {
output += "Login password: " + findVariable("PASSWORD") + CRLF + CRLF;
}
output += "Email address: " + findVariable("EMAIL_ADDR") + CRLF;
if (savePasswordFlag == "yes") {
output += "Email password: " + findVariable("POP_PASSWORD") + CRLF + CRLF;
}
output += "SMTP server: " + findVariable("SMTP_HOST") + CRLF;
if (mailProtocol == "IMAP") {
output += "IMAP server: " + popIMAPServer + CRLF;
var imapDir = findVariable("IMAP_SERVERPATH");
if (imapDir != "") {
output += "IMAP server mailbox path: " + imapDir + CRLF;
}
}
else {
output += "POP server: " + popIMAPServer + CRLF;
}
output += "News (NNTP) server: " + findVariable("NNTP_HOST") + CRLF + CRLF;
output += "Domain name: " + findVariable("DOMAIN_NAME") + CRLF;
output += "Primary DNS server: " + findVariable("DNS_ADDR") + CRLF;
output += "Secondary DNS server: " + findVariable("DNS_ADDR_2") + CRLF + CRLF;
var viewURL = findVariable("PUBLISH_VIEW_URL");
if (viewURL != "") {
output += "Publishing View URL: " + viewURL + CRLF;
}
var pushURL = findVariable("PUBLISH_PUSH_URL");
if (pushURL != "") {
output += "Publishing Push URL: " + pushURL + CRLF;
}
output += CRLF;
output += "Modem: " + parent.parent.globals.document.vars.modem.value + CRLF + CRLF;
output += "Other information:" + CRLF + CRLF;
output += "Provider's technical support number: " + findVariable("ISP_SUPPORT") + CRLF;
// determine new profile name (used for Account in dialer & profile name, save info default filename)
var newProfileName = findVariable("LOGIN");
if (newProfileName=="") {
newProfileName = document.vars.first.value;
if (document.vars.last.value != "") {
newProfileName = newProfileName + " " + document.vars.last.value;
}
}
if (newProfileName!="") newProfileName = newProfileName + "'s";
if (findVariable("SITE_NAME") != "") {
newProfileName = newProfileName + " " + findVariable("SITE_NAME");
}
newProfileName = newProfileName + " Account Info";
if (thePlatform == "Macintosh") {
if (newProfileName.length > 31) newProfileName=newProfileName.substring(0,31);
}
// On WIN32 platforms, check if newProfileName contains any invalid characters, such as '/'
// On Mac, disallow invalid characters such as ':'
if ((thePlatform == "WinNT") || (thePlatform == "Win95")) {
var x=0;
x = newProfileName.indexOf('/');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('/');
}
x = newProfileName.indexOf('\\');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\\');
}
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
x = newProfileName.indexOf('\"');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('\"');
}
x = newProfileName.indexOf('?');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('?');
}
x = newProfileName.indexOf('<');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('<');
}
x = newProfileName.indexOf('>');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('>');
}
x = newProfileName.indexOf('|');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('|');
}
}
else if (thePlatform == "Macintosh") {
var x=0;
x = newProfileName.indexOf(':');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(':');
}
}
else if (thePlatform == "Win16") {
var x=0;
x = newProfileName.indexOf('(');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x-1) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf('(');
}
x = newProfileName.indexOf(')');
while ((x >= 0) && (newProfileName.length != 0)) {
newProfileName = newProfileName.substring(0, x-1) + newProfileName.substring(x+1, newProfileName.length);
x = newProfileName.indexOf(')');
}
}
// create the default filename to save output to
/*
var defaultFilename = findVariable("SITE_FILE");
if (defaultFilename != "") defaultFilename=defaultFilename + " ";
defaultFilename = defaultFilename + "Account Info";
*/
var savedFlag=false;
if (promptFlag==false) {
var profileDir = document.setupPlugin.GetCurrentProfileDirectory();
if (profileDir != null && profileDir != "") {
if (thePlatform == "Macintosh") {
newProfileName = profileDir + "Account Info";
}
else {
newProfileName = profileDir + "ACCTINFO.TXT";
}
savedFlag = parent.parent.globals.document.setupPlugin.SaveTextToFile(newProfileName,output,false); // defaultFilename
}
}
else {
savedFlag = parent.parent.globals.document.setupPlugin.SaveTextToFile(newProfileName,output,true); // defaultFilename
}
return(savedFlag);
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,89 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Welcome to Account Setup</B></P>
<P>Account Setup is a utility that helps you quickly set up Communicator to access
the Internet. To use Account Setup properly, you must choose whether you want Account
Setup to:</P>
<UL>
<LI>Help you create a new Internet account with your Internet service provider, or
<spacer type=vertical size=4>
<LI>Help you quickly set up Netscape Communicator and its connection software to
access an account that you already have.
</UL>
<P>Select the option &quot;I want to create a new Internet account&quot; if:</P>
<UL>
<LI>You are new to the Internet, or
<spacer type=vertical size=4>
<LI>You want create a second or additional Internet account.
</UL>
<P>Select the option &quot;I already have an Internet account&quot; if:</P>
<UL>
<LI>You want to set up access to an Internet account that you already have. Your account must be provided by an Internet service provider and must offer access to Internet services such as the World Wide Web, email, and newsgroups.
</UL>
<P>To select one of the options described above, click the button to the left of the option in the Account Setup screen.
Then follow through the rest of the Account Setup screens, entering the appropriate information in each screen. </P>
<P>You can leave Account Setup at any time by clicking Exit in the Account Setup navigation bar.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,57 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Name and Company</B></P>
<P>Type your full name and, optionally, your organization name into the text boxes on
this screen. Account Setup then sets Communicator's Mail & Groups and Editor preferences
accordingly.</P>
<P><FONT SIZE=2><A HREF="ashelp.htm">[CONTENTS]</A></FONT></P>
</BODY>
</HTML>

Разница между файлами не показана из-за своего большого размера Загрузить разницу

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

@ -0,0 +1,77 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Billing Information</B></P>
<P>Internet accounts that you create using Account Setup must be paid for by credit card. Account Setup assists you by forwarding the credit card information you provide on the screen to your provider. This mechanism enables you to create an Internet account and use it right away.
<P>To ensure the privacy of your credit card information, Account Setup scrambles your credit card number before transmitting it to your provider. Your provider has a unique security key that allows it to read your credit card number. In addition, Account Setup does not store your credit card information anywhere on your computer.</P>
<P>Use the text boxes and pop-up menus to specify your credit card type, its number,
and its expiration date:</P>
<UL>
<LI>Name on card: Your name as it appears on your credit card.
<spacer type=vertical size=4>
<LI>Type of card: The type of card you're using. You can use American Express, Discover,
MasterCard, or VISA.
<spacer type=vertical size=4>
<LI>Card number: The card number as it appears on the card.
<spacer type=vertical size=4>
<LI>Expiration date: The expiration date that appears on the card.
</UL>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,74 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Connect to Server</B></P>
<P>You've finished entering the information that Account Setup needs to connect you to the Internet account server. Click Connect Now to connect to the Internet account server, where you can learn about the account plans available and
create a new Internet account.</P>
<P>When you click Connect Now, Account Setup uses your modem, phone line, and the connection software installed with Communicator to initiate a connection with the Internet account server. For this reason, your modem must be properly installed and turned on, and your phone line must be available to Account Setup.</P>
<P>After Account Setup successfully connects, it loads the Internet account server screens in the Account Setup window. Follow the instructions on the Internet account server screens to learn about account plans available and create an account. Help is also available from the Internet account server screens.</P>
<P>When evaluating account plans, it helps to have some idea of how you will be using the Internet:
<UL>
<LI>Will you always connect from home or will you also connect while traveling? Some plans offer a toll-free access number for travelers. Others offer a selection of many local access points so that you can always connect, wherever you are. However, these services might cost extra.
<spacer type=vertical size=4>
<LI>How many hours will you spend on the Internet each month? Some plans are designed for people who connect less often, letting you pay by the hour for Internet access. Other plans are designed for people who connect every day, giving you unlimited hours of connection time for a flat monthly fee.
</UL>
<P>Once you have chosen an account plan and created an account, Account Setup disconnects you from the Internet account server. It then automatically configures your computer to access your new account.
<P>If you don't want to connect to the Internet account server right now, you don't need to. Account Setup saves the information you provided (except your credit card number), so that when you are ready to create an account, all you have to do is launch Account Setup and move to this screen to connect.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,61 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>You're Done!</B></P>
<P>You've finished entering all the information that Account Setup needs to set up access to your Internet account. Account Setup configures your computer to access your account when you click either Connect Now or Done. </P>
<P>If you want Account Setup to configure your computer and then connect you to the Internet right now, click Connect Now. </P>
<P>If you want Account Setup to configure your computer but don't want it to connect you to your account right now, click Done. When you are ready to connect to the Internet, all you have to do is launch Netscape Communicator by double-clicking its icon in the Netscape Communicator folder or program group.</P>
<P>When you have more questions about using Communicator, you can find the information you need in Communicator's Help system, available from the Help menu, in and the Reference Library, available in the Netscape Communicator folder or program group.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,58 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Account Access Number</B></P>
<P>Enter the phone number your computer dials to connect to your Internet account. If dialing within the United States and Canada, be sure to include the area code.</P>
<P>If Account Setup already displays an access number in this screen, it is the access number recommended by your Internet service provider. It is best to use this number.
</UL>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,98 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Dialing Settings for Your Location</B></P>
<P>Enter any of the dialing settings listed on this screen to enable Account Setup to successfully connect with the Internet account server:</P>
<UL>
<LI><B>The code you dial to turn off Call Waiting</B> (optional):
<spacer type=vertical size=4>
If you have Call
Waiting, you should turn it off while you are connected to the Internet. Calls that come
in while you are connected might disturb the connection.
<spacer type=vertical size=4>
From the pop-up menu on the screen, select the code you use to turn off Call Waiting during a call. If your code isn't listed, enter your code in the text box to the left of the menu. If you have Call Waiting but aren't sure what code to use to turn it off, call your telephone company.
<spacer type=vertical size=4>
If you don't have Call Waiting, leave "Line Doesn't Have Call Waiting" selected in the
pop-up menu.
<spacer type=vertical size=4>
<LI><B>The number you dial to access an outside line</B> (optional):
<spacer type=vertical size=4>
If you are connecting from within an internal phone network, such as from an office building or hotel, enter the number that you dial access an outside line.
<spacer type=vertical size=4>
If you don't need to access an outside line before dialing, leave the text box blank.
<spacer type=vertical size=4>
<LI><B>Your telephone's dialing method</B> (if applicable):
<spacer type=vertical size=4>
Choose either tone or pulse
dialing. Tone dialing, used by push-button telephones, is suitable for most phone
lines. However, some phone lines still use pulse dialing, the older method used by
rotary telephones.
</UL>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,57 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Phone Number of Your Location</B></P>
<P>Enter the phone number of the line that is currently connected to your modem or computer. Account Setup uses this information to determine how to whether to dial an area code or other prefix. Therefore, don't enter your home phone number if you are connecting from another location.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,67 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Provider's Domain Name and DNS Servers</B></P>
<P>Enter your provider's domain name and the internet addresses of your provider's DNS servers into the text boxes:</P>
<UL>
<LI>Domain Name: Your provider's domain name is the internet identity of your provider's network of computers. It often looks something like <TT>providername.com</TT> or <TT>providername.net</TT>.
<spacer type=vertical size=4>
<LI>Primary and Secondary DNS Servers: Your provider's Domain Name System (DNS) servers route your email, requests for web pages, and other Internet traffic to their proper destinations on the Internet. The secondary DNS server is a backup to the primary server, in case the primary server goes offline or a part of the network is unavailable for some reason.
</UL>
<P>Unlike the mail and news server information on the previous screen, Account Setup <B>must</B> have your provider's domain name and DNS server address before you can access the Internet. If you don't have this information or are unsure about the information
that you do have, call your provider before going on with Account Setup.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,62 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Email Login and Password</B></P>
<P>Many Internet service providers let you use your account login name and
password to access your email. That way, you only have a single login and password to remember. Other providers, though, ask you to use a different login
and password for accessing email.</P>
<P>If your provider has given you a special login and password for email, enter them
into the appropriate text boxes. Account Setup configures Communicator's Mail & Groups preferences with the information you enter on this screen. </P>
<P>Account Setup automatically enters your account login and password into the text boxes on this screen. If you use a different login and password for email, enter the information into this screen. If you aren't sure whether you need a special email login and password, or aren't sure what yours is, call your provider's technical support office.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,59 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Connection Error...</B></P>
<P>If you are having trouble connecting, retrace your steps in Account Setup to make sure that you entered the information correctly, then try connecting again. </P>
<P>Also, make sure your modem is properly connected and turned on. If you want to try connecting again now, click Connect Again. </P>
<P>For troubleshooting tips, use this link: <A HREF="ashelp.htm#troubleshooting">Troubleshooting</A>.
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

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

@ -0,0 +1,77 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
//TAGS FOR ACCOUNT SETUP HELP
tags.BODY.fontFamily="PrimaSans BT, Helvetica,Arial";
tags.BODY.borderWidths(0, 0, 0, 0);
tags.BODY.paddings(0, 0, 0, 0);
tags.P.fontFamily="PrimaSans BT, Helvetica,Arial";
tags.P.fontSize="12";
tags.P.lineHeight="1.1";
tags.P.marginRight="3";
tags.P.marginLeft="3";
//Titles of Internet Preview screens
classes.title.all.fontSize="23";
classes.title.all.fontFamily="PrimaSans BT, Helvetica,Arial";
classes.title.all.margins(34,0,0,43);
//Tables (for forms inputs, etc.)
tags.TABLE.marginTop="6";
tags.TD.fontFamily="PrimaSans BT, Helvetica,Arial";
tags.TD.fontSize="12";
tags.TD.lineHeight="1.1"
//the entries below are exceptions to the standard definition
ids.nospace.marginTop="0";
ids.minspace.marginTop="6";
ids.nomargins.margins(14,8,8,8);
ids.buttontext.fontSize="12";
ids.smallleftmargin.margins(14,40,0,160);
ids.mediumleftmargin.margins(14,40,0,265);
ids.bulletssmallleftmargin.marginLeft="160";
//Lists
tags.UL.listStyleType="disc";
tags.UL.fontFamily="PrimaSans BT, Helvetica,Arial";
tags.UL.fontSize="12";
tags.LI.fontSize="10";
tags.OL.fontFamily="PrimaSans BT, Helvetica,Arial";
tags.OL.fontSize="12";
//Account Setup tag
classes.helptag.all.fontSize="12";
classes.helptag.all.paddingLeft="5";
classes.helptag.all.color="white";
classes.helptag.all.marginTop="0";

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

@ -0,0 +1,17 @@
/*
* The contents of this directory are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use the files in this directory except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/

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

@ -0,0 +1,90 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Modem</B></P>
<P>To enable Account Setup to connect you to the Internet account server, you need to tell it what kind of modem is now connected to your computer.</P>
<P>To specify what modem you are using, follow these steps:</P>
<OL>
<LI>Select the modem connected to your computer from the pop-up up menu on the screen.
<spacer type=vertical size=4>
<LI>Click Next to move to the next screen.
</OL>
<P>If your modem is not listed in the pop-up menu, follow these steps:</P>
<OL>
<LI>Make sure that your modem is properly installed, connected, and turned on.
<spacer type=vertical size=4>
<LI>Click the Modem Setup button, below the pop-up menu. (On Windows NT systems, there is no Modem Setup button.)
<spacer type=vertical size=4>
On Windows systems, this opens the Modem Wizard, a tool that will help you specify your modem. Instructions for using the Modem Wizard are provided within that program.
<spacer type=vertical size=4>
On Macintosh systems, clicking Modem Setup opens the Modem Setup tool. For assistance using Modem Setup, click this link: <A HREF="modwiz.htm">Using Modem Setup</A>.
<spacer type=vertical size=4>
Note that if you are using a Windows NT system, no Modem Setup button appears on this screen, as your modem has already been configured during installation.</LI>
</OL>
<P>On Macintosh systems, an item called "Generic" appears in the pop-up modem menu. You should select this item only if you are unable to specify your modem using Modem Setup. The &quot;Generic&quot; setting enables you to connect to your Internet account, but possibly not at optimal speed. </P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,100 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Using Modem Setup (Macintosh only)</B></P>
<P>The Modem Setup tool helps you specify the modem that you want to use when connecting
to your Internet account. Before you use Modem Setup, make sure that your modem is
properly installed, connected, and turned on.</P>
<P>To use Modem Setup, follow these steps:</P>
<OL>
<LI>Open Modem Setup from Account Setup or from the Netscape Communicator folder.
<spacer type=vertical size=4>
<LI>When Modem Setup opens, wait as the program automatically tries to determine what modem is connected to the computer.
<spacer type=vertical size=4>
<LI>If Modem Setup finds your modem and correctly identifies its manufacturer and
model, click Use This Modem. Modem Setup closes.
</OL>
<P>If Modem Setup isn't able to find your modem, or if it finds your modem incorrectly,
follow these steps:</P>
<OL>
<LI>Check to make sure that your modem is installed correctly and that it is plugged securely into the Modem Port or Printer Port on the back of your Macintosh. Make sure the modem's power is on.
<spacer type=vertical size=4>
<LI>In the Modem Setup window, click Detect Again to let Modem Setup try to determine what kind of modem is connected to your computer. If it finds your modem correctly, click Use This Modem. If it still doesn't identify your modem correctly, click Choose From List to specify your modem by hand. Two lists appear in the Modem Setup window.
<spacer type=vertical size=4>
<LI> Select the your modem's manufacturer from the list on the left. If you don't see the manufacturer's name, choose &quot;Hayes Compatible,&quot; a generic setting that supports most modem types.
<spacer type=vertical size=4>
<LI>Next, choose the model number of your modem from the list on the right. If your model number isn't in the list, choose your modem's speed (for example 14.4 Kbps
or 28.8 Kbps). <FONT COLOR="#DD0000">Add info about (enhanced)(regular) here...</FONT>
<spacer type=vertical size=4>
<LI>Specify the port (on the back of your computer) to which your modem is connected. You might double-check this on the back of your computer before specifying a port in Modem Setup.
<spacer type=vertical size=4>
<LI>When you have selected from both lists and specified the port that your modem is connected to, click Use This Modem. Modem Setup closes.
</OL>
<P><A HREF="ashelp.htm">[CONTENTS]</A>&nbsp;[<A HREF = "javascript:history.back()">Back</A>]</P>
</BODY>
</HTML>

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

@ -0,0 +1,61 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Account Login and Password</B></P>
<P>Enter your Internet account login name and password. When typing your password,
make sure to use uppercase and lowercase letters as necessary.</P>
<P>Your connection software will use this information to automatically log you into
your account whenever you connect.</P>
<P>If you are sharing a computer and a single copy of Communicator with other users, you might want to set your connection software to ask for your password every time you connect. To do this, enter only your login name--leave the password box blank.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,80 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Preparing to Create a New Account</B></P>
<P>To use Account Setup to create a new Internet account, you need to provide the following information:</P>
<UL>
<LI>Your name, address, and telephone number.
<spacer type=vertical size=4>
<LI>A credit card number for billing.
<spacer type=vertical size=4>
<LI>Your modem manufacturer and model.
<spacer type=vertical size=4>
<LI>The phone number of the phone line at the location you are connecting from.
<spacer type=vertical size=4>
<LI>Any special dialing settings specific to the location you are connecting from--to turn off Call Waiting, access an outside line, or use pulse dialing.
</UL>
<P>To help you create a new account, Account Setup uses your modem, telephone line, and the connection software installed with Communicator to connect you to the Internet account server. The Internet account server presents you with specific information about account plans available to you, so that you can select the account plan that best meets your needs. </P>
<P>In the next few screens, Account Setup asks you to enter the information it needs to connect you to the Internet account server. If you aren't sure about what information to enter in an Account Setup screen, click the Help button in the Account Setup navigation bar. </P>
<P>When you have provided the information that Account Setup needs, Account Setup connects you to the Internet account server.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,104 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Preparing to Set Up Access</B></P>
<P>To set up access to your Internet account, you need to provide the following types
of information:</P>
<UL>
<LI>Your name and company.
<spacer type=vertical size=4>
<LI>Your account access phone number.
<spacer type=vertical size=4>
<LI>Your account login and password.
<spacer type=vertical size=4>
<LI>Your email login and password (if applicable).
<spacer type=vertical size=4>
<LI>Your provider's mail and news server addresses (if applicable).
<spacer type=vertical size=4>
<LI>Your provider's domain name and DNS server addresses.
<spacer type=vertical size=4>
<LI>The location where you can publish your Web pages (if applicable).
<spacer type=vertical size=4>
<LI>Your modem manufacturer and model.
<spacer type=vertical size=4>
<LI>The phone number of the phone line at the location you are connecting from.
<spacer type=vertical size=4>
<LI>Any special dialing settings specific to the location you are connecting from--to turn off Call Waiting, access an outside line, or use pulse dialing.
</UL>
<P>Depending on your Internet service provider, you might not need to enter all of this information--your Internet service provider might have already supplied Account Setup with some of it. Account Setup asks only for the information not supplied by your provider.</P>
<P>You can probably find the information that you need to provide in the forms given to you by your provider when you started your account. If you don't have the information you need,
call your provider's technical support office.</P>
<P>If you aren't sure about what to enter into an Account Setup screen, click the
Help button.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,73 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Information about Yourself</B></P>
<P>Type your name, organization, and full mailing address into the text boxes on the screen. Your Internet service provider will use this information to create your Internet account and send you a billing statement each month.
<UL>
<LI>Name: Your name as it appears on your credit card.
<spacer type=vertical size=4>
<LI>Organization (optional): Your full company name.
<spacer type=vertical size=4>
<LI>Address: The address that your monthly credit card statement is mailed to (your
credit card billing address).
<spacer type=vertical size=4>
<LI>Phone number: The telephone number associated with the address entered on this screen.
</UL>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,63 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Congratulations!</B></P>
<P>You successfully created your new Internet account. Anytime you want to use it, just double-click the Netscape Communicator icon in the Netscape Communicator folder or program group. Communicator automatically connects you to your account.</P>
<P>Before you leave Account Setup, it's a good idea to click the Save Account Information
button to write all the particulars of your account to a text file. This includes
such information as your login, password, dial-up access number, provider domain
name and DNS server addresses, and so on.</P>
<P>If you are concerned about the privacy of the information in the text file, you
can print the file or copy it to a diskette, then delete the file from your computer.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,63 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Congratulations!</B></P>
<P>You successfully created your new Internet account. Anytime you want to use it, just double-click the Netscape Communicator icon in the Netscape Communicator folder or program group. However, <B>you must first restart your computer</B>.</P>
<P>Before you leave Account Setup, it's a good idea to click the Save Account Information
button to write all the particulars of your account to a text file. This includes
such information as your login, password, dial-up access number, provider domain
name and DNS server addresses, and so on.</P>
<P>If you are concerned about the privacy of the information in the text file, you
can print the file or copy it to a diskette, then delete the file from your computer.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,73 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Web Page Publishing Location</B></P>
<P>If your Internet account includes a place on your provider's server where you
can publish and view your Web pages, enter those locations in the text boxes in the
Account Setup screen:
<UL>
<LI>Publish URL: Enter the URL (web address) of the location on your provider's servers where you publish your own web pages. (for example, http://www.netscape.com/~user/publish/). Note that this is not the location that you enter into a web browser to view the pages (see View URL, below).
<spacer type=vertical size=4>
<LI>Publish password: Most providers ask you to provide a password before you can publish your files on their web servers. Many times, your publishing password is the same as your account password. Enter the publishing password given to you by your provider.
<spacer type=vertical size=4>
<LI>View URL. Enter the URL (web address) where you or others can view web pages that you've published (for example, http://www.netscape.com/~user/).
</UL>
<P>If you aren't sure if your account includes a place where you can publish your web pages, or if you aren't sure of the URLs for publishing or viewing the pages or your password, call your provider's technical support office.</P>
<P>If you don't want to enter this information now, you don't need to. You can enter it after you're done using Account Setup, in Communicator's Editor preferences.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,57 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Connecting to the Internet account server...</B></P>
<P>Account Setup is now in the process of dialing your modem to establish a connection with your provider's Internet account server.</P>
<P>The process might take a minute, so please be patient. When Account Setup connects, it loads the Internet account server screens in the Account Setup window.</P>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,75 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Provider's Server Addresses</B></P>
<P>Enter the addresses of your provider's mail and news servers on this screen. Also use the POP/IMAP radio buttons to choose the type of incoming mail server you want to use. </P>
<P>You can find your provider's mail and news server addresses in the forms given to you by your provider when you started your account. If you don't have the information you need, call your provider's technical support office. If you aren't sure if you can use IMAP, select POP for now and contact your provider for more information.</P>
<P>If you want to supply your provider's mail server information later, you can leave the text boxes on this screen blank. However, you won't be able to send or receive email, or read or post to newsgroups, until you do so. When you're ready, you can enter the information in Communicator's Mail & Groups preferences.</P>
<P>Here's what the servers do:</P>
<UL>
<LI>Your provider's SMTP and POP servers send out and bring in your email. Your provider
might use only one mail server for both functions, so the address might be the same
for both SMTP and POP.
<spacer type=vertical size=4>
<LI>Your provider's NNTP server delivers newsgroup information to your account.
<spacer type=vertical size=4>
<LI>Your provider's IMAP mail server handles your email using the IMAP protocol, which enables you to store and organize your mail on the server.
</UL>
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,57 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup Help</TITLE>
<LINK REL=STYLESHEET TYPE="text/JavaScript" HREF="hsheet.htm" TITLE="Account Setup">
</HEAD>
<BODY TEXT="#000000" BGCOLOR="#FFFFFF" BACKGROUND="../images/bg.gif" LINK="#0000EE" VLINK="#551A8B" ALINK="#0000FF">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="helptag">ACCOUNT SETUP</B>
</FONT>
</TD></TR>
</TABLE>
</LAYER>
<spacer type=vertical size=36>
<!-- The main text of this Help screen appears below. -->
<P><B>Your Account Access Location</B></P>
<P>From the list on the screen, select an account access location that is suitable for the place from which you are connecting. Each location included on the screen includes a dial-up access phone number and other information supplied by your provider. The best access number is one in the same city or calling area as the phone line you are using to connect.</P>
<P>If you know the account access phone number you want to use and isn't in the list, select "None of the Above" from the list. You can enter the number later in Account Setup.
<P><A HREF="ashelp.htm">[CONTENTS]</A></P>
</BODY>
</HTML>

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

@ -0,0 +1,17 @@
/*
* The contents of this directory are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use the files in this directory except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/

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

@ -0,0 +1,51 @@
/* -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
return(checkData());
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent && parent.controls && parent.controls.generateControls) {
parent.controls.generateControls();
}
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,81 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" SRC="dummy.js" ARCHIVE="intro.jar">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY onLoad="loadData()" ID="intro101"BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 20 VISIBILITY = SHOW>
<IMG SRC="../images/gr_1.gif" >
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>Setting up Communicator</B></P>
<P>You are about to set up Netscape Communicator to access the Internet.</P>
<P>Account Setup guides you through the setup process. To use Account Setup right away, click Account Setup in the navigation bar. If you'd like to learn more about how you connect to the Internet first, click Next.</P>
<P>To leave Account Setup, click Exit. Then, when you're ready to finish setting up Communicator, you'll find the Account Setup icon in your Netscape Communicator folder or program group.</P>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,360 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="intro.jar" SRC="dummy.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
<SCRIPT LANGUAGE="JavaScript" ID="intro201">
function showLayer(layerName)
{
if (document.layers[layerName])
document.layers[layerName].visibility="show";
}
function hideLayer(layerName)
{
if (document.layers[layerName])
document.layers[layerName].visibility="hide";
}
</SCRIPT>
</HEAD>
<BODY onLoad="loadData()" ID="intro202" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<BODY BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 20 VISIBILITY = SHOW>
<IMG SRC="../images/gr_2.gif" >
</LAYER>
<!-- The layer below contains the headline of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>Connecting to the Internet</B></P>
</LAYER>
<!-- The layer below contains the text of this screen -->
<LAYER NAME = "text1" LEFT = 0 TOP = 85 VISIBILITY = SHOW>
<P ID="mediumleftmargin">Listed at left are the essential parts of your connection: your personal computer, your modem, a phone line, and your Internet service provider. </P>
<P ID="mediumleftmargin">You can learn about the role of each part by <B>placing your mouse pointer over the part you want to learn about.</B></P>
</LAYER>
<!-- Each of the five layers below contains a colorbox displayed dynamically (on mouseover) in the default text area-->
<LAYER NAME = "greenbox" HEIGHT = 275 WIDTH =365 LEFT = 250 TOP = 85 VISIBILITY = HIDE>
<IMG SRC="../images/grnbox.gif" HEIGHT=240 WIDTH=320>
</LAYER>
<LAYER NAME = "bluebox" HEIGHT = 275 WIDTH =365 LEFT = 250 TOP = 85 VISIBILITY = HIDE>
<IMG SRC="../images/blubox.gif" HEIGHT=240 WIDTH=320>
</LAYER>
<LAYER NAME = "pinkbox" HEIGHT = 275 WIDTH =365 LEFT = 250 TOP = 85 VISIBILITY = HIDE>
<IMG SRC="../images/pnkbox.gif" HEIGHT=240 WIDTH=320>
</LAYER>
<LAYER NAME = "purpbox" HEIGHT = 275 WIDTH =365 LEFT = 250 TOP = 85 VISIBILITY = HIDE>
<IMG SRC="../images/prpbox.gif" HEIGHT=240 WIDTH=320>
</LAYER>
<LAYER NAME = "yellowbox" HEIGHT = 275 WIDTH =365 LEFT = 250 TOP = 85 VISIBILITY = HIDE>
<IMG SRC="../images/yelbox.gif" HEIGHT=240 WIDTH=320>
</LAYER>
<!-- Each of the five layers below contains text that is displayed dynamically over one of the colorboxes (in the default text area). -->
<LAYER NAME = "text2" TOP=85 LEFT =0 VISIBILITY = HIDE>
<P ID="mediumleftmargin"><STRONG>Your Personal Computer</STRONG></P>
<P ID="mediumleftmargin">Your personal computer is where Netscape Communicator is running. When you want to use the Internet, your computer uses Communicator's connection software and your modem to dial the phone number of your Internet service provider's computer.</P>
</LAYER>
<LAYER NAME = "text3" TOP=85 LEFT =0 VISIBILITY = HIDE>
<P ID="mediumleftmargin"><STRONG>Your Modem</STRONG></P>
<P ID="mediumleftmargin">Your modem is a critical part of your connection to the Internet. Without it, you could not connect. A modem translates computer data into a stream of sounds that travel along the phone line to your Internet service provider. Your Internet service provider has another modem at its end of the phone line that translates the stream of sounds back into computer data.</P>
</LAYER>
<LAYER NAME = "text4" TOP=85 LEFT =0 VISIBILITY = HIDE>
<P ID="mediumleftmargin"><STRONG>A Telephone Line</STRONG></P>
<P ID="mediumleftmargin">To use the Internet, your personal computer needs a way to exchange data with your Internet service provider's computer. A telephone line provides this physical link to your Internet service provider's computer. You can use any ordinary phone line--your home phone line, a hotel phone line, or even, in some places, a pay phone line.</P>
</LAYER>
<LAYER NAME = "text5" TOP=85 LEFT =0 VISIBILITY = HIDE>
<P ID="mediumleftmargin"><STRONG>Internet Service Provider</STRONG></P>
<P ID="mediumleftmargin">An Internet service provider is your gateway to the Internet. Your provider's computer answers the phone call from your personal computer. When it answers the call, the two computers can "talk" to one another over the phone line. Your Internet service provider's computer is permanently conntected to the Internet and takes care of passing information back and forth between your computer and the Internet. </P>
</LAYER>
<LAYER NAME = "text6" TOP=85 LEFT =0 VISIBILITY = HIDE>
<P ID="mediumleftmargin"><STRONG>The Internet</STRONG></P>
<P ID="mediumleftmargin">The Internet is a global network of computers that cooperate to exchange information. Many of the computers on the Internet, such as your Internet service provider's computer, are permanently connected together with fiber-optic lines that can carry data at very high rates of speed. Using the Internet, you can exchange information with any other user or computer linked to the network.</P>
</LAYER>
<!-- Each of the five layers below contains a color background image for one of the mouseover rectangles. -->
<LAYER NAME = "listbox1" LEFT = 0 TOP = 105 VISIBILITY = HIDE>
<IMG SRC="../Images/listbx_g.gif" HEIGHT=20 WIDTH=256>
</LAYER>
<LAYER NAME = "listbox2" LEFT = 0 TOP =155 VISIBILITY = HIDE>
<IMG SRC="../Images/listbx_p.gif" HEIGHT=20 WIDTH=256>
</LAYER>
<LAYER NAME = "listbox3" LEFT = 0 TOP =205 VISIBILITY = HIDE>
<IMG SRC="../Images/listbx_y.gif" HEIGHT=20 WIDTH=256>
</LAYER>
<LAYER NAME = "listbox4" LEFT = 0 TOP =255 VISIBILITY = HIDE>
<IMG SRC="../Images/listbx_b.gif" HEIGHT=20 WIDTH=256>
</LAYER>
<LAYER NAME = "listbox5" LEFT = 0 TOP =305 VISIBILITY = HIDE>
<IMG SRC="../Images/listbx_k.gif" HEIGHT=20 WIDTH=256>
</LAYER>
<!-- The table in the layer below contains the titles for the mouseover rectangles. -->
<LAYER NAME = "list" LEFT =15 TOP = 90 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD HEIGHT=50 VALIGN="TOP" ALIGN="LEFT">
<B CLASS="colorbartext">Your Personal Computer</B>
</TD>
</TR>
<TR>
<TD HEIGHT= 50 VALIGN="TOP" ALIGN="LEFT">
<B CLASS="colorbartext">Your Modem</B>
</TD>
</TR>
<TR>
<TD HEIGHT= 50 VALIGN="TOP" ALIGN="LEFT">
<B CLASS="colorbartext">A Telephone Line</B>
</TD>
</TR>
<TR>
<TD HEIGHT= 50 VALIGN="TOP" ALIGN="LEFT">
<B CLASS="colorbartext">Internet Service Provider</B>
</TD>
</TR>
<TR>
<TD HEIGHT= 50 VALIGN="TOP" ALIGN="LEFT">
<B CLASS="colorbartext">The Internet</B>
</TD>
</TR>
</TABLE>
</LAYER>
<!-- The table in this layer controls the location of the live mouseover rectangles and the layer displayed in the default text area on mouseover. This layer must be the last layer listed in this HTML file, so that it is the uppermost layer displayed.-->
<LAYER NAME = "tranparent" LEFT =0 TOP = 90 VISIBILITY = SHOW>
<TABLE BORDER=0 VALIGN="TOP" CELLPADDING=0 CELLSPACING=0>
<TR>
<TD HEIGHT=50 VALIGN=TOP>
<A HREF="about:blank" onClick="return false" ID="intro203" onmouseover="hideLayer('text1');showLayer('greenbox');showLayer('listbox1');showLayer('text2');" onmouseout="hideLayer('greenbox');hideLayer('listbox1');hideLayer('text2');showLayer('text1')">
<IMG BORDER=0 SRC="../images/transbx.gif" HEIGHT=20 WIDTH=200 border=1></A>
</TD>
</TR>
<TR>
<TD HEIGHT=50 VALIGN=TOP>
<A HREF="about:blank" onClick="return false" ID="intro204" onmouseover="hideLayer('text1');showLayer('purpbox');showLayer('listbox2');showLayer('text3')" onmouseout="hideLayer('purpbox');hideLayer('listbox2');hideLayer('text3');showLayer('text1')">
<IMG BORDER=0 SRC="../images/transbx.gif" HEIGHT=20 WIDTH=200 border=1></A>
</TD>
</TR>
<TR>
<TD HEIGHT=50 VALIGN=TOP>
<A HREF="about:blank" onClick="return false" ID="intro205" onmouseover="hideLayer('text1');showLayer('yellowbox');showLayer('listbox3');showLayer('text4')" onmouseout="hideLayer('yellowbox');hideLayer('listbox3');hideLayer('text4');showLayer('text1')">
<IMG BORDER=0 SRC="../images/transbx.gif" HEIGHT=20 WIDTH=200 border=1></A>
</TD>
</TR>
<TR>
<TD HEIGHT=50 VALIGN=TOP>
<A HREF="about:blank" onClick="return false" ID="intro206" onmouseover="hideLayer('text1');showLayer('bluebox');showLayer('listbox4');showLayer('text5')" onmouseout="hideLayer('bluebox');hideLayer('listbox4');hideLayer('text5');showLayer('text1')">
<IMG BORDER=0 SRC="../images/transbx.gif" HEIGHT=20 WIDTH=200 border=1></A>
</TD>
</TR>
<TR>
<TD HEIGHT=50 VALIGN=TOP>
<A HREF="about:blank" onClick="return false" ID="intro207" onmouseover="hideLayer('text1');showLayer('pinkbox');showLayer('listbox5');showLayer('text6')" onmouseout="hideLayer('pinkbox');hideLayer('listbox5');hideLayer('text6');showLayer('text1')">
<IMG BORDER=0 SRC="../images/transbx.gif" HEIGHT=20 WIDTH=200 border=1></A>
</TD>
</TR>
</TABLE>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,90 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="intro.jar" SRC="dummy.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY onLoad="loadData()" ID="intro300" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 19 VISIBILITY = SHOW>
<IMG SRC="../images/gr_3.gif" ></LAYER>
</LAYER>
<!-- The layer below contains the text associated with the image. -->
<LAYER NAME = "imagetext" LEFT = 58 TOP = 312 VISIBILITY = SHOW>
<B CLASS="ispcallout">ISP</B>
</FONT>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>What is an Internet Service Provider?</B></P>
<P ID="smallleftmargin">As you saw on the previous screen, you need an account with an Internet service provider before you can connect to the Internet and use Communicator. </P>
<P ID="smallleftmargin">An Internet service provider, sometimes called an ISP, is a company that specializes in providing Internet access to individual users who connect using their phone lines and modems. It maintains a permanent connection to the Internet, then lets its customers access that connection for a fee. </P>
<P ID="smallleftmargin">If you don't yet have an account with an Internet service provider, you can use Account Setup to create one right away. Account Setup lets you compare the account plans available to you and create an Internet account right away.</P>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,168 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="intro.jar" SRC="dummy.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
</HEAD>
<BODY onLoad="loadData()" ID="intro400" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 19 VISIBILITY = SHOW>
<IMG SRC="../images/gr_3.gif" ></LAYER>
</LAYER>
<!-- The layer below contains the text associated with the image. -->
<LAYER NAME = "imagetext" LEFT = 58 TOP = 312 VISIBILITY = SHOW>
<B CLASS="accountscallout">account<BR>plans</B>
</FONT>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>Comparing Account Plans</B></P>
<P ID="smallleftmargin">When you are comparing account plans, keep your needs in mind. Most account plans offer similar access to the World Wide Web, electronic mail (email), and newsgroups, but differ mainly in: </P>
<UL ID="bulletssmallleftmargin">
<LI><B>The phone number you dial to connect.</B> Some plans let you connect by dialing a local or regional phone number; others, by dialing a toll-free number. Some plans even offer national or international connection numbers.</LI>
<spacer type=vertical size=4>
<LI><B>Extra services and billing options.</B> Some plans include extra services, such as a place where you can publish your own Web pages. Some plans are paid for at an hourly usage rate, while others give you unlimited connection time for a monthly fee.</LI>
</UL>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,92 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="intro.jar" SRC="dummy.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY onLoad="loadData()" ID="intro500" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 19 VISIBILITY = SHOW>
<IMG SRC="../images/gr_3.gif" ></LAYER>
</LAYER>
<!-- The layer below contains the text associated with the image. -->
<LAYER NAME = "imagetext" LEFT = 58 TOP = 312 VISIBILITY = SHOW>
<B CLASS="accountscallout">creating</B>
</FONT>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>Creating an Internet Account</B></P>
<P ID="smallleftmargin">If you don't yet have an Internet account, you can use Account Setup to find out about the account plans available and sign up for the one that best meets your needs. </P>
<P ID="smallleftmargin">When you sign up, you are creating an Internet account in your name that gives you access to the World Wide Web, email, newsgroups, and other services offered in your account plan. Your provider gives you a unique user name, password, and email identity for your account. Account Setup automatically sets up Communicator with this information so that you can access your account immediately.</P>
<P ID="smallleftmargin">If you already have an Internet account, you can use Account Setup to quickly set up Communicator to access your account. To find out more,
click Next.</P>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,91 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="intro.jar" SRC="dummy.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="isheet.jar" SRC="isheet.js">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
</HEAD>
<BODY onLoad="loadData()" ID="intro600" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="../Images/bg.gif">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 20 TOP = 25 VISIBILITY = SHOW>
<IMG SRC="../images/whit_bg.gif" ALIGN=LEFT>
</LAYER>
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="../images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 19 VISIBILITY = SHOW>
<IMG SRC="../images/gr_3.gif" ></LAYER>
<!-- The layer below contains the text associated with the image. -->
<LAYER NAME = "imagetext" LEFT = 58 TOP = 312 VISIBILITY = SHOW>
<B CLASS="accountscallout">existing</B>
</FONT>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="title"><B>If You Already Have an Account</B></P>
<P ID="smallleftmargin">If you already have an Internet account, you can use Account Setup to quickly set up Communicator and your dialer software to access it.</P>
<P CLASS="nospace" ID="smallleftmargin">All you need to do is supply the information requested in Account Setup--such as the phone number you dial to connect, the type of modem you are using, your account login and password, and so on. When you have done so, Account Setup automatically configures Communicator and its connection software so that you can connect to your account right away.</P>
<P CLASS="nospace" ID="smallleftmargin">To go to Account Setup, click Next.</P>
</LAYER>
</BODY>
</HTML>

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

@ -0,0 +1,95 @@
/* -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
//TAGS FOR INTERNET PREVIEW SCREENS
document.tags.BODY.fontFamily="PrimaSans BT, Helvetica,Arial";
//tags.BODY.fontSize="12px";
//tags.BODY.textAlign="left";
//tags.BODY.color="black";
//tags.BODY.marginTop="0";
//tags.BODY.marginBottom="0";
//tags.BODY.marginLeft="72";
document.tags.BODY.borderWidths(0, 0, 0, 0);
document.tags.BODY.paddings(0, 0, 0, 0);
document.tags.P.fontFamily="PrimaSans BT, Helvetica,Arial";
document.tags.P.fontSize="12px";
document.tags.P.lineHeight="1.1";
document.tags.P.margins(14,40,0,255);
//Titles of Internet Preview screens
document.classes.title.all.fontSize="23px";
document.classes.title.all.fontFamily="PrimaSans BT, Helvetica,Arial";
document.classes.title.all.margins(34,0,0,43);
//Tables (for forms inputs, etc.)
document.tags.TABLE.marginTop="14";
document.tags.TD.fontFamily="PrimaSans BT, Helvetica,Arial";
document.tags.TD.fontSize="11px";
document.tags.TD.lineHeight="1.2"
//the entries below are exceptions to the standard definition
document.ids.nospace.marginTop="0";
document.ids.minspace.marginTop="6";
document.ids.nomargins.margins(14,8,8,8);
document.ids.buttontext.fontSize="11px";
document.ids.smallleftmargin.margins(14,40,0,160);
document.ids.mediumleftmargin.margins(14,40,0,265);
document.ids.bulletssmallleftmargin.marginLeft="160";
//Lists
document.tags.UL.listStyleType="disc";
document.tags.UL.fontFamily="PrimaSans BT, Helvetica,Arial";
document.tags.UL.fontSize="12px";
//tags.UL.lineHeight="1.2";
document.tags.UL.margins(-6,40,0,255);
document.tags.LI.fontSize="10";
//Account Setup tag
document.classes.previewtag.all.fontSize="12px";
document.classes.previewtag.all.paddingLeft="5";
document.classes.previewtag.all.color="white";
document.classes.colorbartext.all.fontSize="11px";
document.classes.colorbartext.all.color="white";
//tags for intro screens callouts (intro3,intro4,intro5,intro6)
document.classes.ispcallout.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.ispcallout.all.fontSize="29px";
document.classes.ispcallout.all.color="FFFFFF";
document.classes.accountscallout.all.fontFamily="PrimaSans BT,Helvetica,Arial";
document.classes.accountscallout.all.fontSize="13px";
document.classes.accountscallout.all.color="FFFFFF";

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

@ -0,0 +1,67 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="later.js">
</SCRIPT>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="later100">
<spacer type=vertical size=16>
<spacer type=horizontal size=40>
<FONT FACE="Humnst777 BT,Helvetica,Arial" POINT-SIZE="23" COLOR="#000000">
Connect Later...
</FONT>
<spacer type=vertical size=16>
<spacer type=horizontal size=72>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH=500>
<TR>
<TD ALIGN=LEFT VALIGN=TOP>
<FONT FACE="Humnst777 LT,Helvetica,Arial" POINT-SIZE="11" COLOR="#000000">
<P>You're finished using Account Setup but have chosen not to connect to the Internet right now. Click Exit to leave Account Setup. Before closing, Account Setup automatically sets up Communicator to access your Internet account.</P>
<P>When you are ready to connect to the Internet, all you have to do is launch Communicator by double-clicking its icon in the Netscape Communicator folder or program group. Communicator automatically initiates a connection to your Internet account.</P>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,82 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
return(checkData());
}
function checkData()
{
// check browser version
var theAgent=navigator.userAgent;
var x=theAgent.indexOf("/");
if (x>=0) {
theVersion=theAgent.substring(x+1,theAgent.length);
x=theVersion.indexOf(".");
if (x>0) {
theVersion=theVersion.substring(0,x);
}
if (parseInt(theVersion)>=4) {
if (theAgent.indexOf("4.0b2")>=0) {
// Navigator 4.0b2 specific features
toolbar=true;
menubar=true;
locationbar=true;
directory=true;
statusbar=true;
scrollbars=true;
}
else {
// Navigator 4.0b3 and later features
toolbar.visible=true;
menubar.visible=true;
locationbar.visible=true;
personalbar.visible=true; // was directory
statusbar.visible=true;
scrollbars.visible=true;
}
}
}
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

155
cmd/dialup/as_html/main.htm Normal file
Просмотреть файл

@ -0,0 +1,155 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" SRC="main.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY onLoad="loadData()" BGCOLOR="#C0C0C0" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000" BACKGROUND="images/bg.gif" ID="main100">
<!-- The layer below contains the white background area for the text. -->
<LAYER NAME = "white" LEFT = 19 TOP = 32 VISIBILITY = SHOW>
<IMG SRC="images/whit_bg.gif">
</LAYER>
<!-- The layer below contains the Netscape Communicator identifier. -->
<LAYER NAME = "whitehead" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ALIGN=LEFT WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="tag">NETSCAPE COMMUNICATOR</B></TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the image associated with this screen. -->
<LAYER NAME = "image" LEFT = 0 TOP = 68 VISIBILITY = SHOW>
<IMG SRC="images/splash.gif">
</LAYER>
<!-- The layer below contains the Dial-Up Edition header. -->
<LAYER NAME = "head" LEFT = 0 TOP = 0 VISIBILITY = SHOW>
<P CLASS="due"><B>Dial-Up Edition</B></P>
</FONT>
</LAYER>
<!-- The layer below contains the text displayed when Account Setup is launched
after a clean installation, that is, when Communicator detects no existing Communicator
user preferences file or user profile. -->
<LAYER NAME = "Clean_Installation" LEFT = 0 TOP = 0 VISIBILITY = HIDE >
<P CLASS="body">Netscape Communicator is your one solution for getting all that the Internet has to offer. Once you've set up Communicator to access the Internet, you can use it to browse the World Wide Web, send and receive electronic mail, publish your own web pages, and more.</P>
<P CLASS="bodysecondparagraph">
<SPACER TYPE= HORIZONTAL SIZE=55>To set up Communicator, click Start Account Setup.</P>
</LAYER>
<!-- The layer below contains the text displayed when Account Setup is launched
and Communicator detects exactly one configured user profile. -->
<LAYER NAME = "Profile_Configured" TOP="0" LEFT="0" VISIBILITY = HIDE>
<P CLASS="body">You are about to use Account Setup to replace your Internet account with another account. While you can safely use Account Setup in this way, we recommend that you create a new user profile first, then use Account Setup. </P>
<P CLASS="bodysecondparagraph">
<SPACER TYPE= HORIZONTAL SIZE=47>To continue, click Start Account Setup. To create a
<BR><SPACER TYPE= HORIZONTAL SIZE=70>new profile, launch the User Profile Manager
<BR><SPACER TYPE= HORIZONTAL SIZE=79>from the Netscape Communicator folder
<BR><SPACER TYPE= HORIZONTAL SIZE=86>or program group.</P>
</LAYER>
<!-- The layer below contains the text displayed when Account Setup is launched
and Communicator detects no existing Communicator user preferences or user profile. -->
<LAYER NAME = "Profile_Manager_Entrance" TOP="0" LEFT="0" VISIBILITY = HIDE>
<P CLASS="body">You are about to use Account Setup to create access to an Internet account and associate the account with your new user profile. To begin, click Start Account Setup.</P>
</LAYER>
<!-- The layer below contains the button that links to Account Setup. -->
<LAYER NAME="buttontext" WIDTH =275 LEFT=340 TOP=154 VISIBILITY=HIDE>
<TABLE border=0 CELLSPACING="0" CELLPADDING="0">
<TR>
<TD VALIGN="MIDDLE" ALIGN="LEFT" HEIGHT=75>
<A HREF="about:blank" onClick="document.images['start'].SRC='images/str_dn.gif'; setPath('Next'); return false" onMouseOver="document.images['start'].src='images/str_mo.gif'" onMouseOut="document.images['start'].src='images/start.gif'" ID="main101"><IMG NAME="start" SRC="images/start.gif" LOWSRC="images/str_dn.gif" BORDER=0 HEIGHT=53 WIDTH=54></A>
</TD>
<TD WIDTH="4"></TD>
<TD VALIGN="MIDDLE" ALIGN="LEFT">
<B class="sas">START</B>
<BR>
<B class="sas1">ACCOUNT SETUP</B>
</TD>
</TR>
</TABLE>
<!-- The table below contains the buttons that link to the Previews. If you want to remove the Previews, simply remove the table below. If you want to remove one or the other of the Previews, you can remove them as groups of rows, as described by comments within the table. -->
<TABLE border=0 CELLSPACING="0" CELLPADDING="0" CLASS="previews">
<!-- To remove the Internet Preview, remove the four table rows below. -->
<TR><TD WIDTH=200 HEIGHT=16 BGCOLOR="#006666" VALIGN="MIDDLE" CLASS="previewhead">&nbsp;<B>INTERNET PREVIEW</B></TD><TD ALIGN=LEFT VALIGN=TOP BACKGROUND=images/filler.gif ROWSPAN=2><spacer type=vertical size=10><A HREF="about:blank" onClick="document.images['info1'].SRC='images/info_dn.gif'; setPath('Internet Preview'); return(false)" onMouseOver="document.images['info1'].src='images/info_mo.gif'" onMouseOut="document.images['info1'].src='images/info.gif'" ID="main102"><IMG NAME="info1" SRC="images/info.gif" BORDER=0 HEIGHT=31 WIDTH=30></A></TD><TD WIDTH=10 BGCOLOR="#006666" VALIGN="BOTTOM"><FONT COLOR="#006666">'</FONT></TD></TR>
<TR><TD HEIGHT="22" CLASS="blurb">Learn more about the Internet<BR> and the World Wide Web.</TD></TR>
<TR><TD HEIGHT=8 COLSPAN=3></TD></TR>
<!-- To remove the Communicator preview, remove the three table rows below. -->
<TR><TD WIDTH=200 HEIGHT=16 BGCOLOR="#006666" VALIGN="MIDDLE" CLASS="previewhead">&nbsp;<B>COMMUNICATOR PREVIEW</B></TD><TD ALIGN=LEFT VALIGN=TOP BACKGROUND=images/filler.gif ROWSPAN=2><spacer type=vertical size=10><A HREF="about:blank" onClick="document.images['info2'].SRC='images/info_dn.gif'; setPath('Preview'); return(false)" onMouseOver="document.images['info2'].src='images/info_mo.gif'" onMouseOut="document.images['info2'].src='images/info.gif'" ID="main103"><IMG NAME="info2" SRC="images/info.gif" BORDER=0 HEIGHT=31 WIDTH=30></A></TD><TD WIDTH=10 BGCOLOR="#006666" VALIGN="BOTTOM"><FONT COLOR="#006666">'</FONT></TD></TR>
<TR><TD HEIGHT="22" CLASS="blurb">Learn more about all the features<BR>you get in Dial-Up Edition.</TD><TD VALIGN="BOTTOM" ROWSPAN=2></TD></TR>
</TABLE>
</LAYER>
</BODY>
</HTML>

159
cmd/dialup/as_html/main.js Normal file
Просмотреть файл

@ -0,0 +1,159 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
var captureString="";
var thePath = "";
function go(msg)
{
if (msg == thePath) {
return(checkData());
}
return(false);
}
function doGo()
{
parent.controls.go("Next");
}
function setPath(msg)
{
thePath = msg;
setTimeout("doGo()",1);
}
function checkData()
{
return(true);
}
function doAbout()
{
parent.controls.go("About");
}
function captureKeys(e)
{
captureString = captureString + String.fromCharCode(e.which);
if (captureString.length>5) captureString = captureString.substring(captureString.length-5,captureString.length);
if (captureString == "about") {
captureString="";
setTimeout("doAbout()",1);
}
return(true);
}
function loadData()
{
var cleanFlag=false;
var configuredFlag=false;
var newProfileFlag=false;
var configFilename="";
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var acctSetupFile = parent.parent.globals.getAcctSetupFilename(self);
var editMode = parent.parent.globals.document.vars.editMode.value;
if (editMode != null && editMode != "") {
editMode = editMode.toLowerCase();
}
if (editMode != "yes") {
document.onkeydown = captureKeys;
// get platform
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var profileDir = parent.parent.globals.document.setupPlugin.GetCurrentProfileDirectory();
if (profileDir != null && profileDir != "") {
if (thePlatform == "Macintosh") { // Macintosh support
configFilename = profileDir + "Configuration";
}
else { // Windows support
configFilename = profileDir + "CONFIG.INI";
}
// if a MUC file exists: re-using Account Setup against a profile that's been configured
// else, if "account_setup.upgraded" is true, but no MUC: upgrade from 3.x or earlier
var accountName = parent.parent.globals.document.setupPlugin.GetNameValuePair(configFilename,"Account", "Account");
if (accountName != null && accountName != "" && accountName != "Untitled" && accountName != "None") {
configuredFlag=true;
}
else {
var profileName = parent.parent.globals.document.setupPlugin.GetCurrentProfileName();
if (profileName != null) {
profileName = profileName.toUpperCase();
if (profileName == '911' || profileName == 'USER1') {
cleanFlag=true;
}
else {
newProfileFlag=true;
}
}
}
}
// ensure that some descriptive layer is shown
if (cleanFlag==false && configuredFlag==false && newProfileFlag==false) {
cleanFlag=true;
}
if (document && document.layers) {
document.layers["Clean_Installation"].visibility = ((cleanFlag==true) ? "show":"hide");
document.layers["Profile_Configured"].visibility = ((configuredFlag==true) ? "show":"hide");
document.layers["Profile_Manager_Entrance"].visibility = ((newProfileFlag==true) ? "show":"hide");
}
parent.parent.globals.loadUserInput();
}
if (document && document.layers) {
document.layers["buttontext"].visibility = "show";
}
if (parent && parent.controls && parent.controls.generateControls) {
parent.controls.generateControls();
}
}
function saveData()
{
}

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

@ -0,0 +1,45 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH=..\..\..
DIRS=metadata
JAVA_DESTPATH=$(MOZ_SRC)\ns\dist\classes
PACKAGE=netscape\asw
!include <$(DEPTH)\config\rules.mak>
export:: $(JAVA_DESTPATH)\$(PACKAGE)
copy *.htm $(JAVA_DESTPATH)\$(PACKAGE)
copy *.js $(JAVA_DESTPATH)\$(PACKAGE)
install:: $(JAVA_DESTPATH)\$(PACKAGE)
-rm -rf $(JAVA_DESTPATH)\$(PACKAGE)\asw.arc
cd $(JAVA_DESTPATH)\$(PACKAGE)
$(PERL) $(MOZ_SRC)\ns\security\cmd\jar\signPages.pl \
!ifdef MOZ_CERT_DIR
-d $(MOZ_CERT_DIR) \
!endif
!ifdef MOZ_CERT_NAME
-k $(MOZ_CERT_NAME) \
!endif
!ifdef MOZ_CERT_PWD
-p $(MOZ_CERT_PWD) \
!endif
*.htm
$(ZIP) asw.jar *
clobber::
-rm -rf $(JAVA_DESTPATH)\$(PACKAGE)

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

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

@ -0,0 +1,17 @@
/*
* The contents of this directory are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use the files in this directory except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/

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

@ -0,0 +1,19 @@
# The contents of this file are subject to the Netscape Public License
# Version 1.0 (the "NPL"); you may not use this file except in
# compliance with the NPL. You may obtain a copy of the NPL at
# http://www.mozilla.org/NPL/
#
# Software distributed under the NPL is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
# for the specific language governing rights and limitations under the
# NPL.
#
# The Initial Developer of this code under the NPL is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All Rights
# Reserved.
#
DEPTH=..\..\..\..
DIRS=html
!include <$(DEPTH)\config\rules.mak>

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

@ -0,0 +1,866 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<EMBED NAME='setupPlugin' TYPE='application/x-netscape-autoconfigure-dialer' HIDDEN=true MAYSCRIPT></EMBED>
<TITLE>Milan Test for QA (help feed rjc's cats, send $$$)</TITLE>
</HEAD>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" ID="milan101">
</SCRIPT>
<BODY BGCOLOR="DDDDDD">
<CENTER>
Instructions: Fill out the following form then click on the "Save Milan Data" button.<P>
<TABLE BORDER=1>
<TH BGCOLOR="A0A0A0">
<FONT SIZE="+1">Element Field Color Legend</FONT>
</TH>
<TR>
<TD ALIGN=center BGCOLOR="7F7FFF">
To Be Implemented Soon
</TD>
</TR>
<TR>
<TD ALIGN=center BGCOLOR="00FF00">
Milan data used on all platforms
</TD>
</TR>
<TR>
<TD ALIGN=center BGCOLOR="FFFF00">
Milan data used on some platforms<BR>
(probably Windows)
</TD>
</TR>
<TR>
<TD ALIGN=center BGCOLOR="FF0000">
Unused Milan data
</TD>
</TR>
</TABLE>
<P>
<HR WIDTH="40%">
<P>
<FONT SIZE="+4">Account Setup 4.x Milan Elements</FONT>
<P>
<FORM>
<TABLE BORDER=1 WIDTH="90%">
<TH BGCOLOR="A0A0A0">
<FONT SIZE="+1">Element(s)</FONT>
</TH>
<TH WIDTH="25%">
<FONT SIZE="+1">Value</FONT>
</TH>
<TH>
<FONT SIZE="+1">Description</FONT>
</TH>
<TR>
<TD BGCOLOR="00FF00">
<B>Status:</B>
</TD>
<TD ALIGN=center>
<SELECT NAME="STATUS">
<OPTION VALUE="OK">OK
<OPTION VALUE="ERROR">ERROR
<OPTION VALUE="EXIT">EXIT
</SELECT>
</TD>
<TD>
If <B>OK</B>, an account was successfully created.<BR>
If <B>ERROR</B>, a user cancelled out of Reggie. (Ignore other data).<P>
(Milan Extension) If <B>EXIT</B>, quit Account Setup with no user prompt.<P>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Site Name:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="SITE_NAME" TYPE="text">
</TD>
<TD>
A short textual name of the site used for identification purposes.<P>(Win3.1 Program Manager, Win95 Dial-Up Networking item name, Mac FreePPP Account Name)
</TD>
</TR>
<TR>
<TD BGCOLOR="FF0000">
<B>Site Description:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="LONG_DESC" TYPE="text">
</TD>
<TD>
<FONT COLOR="FF0000">A longer description of the site.</FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="FFFF00">
<B>Dialer Filename:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="SITE_FILE" TYPE="text" MAXLENGTH=8 SIZE=8>.SR
</TD>
<TD>
Limited to 8 characters so an 8.3 dialer filename can be derived.<BR>
( ".SR" is the standard extension)<BR>
<FONT COLOR="FFFF00">(Unused on Mac)</FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Phone Number:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="PHONE_NUM" TYPE="text">
</TD>
<TD>
The phone number to dial for the account with the ISP.<BR>
Use TAPI format. For example: <B>+1 (415) 123-4567</B>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Long Distance?</B>
</TD>
<TD ALIGN=center>
<SELECT NAME="DIAL_AS_LONG_DISTANCE">
<OPTION VALUE="YES">YES
<OPTION VALUE="NO">NO
</SELECT>
</TD>
<TD>
If long-distance dialing is needed, <B>YES</B>; otherwise, <B>NO</B>.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Dial Area Code?</B>
</TD>
<TD ALIGN=center>
<SELECT NAME="DIAL_AREA_CODE">
<OPTION VALUE="YES">YES
<OPTION VALUE="NO">NO
</SELECT>
</TD>
<TD>
If area code is needed when dialing, <B>YES</B>; otherwise, <B>NO</B>.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>ISP Support Phone Number:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="ISP_SUPPORT" TYPE="text">
</TD>
<TD>
Support number for the ISP. Use TAPI format.<BR>
For example: <B>+1 (415) 123-4567</B><P>
If the user clicks on "Save Account Info" at end of the new account path, the ISP's support number is included.<BR>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>ISP URL:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="ISP_URL" TYPE="text">
</TD>
<TD>
If specified, its appended onto the end of the profile's bookmark file with the name from "Site Name" field.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Login:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="LOGIN" TYPE="text">
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Password:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="PASSWORD" TYPE="text">
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Login Script:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="LOGIN_SCRIPT" TYPE="text">
</TD>
<TD>
Login script. Format: waitstring | replystring | waitstring | replystring ...<P>
Example: <PRE> login:|%name|password:|%password </PRE>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Domain Name:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="DOMAIN_NAME" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>DNS Address #1:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="DNS_ADDR" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
DNS address in <B>111.222.333.444</B> format.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>DNS Address #2</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="DNS_ADDR_2" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
DNS address in <B>111.222.333.444</B> format.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>NNTP Host:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="NNTP_HOST" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
The news host (either an IP address or host name).
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>SMTP Host:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="SMTP_HOST" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
The email host (either an IP address or host name).
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>E-Mail Addr:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="EMAIL_ADDR" TYPE="text">
</TD>
<TD>
Email return address for the user.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>POP Server:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="POP_SERVER" TYPE="text" MAXLENGTH=40 SIZE=40>
</TD>
<TD>
<FONT COLOR="FF0000">If an IMAP host (see below) is sent, it overrides any POP Server specified.</FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>POP Password:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="POP_PASSWORD" TYPE="text">
</TD>
<TD>
This password is used for either a POP or IMAP server.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Home URL:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="HOME_URL" TYPE="text">
</TD>
<TD>
If specified, this URL will be used as the default home page. Otherwise, "home.netscape.com" will be used.
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Publishing View URL:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="PUBLISH_VIEW_URL" TYPE="text">
</TD>
<TD>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Publishing Push URL:</B>
</TD>
<TD ALIGN=center>
<INPUT NAME="PUBLISH_PUSH_URL" TYPE="text">
</TD>
<TD>
</TD>
</TR>
<TR>
<TD BGCOLOR="FFFF00">
<B>Windows ICON</B>
</TD>
<TD>
<CENTER>
<FONT COLOR="FF0000"><B>Binary data</B></FONT><P>
</CENTER>
<P>
</TD>
<TD>
<FONT COLOR="FFFF00">(Unused on Mac)</FONT>
</TD>
</TR>
</TABLE>
<P>
<HR WIDTH="40%">
<P>
The following elements are extensions to the Milan protocol:
<P>
<HR WIDTH="40%">
<P>
<TABLE BORDER=1 WIDTH="90%">
<TH BGCOLOR="A0A0A0">
<FONT SIZE="+1">New Element(s)</FONT>
</TH>
<TH WIDTH="25%">
<FONT SIZE="+1">Value</FONT>
</TH>
<TH>
<FONT SIZE="+1">Description</FONT>
</TH>
<TR>
<TD BGCOLOR="00FF00">
<B>Bookmark File Data:</B>
</TD>
<TD ALIGN=center>
<TEXTAREA NAME="BOOKMARK_FILE" ROWS=3></TEXTAREA>
</TD>
<TD>
Bookmark data is stored inside of the bookmark file in the current profile's directory <B>only if</B> a valid bookmark file does <B>not</B> already exist.<P>
If specified, this data <B>MUST</B> be a valid bookmark file beginning with:<P>
<CENTER>
<PRE> &lt!DOCTYPE NETSCAPE-Bookmark-file-1&gt </PRE>
</CENTER>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>IMAP:</B>
</TD>
<TD ALIGN=center>
Host: <INPUT NAME="IMAP_HOST" TYPE="text" MAXLENGTH=40 SIZE=40><BR>
Server Path: <INPUT NAME="IMAP_SERVERPATH" TYPE="text" SIZE=40>
</TD>
<TD>
The IMAP host (either an IP address or host name) and IMAP server path (optional) to mailbox.<P>
<FONT COLOR="FF0000">If an IMAP host is sent, it overrides any POP Server specified.</FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>LDAP Host(s):</B>
</TD>
<TD>
<SELECT NAME="LDAP_LIST" SIZE=3 WIDTH=60>
</SELECT>
<P>
LDAP_HOST_[1...n] and LDAP_DESC_[1...n] specify URL and description.
<P>
</TD>
<TD>
<CENTER>
<INPUT TYPE="button" VALUE="Add an LDAP host" onClick="addLDAP()" ID="milan102"><BR>
<INPUT TYPE="button" VALUE="Delete selected LDAP host" onClick="deleteLDAP()" ID="milan103">
</CENTER>
<P>
<CENTER>(See the "Sample LDAP URLs" section below.)</CENTER>
<P>
</TD>
</TR>
<TR>
<TD BGCOLOR="00FF00">
<B>Lock File Data:</B>
</TD>
<TD>
<CENTER>
<FONT COLOR="FF0000"><B>Binary data</B></FONT>
</CENTER>
<P>
(Mac & Win) LCK_FILE = [binary data]<P>
</TD>
<TD>
Lock File data is stored inside of a file named "PROFILE.CFG" in the current profile's directory.<P>
<FONT COLOR="FF0000">Lock File data is sent down from Reggie only if Account Setup sends "AS_LCK_SUPPORT=YES".</FONT>
</TD>
</TR>
<TR>
<TD BGCOLOR="7F7FFF">
<B>Animated "N" replacement images</B>
</TD>
<TD>
<CENTER>
<FONT COLOR="FF0000"><B>Binary data</B></FONT><P>
</CENTER>
(Mac) ANIMATION_DAT = [binary data fork]<BR>
(Mac) ANIMATION_RES = [binary resource fork]<P>
(Win) ANIMATION = [binary data]<P>
</TD>
<TD>
On the Macintosh, the ANIMATION_DAT and ANIMATION_RES forks are combined into one file which is written
out to a file named "Custom Animation" in the current profile's directory.<P>
On Windows, ANIMATION is written out to a file named "?????" in the current profile's directory.<P>
</TD>
</TR>
</TABLE>
<P>
<HR WIDTH="40%">
<P>
<TABLE BORDER=0>
<TR>
<TD>
<INPUT TYPE="button" VALUE="Save Milan Data" onClick="doMilan()" ID="milan104">
</TD>
<TD>
Mime Type:
<SELECT NAME="MIMETYPE">
<OPTION VALUE="application/x-netscape-autoconfigure-dialer">application/x-netscape-autoconfigure-dialer
<OPTION VALUE="application/x-netscape-autoconfigure-dialer-v2">application/x-netscape-autoconfigure-dialer-v2
</SELECT>
<P>
<CENTER>
Note: V2 is an extension to the Milan MIME-type allowing data elements over 32K.
</CENTER>
<P>
</TD>
</TR>
</TABLE>
<P>
</FORM>
<P>
<HR WIDTH="40%">
<P>
<TABLE BORDER=1>
<TH BGCOLOR="A0A0A0">
<FONT SIZE="+1">Note(s)</FONT>
</TH>
<TR>
<TD ALIGN=center BGCOLOR="00FF00">
Sample LDAP URLs:
<P>
<TABLE BORDER=1>
<TR>
<TD>
Generic LDAP:<BR>
LDAP URL:<BR>
LDAP URL with port #:<BR>
LDAP over SSL URL:<BR>
LDAP over SSL URL with port # & searchbase:<BR>
</TR>
<TD>
ldap1.netscape.com<BR>
ldap://ldap2.netscape.com/<BR>
ldap://ldap3.netscape.com:33/<BR>
sldap://ldap4.netscape.com/<BR>
sldap://ldap5.netscape.com:666/cn=Test<BR>
</TD>
</TR>
</TABLE>
<P>
</TD>
</TR>
<TR>
<TD BGCOLOR="FFFF00">
The <B>ICON, LCK_FILE, and ANIMATION</B> Milan fields are binary data and can't be specified on this screen.
</TD>
</TR>
<TR>
<TD BGCOLOR="FF0000">
<B>ISP_ACCT_ID</B> and <B>REG_ID</B> as defined in the Milan spec are not being used.
</TD>
</TR>
</TABLE>
<P>
<I>Version 1.1 - June 3, 1997 by <A HREF="mailto:rjc@netscape.com?subject=Milan%20Elements">rjc</A></I>
<P>
</CENTER>
</BODY>
<SCRIPT LANGUAGE="JavaScript" ARCHIVE="asw.jar" ID="milan100">
function addLDAP()
{
var ldapURL = prompt("Enter an LDAP URL:", "ldap.netscape.com");
if (ldapURL == null || ldapURL == "") {
alert("An LDAP URL must be specified.");
return(false);
}
var ldapName = prompt("Enter a description of the LDAP service:", "");
if (ldapName == null || ldapName == "") {
alert("An LDAP description must be specified.");
return(false);
}
var len = document.forms[0].LDAP_LIST.length;
document.forms[0].LDAP_LIST.options[len] = new Option(ldapName,ldapURL,false,false);
document.forms[0].LDAP_LIST[len].selected=true;
return(true);
}
function deleteLDAP()
{
var theIndex = document.forms[0].LDAP_LIST.selectedIndex;
if (theIndex>=0) {
document.forms[0].LDAP_LIST[theIndex] = null;
if (theIndex>0) {
document.forms[0].LDAP_LIST[theIndex-1].selected=true;
}
}
else {
alert("Please select an LDAP host before clicking the Delete button.");
}
}
function verifyIPaddress(address)
{
var dotCount=0,dotIndex=0,net,validFlag=false;
while(dotIndex>=0) {
net="";
dotIndex=address.indexOf(".");
if (dotIndex>=0) {
net=address.substring(0,dotIndex);
address=address.substring(dotIndex+1);
++dotCount;
}
else {
net=address;
if (net=="") break;
}
netValue=parseInt(net);
if (isNaN(netValue)) break;
if (netValue<0 || netValue>255) break;
if (dotCount==3 && dotIndex<0) validFlag=true;
}
return(validFlag);
}
function doMilan()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
// try and verify various fields before saving data
if (document.forms[0].DNS_ADDR.value != "") {
if (verifyIPaddress(document.forms[0].DNS_ADDR.value)==false) {
alert("The address of the primary DNS server is not valid. It should consist of digits separated by periods.");
return(false);
}
}
if (document.forms[0].DNS_ADDR_2.value != "") {
if (verifyIPaddress(document.forms[0].DNS_ADDR_2.value)==false) {
alert("The address of the secondary DNS server is not valid. It should consist of digits separated by periods.");
return(false);
}
}
var bookmarkData = document.forms[0].BOOKMARK_FILE.value;
if (bookmarkData != "") {
if (bookmarkData.indexOf("<!DOCTYPE NETSCAPE-Bookmark-file-1>") !=0) {
alert("Invalid bookmark data.");
return(false);
}
}
// build milan data
var extendedLengthFlag=false;
if (document.forms[0].MIMETYPE.selectedIndex==1) {
if (confirm("Are you sure you want to save using the new/untested Milan extended MIME type?") == false) {
return(false);
}
extendedLengthFlag=true;
}
var data;
data = document.forms[0].STATUS[document.forms[0].STATUS.selectedIndex].value;
if (data!="") document.setupPlugin.Milan("STATUS",data,false,extendedLengthFlag);
data = document.forms[0].SITE_NAME.value;
if (data!="") document.setupPlugin.Milan("SITE_NAME",data,false,extendedLengthFlag);
data = document.forms[0].LONG_DESC.value;
if (data!="") document.setupPlugin.Milan("LONG_DESC",data,false,extendedLengthFlag);
data = document.forms[0].SITE_FILE.value;
if (data!="") document.setupPlugin.Milan("SITE_FILE",data,false,extendedLengthFlag);
data = document.forms[0].PHONE_NUM.value;
if (data!="") document.setupPlugin.Milan("PHONE_NUM",data,false,extendedLengthFlag);
data = document.forms[0].DIAL_AS_LONG_DISTANCE[document.forms[0].DIAL_AS_LONG_DISTANCE.selectedIndex].value;
if (data!="") document.setupPlugin.Milan("DIAL_AS_LONG_DISTANCE",data,false,extendedLengthFlag);
data = document.forms[0].DIAL_AREA_CODE[document.forms[0].DIAL_AREA_CODE.selectedIndex].value;
if (data!="") document.setupPlugin.Milan("DIAL_AREA_CODE",data,false,extendedLengthFlag);
data = document.forms[0].ISP_SUPPORT.value;
if (data!="") document.setupPlugin.Milan("ISP_SUPPORT",data,false,extendedLengthFlag);
data = document.forms[0].ISP_URL.value;
if (data!="") document.setupPlugin.Milan("ISP_URL",data,false,extendedLengthFlag);
data = document.forms[0].LOGIN.value;
if (data!="") document.setupPlugin.Milan("LOGIN",data,false,extendedLengthFlag);
data = document.forms[0].PASSWORD.value;
if (data!="") document.setupPlugin.Milan("PASSWORD",data,false,extendedLengthFlag);
data = document.forms[0].LOGIN_SCRIPT.value;
if (data!="") document.setupPlugin.Milan("LOGIN_SCRIPT",data,false,extendedLengthFlag);
data = document.forms[0].DOMAIN_NAME.value;
if (data!="") document.setupPlugin.Milan("DOMAIN_NAME",data,false,extendedLengthFlag);
data = document.forms[0].DNS_ADDR.value;
if (data!="") document.setupPlugin.Milan("DNS_ADDR",data,false,extendedLengthFlag);
data = document.forms[0].DNS_ADDR_2.value;
if (data!="") document.setupPlugin.Milan("DNS_ADDR_2",data,false,extendedLengthFlag);
data = document.forms[0].NNTP_HOST.value;
if (data!="") document.setupPlugin.Milan("NNTP_HOST",data,false,extendedLengthFlag);
data = document.forms[0].SMTP_HOST.value;
if (data!="") document.setupPlugin.Milan("SMTP_HOST",data,false,extendedLengthFlag);
data = document.forms[0].EMAIL_ADDR.value;
if (data!="") document.setupPlugin.Milan("EMAIL_ADDR",data,false,extendedLengthFlag);
data = document.forms[0].POP_SERVER.value;
if (data!="") document.setupPlugin.Milan("POP_SERVER",data,false,extendedLengthFlag);
data = document.forms[0].POP_PASSWORD.value;
if (data!="") document.setupPlugin.Milan("POP_PASSWORD",data,false,extendedLengthFlag);
data = document.forms[0].HOME_URL.value;
if (data!="") document.setupPlugin.Milan("HOME_URL",data,false,extendedLengthFlag);
data = document.forms[0].HOME_URL.value;
if (data!="") document.setupPlugin.Milan("HOME_URL",data,false,extendedLengthFlag);
data = document.forms[0].PUBLISH_VIEW_URL.value;
if (data!="") document.setupPlugin.Milan("PUBLISH_VIEW_URL",data,false,extendedLengthFlag);
data = document.forms[0].PUBLISH_PUSH_URL.value;
if (data!="") document.setupPlugin.Milan("PUBLISH_PUSH_URL",data,false,extendedLengthFlag);
data = document.forms[0].BOOKMARK_FILE.value;
if (data!="") document.setupPlugin.Milan("BOOKMARK_FILE",data,false,extendedLengthFlag);
data = document.forms[0].IMAP_HOST.value;
if (data!="") document.setupPlugin.Milan("IMAP_HOST",data,false,extendedLengthFlag);
data = document.forms[0].IMAP_SERVERPATH.value;
if (data!="") document.setupPlugin.Milan("IMAP_SERVERPATH",data,false,extendedLengthFlag);
/*
data = document.forms[0].LCK_FILE.value;
if (data!="") document.setupPlugin.Milan("LCK_FILE",data,false,extendedLengthFlag);
*/
// the LDAP list needs to be handled differently
var numLDAP = document.forms[0].LDAP_LIST.length;
var theIndex=1;
for (x=0; x<numLDAP; x++) {
var ldapURL = document.forms[0].LDAP_LIST[x].value;
var ldapName = document.forms[0].LDAP_LIST[x].text;
if (ldapName != "" && ldapURL != "") {
var theName="LDAP_HOST_" + theIndex;
document.setupPlugin.Milan(theName,ldapURL,false,extendedLengthFlag);
var theDesc="LDAP_DESC_" + theIndex;
document.setupPlugin.Milan(theDesc,ldapName,false,extendedLengthFlag);
theIndex = theIndex+1;
}
}
// all data, flush data
document.setupPlugin.Milan(null,null,false,extendedLengthFlag);
return(true);
}
</SCRIPT>
</HTML>

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

@ -0,0 +1,120 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="modem1.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="modem100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<FORM>
<P CLASS="title"><B>Your Modem</B></P>
<P>Please select the modem connected to your computer from the pop-up list below, so that Account Setup can use it when connecting to the Internet account server.</P>
<CENTER>
<TABLE CELLPADDING="0" CELLSPACING="0" border="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
<B>Current Modem:</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<SELECT NAME="modem" WIDTH=300>
<OPTION>Sorry, No modems have been detected...</OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
<OPTION></OPTION>
</SELECT>
<SCRIPT LANGUAGE="JavaScript" ID="modem101">
generateModems();
</SCRIPT>
</TD>
</TR>
</TABLE>
</CENTER>
<LAYER NAME="ModemSetup" VISIBILITY=HIDE TOP=160 LEFT=8>
<P>If your modem was not listed, click the Modem Setup button to set up your modem and add it to the list.</P>
<CENTER>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" ID="minspace">
<TR>
<TD ALIGN="CENTER" VALIGN=TOP>
<A HREF="about:blank" ID="modem102" onMouseOver="window.status='Click the Modem Setup button for modem assistance.';return true" onClick="callModemWizard(); return false"><IMG SRC="images/switch.gif" BORDER=0 WIDTH=32 HEIGHT=32></A>
<spacer type=vertical size=2>
<P CLASS="buttontext"><SPACER TYPE=VERTICAL SIZE=4><B>Modem <BR>Setup</B></P>
</TD>
</TR>
</TABLE>
</CENTER>
<P>When you have selected your modem from the list, click Next.</P>
</LAYER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,235 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (document.forms[0].modem.selectedIndex >= 0) {
if (parent.parent.globals.document.vars.path.value == "New Path") {
var theModem = document.forms[0].modem[document.forms[0].modem.selectedIndex].value;
/*
var theModemType = parent.parent.globals.document.setupPlugin.GetModemType(theModem);
if (theModemType != null) {
theModemType = theModemType.toUpperCase();
if (theModemType == "ISDN") {
alert("ISDN modems can not be used to connect to the Internet account server.");
return(false);
}
}
*/
if (theModem != "") {
if (theModem.indexOf("ISDN-")>=0) { // magic "ISDN-" check
alert("ISDN modems can not be used to connect to the Internet account server.");
return(false);
}
}
}
}
else {
alert("Please select a modem, or install a modem if no modem is installed!");
return(false);
}
return(true);
}
function loadData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
if (thePlatform != "WinNT") {
document.layers["ModemSetup"].visibility = "show";
}
updateModemStatus(true);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (document.forms[0].modem.selectedIndex >= 0) {
parent.parent.globals.document.vars.modem.value = document.forms[0].modem[document.forms[0].modem.selectedIndex].value;
}
parent.parent.globals.document.setupPlugin.CloseModemWizard();
}
function generateModems()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var modemList = parent.parent.globals.document.setupPlugin.GetModemList();
var thePopup = document.forms[0]["modem"];
if (modemList != null && thePopup)
{
//remove all old options
for (var i = (thePopup.length -1); i >= 0 ; i--)
{
thePopup.options[i] = null;
}
//add the modems
for(var index = 0; index < modemList.length; index++)
{
thePopup.options[thePopup.options.length] = new Option(modemList[index],modemList[index], false, false);
}
//select the current modem
selectCurrentModem();
}
}
function selectCurrentModem()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var found = false;
var thePopup = document.forms[0]["modem"];
var globalModem = parent.parent.globals.document.vars.modem.value;
var pluginModem = parent.parent.globals.document.setupPlugin.GetCurrentModemName();
var thePlatform = new String(navigator.userAgent);
var x=thePlatform.indexOf("(")+1;
var y=thePlatform.indexOf(";",x+1);
thePlatform=thePlatform.substring(x,y);
var selectIndex = 0;
if (thePlatform != "Macintosh") { // work around for window's list index bug
var selectIndex = thePopup.options.length-1;
}
//alert("globalModem: " + globalModem + ", pluginModem: " + pluginModem);
for(var index = 0; index < thePopup.options.length; index++)
{
if ((globalModem == thePopup.options[index]) || (selectIndex == 0 && pluginModem == thePopup.options[index]) )
selectIndex = index;
}
thePopup.options[selectIndex].selected = true;
}
function OLDgenerateModems()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
var modemList = parent.parent.globals.document.setupPlugin.GetModemList();
if (modemList != null) {
var theModem = parent.parent.globals.document.vars.modem.value;
var selectedStr = "";
for (var x=0; x<modemList.length; x++) {
if (modemList[x] == theModem) {
selectedStr=" SELECTED";
}
else {
selectedStr="";
}
document.writeln("<OPTION VALUE='" + modemList[x] + "'" + selectedStr + ">" + modemList[x]);
}
}
}
function updateModemStatus(loadingFlag)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (parent.parent.globals.document.setupPlugin.IsModemWizardOpen() == true) {
setTimeout("updateModemStatus(false)",1000);
}
else {
for (x=document.forms[0].modem.length-1; x>=0; x--) {
document.forms[0].modem.options[x]=null;
}
if (loadingFlag == false) {
var selectedModem=parent.parent.globals.document.setupPlugin.GetCurrentModemName();
if (selectedModem != null && selectedModem != "") {
parent.parent.globals.document.vars.modem.value = selectedModem;
}
}
var theModem = parent.parent.globals.document.setupPlugin.GetModemList();
if (theModem != null) {
var theSelectedIndex=-1;
for (x=0; x<theModem.length; x++) {
var selectedFlag = (parent.parent.globals.document.vars.modem.value==theModem[x]);
if (selectedFlag==true) theSelectedIndex=x;
document.forms[0].modem.options[x] = new Option(theModem[x],theModem[x],selectedFlag,selectedFlag);
}
if (theSelectedIndex>=0) {
document.forms[0].modem.selectedIndex=theSelectedIndex;
}
}
//generateModems();
}
}
function callModemWizard()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (document.forms[0].modem.selectedIndex >= 0) {
parent.parent.globals.document.vars.modem.value = document.forms[0].modem[document.forms[0].modem.selectedIndex].value;
}
parent.parent.globals.document.setupPlugin.OpenModemWizard();
setTimeout("updateModemStatus(false)",1000);
return(false);
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,143 @@
<!-- -*- Mode: HTML; tab-width: 2; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="namepw.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="namepw100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Your Account Login and Password</B></P>
<P>Enter the name and password you use to log in to your Internet account. If you want to enter your password every time you connect, leave the password field blank.</P>
<CENTER>
<TABLE CELLPADDING="3" CELLSPACING="0" border="0">
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Login Name:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT NAME="accountName" TYPE="text" SIZE=32 MAXLENGTH=32>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT">
(For example, jsmith)
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Password:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="accountPassword" TYPE="password" SIZE=32 MAXLENGTH=32>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT">
<B>
Type Password Again:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="accountPasswordCheck" TYPE="password" SIZE=32 MAXLENGTH=32>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=0>
</TD>
</TR>
<TR>
<TD></TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE" COLSPAN="2">
<spacer type=vertical size=6>
<SCRIPT LANGUAGE="JavaScript" ID="namepw101">
generateTTYsupport();
</SCRIPT>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,131 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go()
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (document.forms[0].accountName.value == "") {
alert("You must enter a login name.");
parent.parent.globals.setFocus(document.forms[0].accountName);
return(false);
}
if (document.forms[0].accountPassword.value != document.forms[0].accountPasswordCheck.value) {
if (document.forms[0].accountPassword.value == "") {
parent.parent.globals.setFocus(document.forms[0].accountPassword);
}
else {
parent.parent.globals.setFocus(document.forms[0].accountPasswordCheck);
}
alert("The password you entered in 'Type Password Again' does not match the password you entered in 'Password'. Please re-enter your password.");
return(false);
}
return true;
}
function loadData()
{
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if (((document.forms[0].accountName == "undefined") || (document.forms[0].accountName == "[object InputArray]")) ||
((document.forms[0].accountPassword == "undefined") || (document.forms[0].accountPassword == "[object InputArray]")) ||
((document.forms[0].accountPasswordCheck == "undefined") || (document.forms[0].accountPasswordCheck == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].accountName.value = parent.parent.globals.document.vars.accountName.value;
document.forms[0].accountPassword.value = parent.parent.globals.document.vars.accountPassword.value;
document.forms[0].accountPasswordCheck.value = parent.parent.globals.document.vars.accountPasswordCheck.value;
parent.parent.globals.setFocus(document.forms[0].accountName);
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var ttyFlag = parent.parent.globals.GetNameValuePair(theFile,"Existing Acct Mode","AskTTY");
ttyFlag = ttyFlag.toLowerCase();
if (ttyFlag != "no") {
// make sure all data objects/element exists and valid; otherwise, reload. SUCKS!
if ((document.forms[0].ttyWindow == "undefined") || (document.forms[0].ttyWindow == "[object InputArray]"))
{
parent.controls.reloadDocument();
return;
}
document.forms[0].ttyWindow.checked = parent.parent.globals.document.vars.ttyWindow.checked;
}
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].accountName == "undefined") || (document.forms[0].accountName == "[object InputArray]")) ||
((document.forms[0].accountPassword == "undefined") || (document.forms[0].accountPassword == "[object InputArray]")) ||
((document.forms[0].accountPasswordCheck == "undefined") || (document.forms[0].accountPasswordCheck == "[object InputArray]")))
{
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.accountName.value = document.forms[0].accountName.value;
parent.parent.globals.document.vars.accountPassword.value = document.forms[0].accountPassword.value;
parent.parent.globals.document.vars.accountPasswordCheck.value = document.forms[0].accountPasswordCheck.value;
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var ttyFlag = parent.parent.globals.GetNameValuePair(theFile,"Existing Acct Mode","AskTTY");
ttyFlag = ttyFlag.toLowerCase();
if (ttyFlag != "no") {
// make sure all form element are valid objects, otherwise just skip & return!
if ((document.forms[0].ttyWindow == "undefined") || (document.forms[0].ttyWindow == "[object InputArray]")) {
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.ttyWindow.checked = document.forms[0].ttyWindow.checked;
}
else {
parent.parent.globals.document.vars.ttyWindow.checked = 0;
}
}
function generateTTYsupport()
{
var theFile = parent.parent.globals.getAcctSetupFilename(self);
ttyFlag = parent.parent.globals.GetNameValuePair(theFile,"Existing Acct Mode","AskTTY");
ttyFlag = ttyFlag.toLowerCase();
if (ttyFlag != "no") {
document.writeln("<INPUT NAME='ttyWindow' TYPE='checkbox'><P CLASS='tty'>I would like a terminal (TTY) window so that I can log in manually when I connect.</P>");
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,89 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="needs1.js" >
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="needs100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Preparing to Create a New Account</B></P>
<P>To help you create a new Internet account, Account Setup connects you to your provider's Internet account server, where you can learn about the various account plans available and create an account.</P>
<P>Before connecting, Account Setup asks you for information about:
<UL>
<SCRIPT LANGUAGE = "JavaScript" ID="needs101">
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var theFlag = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode", "AskPersonalInfo");
if (theFlag != null && theFlag != "") {
theFlag = theFlag.toLowerCase();
}
if (theFlag != "no") {
document.writeln("<LI>Your name, address, and phone number.</LI>");
}
var theFlag = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode", "AskBillingInfo");
if (theFlag != null && theFlag != "") {
theFlag = theFlag.toLowerCase();
}
if (theFlag != "no") {
document.writeln("<LI>The credit card you want to use for billing.</LI>");
}
</SCRIPT>
<LI>The modem you are using (note that you can't connect to the Internet Account Server using an ISDN modem.)</LI>
<LI>The phone line at the location you are connecting from.</LI>
</UL>
<P ID="nospace">When you are finished using the Internet account server, Account Setup disconnects you from the server and automatically sets up Communicator to access your new account.</P>
</BODY>
</HTML>

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

@ -0,0 +1,52 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,84 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 3.0//EN">
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="needs2.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="needs200">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Preparing to Set Up Access</B></P>
<P>To set up Communicator to access your Internet account, you need to provide some or all of the following information:</P>
<UL>
<LI>Your account login name and password.</LI>
<LI>Your email login name and password, if different from your account login name and password.</LI>
<LI>Your Internet access phone number.</LI>
<LI>The Internet addresses of your provider's email, news, and DNS servers.</LI>
</UL>
<P ID="nospace">Your Internet service provider might have given you this information when you created your account. If you don't have the information you need, contact your provider's technical support office.</P>
<SCRIPT LANGUAGE="JavaScript" ID="needs201">
displaySupportNumber();
</SCRIPT>
<P>Click Next to continue.</P>
</FONT>
</TD>
</TR>
</TABLE>
</BODY>
</HTML>

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

@ -0,0 +1,72 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
}
function displaySupportNumber()
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (parent.parent.globals.document.vars.providername.value != "" && parent.parent.globals.document.vars.providerFilename.value != "") {
var pathName = parent.parent.globals.getConfigFolder(self);
providerFilename = parent.parent.globals.document.vars.providerFilename.value;
if (providerFilename != "") {
var ispName=parent.parent.globals.document.setupPlugin.GetNameValuePair(providerFilename,"Dial-In Configuration","SiteName");
var supportNumber = parent.parent.globals.GetNameValuePair(providerFilename,"Dial-In Configuration","SupportPhone");
if (supportNumber != null && supportNumber != "") {
document.writeln("<P ID='buttontext'><B>" + ispName + " Technical Support: " + supportNumber + "</B></P>");
}
}
}
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,224 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="newAcct.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="newAcct100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Information About Yourself</B></P>
<spacer type=vertical size=5>
<CENTER>
<TABLE CELLPADDING="3" CELLSPACING="0" border="0" WIDTH=100>
<TR>
<TD></TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">First:</TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">Last:</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext"><B>Name:</B><spacer type=vertical size=2></TD>
<TD ALIGN="LEFT" VALIGN="TOP" CLASS="tabletext"><INPUT NAME="first" TYPE="text" SIZE=25 MAXLENGTH=30></TD>
<TD ALIGN="RIGHT" VALIGN="TOP" CLASS="tabletext"><INPUT NAME="last" TYPE="text" SIZE=26 MAXLENGTH=30></TD>
</TR>
<TR><TD COLSPAN="3"><spacer type=vertical size=2></TD></TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">
<B>
Organization:
</B>
<spacer type=vertical size=2></TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2" CLASS="tabletext">
<INPUT NAME="company" TYPE="text" SIZE=54 MAXLENGTH=30>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">
<B>
Address:
</B>
<spacer type=vertical size=2>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="address1" TYPE="text" SIZE=54 MAXLENGTH=30>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">&nbsp;<spacer type=vertical size=2></TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2">
<INPUT NAME="address2" TYPE="text" SIZE=54 MAXLENGTH=30>
</TD>
</TR>
<TR>
<TD COLSPAN="3">
<spacer type=vertical size=2>
</TD>
</TR>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" HEIGHT=30 CLASS="tabletext">
<SCRIPT LANGUAGE="JavaScript" ID="newAcct101">
writeLocalText("<B>City:</B>");
</SCRIPT>
<spacer type=vertical size=4>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP" COLSPAN="2" CLASS="tabletext">
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" ID="nospace">
<TR>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<INPUT NAME="city" TYPE="&{localString};" SIZE=17 MAXLENGTH=20>
<INPUT NAME="address3" TYPE="&{intlString};" SIZE=54 MAXLENGTH=30>
</TD>
<TD ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="tabletext">
<SCRIPT LANGUAGE="JavaScript" ID="newAcct102">
writeLocalText("<SPACER TYPE=HORIZONTAL SIZE=4><B>State/Prov.:</B>");
</SCRIPT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<INPUT NAME="state" TYPE="&{localString};" SIZE=8 MAXLENGTH=10>
</TD>
<TD ALIGN="RIGHT" VALIGN="BOTTOM" CLASS="tabletext">
<SCRIPT LANGUAGE="JavaScript" ID="newAcct103">
writeLocalText("<SPACER TYPE=HORIZONTAL SIZE=4><B>ZIP:</B>");
</SCRIPT>
</TD>
<TD ALIGN="LEFT" VALIGN="MIDDLE">
<INPUT NAME="zip" TYPE="&{localString};" SIZE=8 MAXLENGTH=10>
</TD>
</TR>
</TABLE>
</TD>
</TR>
<SCRIPT LANGUAGE="JavaScript" ID="newAcct104">
generateCountryList();
</SCRIPT>
<TR>
<TD VALIGN="BOTTOM" ALIGN="RIGHT" CLASS="tabletext">
<SPACER TYPE=vertical size=30>
<B>
Telephone:
</B>
<spacer type=vertical size=2>
</TD>
<TD VALIGN="BOTTOM" ALIGN="LEFT" COLSPAN="2">
<TABLE CELLSPACING="0" CELLPADDING="0" BORDER="0" ID="nospace">
<TR>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">
<SCRIPT LANGUAGE="JavaScript" ID="newAcct105">
writeLocalText("Area Code:");
</SCRIPT>
</TD>
<TD ALIGN="CENTER" VALIGN="BOTTOM" CLASS="tabletext">
Number:
</TD>
</TR>
<TR>
<TD ALIGN="MIDDLE" VALIGN="TOP">
<INPUT NAME="areaCode" TYPE="&{localString};" SIZE=3 MAXLENGTH=3>
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
<INPUT NAME="phoneNumber" TYPE="text" SIZE=24 MAXLENGTH=24>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</CENTER>
</FORM>
</BODY>
</HTML>

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

@ -0,0 +1,304 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var intlString = "";
var localString = "";
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var intlFlag = parent.parent.globals.GetNameValuePair(theFile,"Mode Selection","IntlMode");
intlFlag = intlFlag.toLowerCase();
if (intlFlag == "yes") {
intlString = "text";
localString = "hidden";
}
else {
intlString = "hidden";
localString = "text";
}
function Country(name,countryCode)
{
this.name=name;
this.countryCode=countryCode;
}
var countryList=new Array();
countryList[0] =new Country("Australia","61");
countryList[1] =new Country("Austria","43");
countryList[2] =new Country("Belgium","32");
countryList[3] =new Country("Canada","1");
countryList[4] =new Country("Denmark","45");
countryList[5] =new Country("Finland","358");
countryList[6] =new Country("France","33");
countryList[7] =new Country("Germany","49");
countryList[8] =new Country("Great Britain","44");
countryList[9] =new Country("Greece","30");
countryList[10]=new Country("Hong Kong","852");
countryList[11]=new Country("Iceland","354");
countryList[12]=new Country("Indonesia","62");
countryList[13]=new Country("Ireland","353");
countryList[14]=new Country("Italy","39");
countryList[15]=new Country("Japan","81");
countryList[16]=new Country("Malaysia","60");
countryList[17]=new Country("Netherlands","31");
countryList[18]=new Country("New Zealand","64");
countryList[19]=new Country("Norway","47");
countryList[20]=new Country("Philippines","63");
countryList[21]=new Country("Singapore","65");
countryList[22]=new Country("Spain","34");
countryList[23]=new Country("Sweden","46");
countryList[24]=new Country("Switzerland","41");
countryList[25]=new Country("USA","1");
function writeLocalText(theString)
{
if (localString == "text") {
document.write(theString);
}
}
function generateCountryList()
{
if (intlFlag == "yes") {
var country = parent.parent.globals.document.vars.country.value;
document.writeln("<TR><TD COLSPAN='3'><spacer type=vertical size=2></TD></TR>");
document.writeln("<TR><TD VALIGN=MIDDLE ALIGN=RIGHT HEIGHT=25><B>Country:</B></TD><TD ALIGN=LEFT VALIGN=TOP COLSPAN=2>");
document.writeln("<SELECT NAME='countryList'>");
for (var x=0; x<countryList.length; x++) {
var selected=(country==countryList[x].name) ? " SELECTED":"";
document.writeln("<OPTION VALUE='" + countryList[x].name + "'" + selected + ">" + countryList[x].name);
}
document.writeln("</SELECT></TD></TR>");
}
}
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
if (document.forms[0].first.value == "") {
alert("You must enter a first name.");
document.forms[0].first.focus();
document.forms[0].first.select();
return(false);
}
if (document.forms[0].last.value == "") {
alert("You must enter a last name.");
document.forms[0].last.focus();
document.forms[0].last.select();
return(false);
}
if (document.forms[0].address1.value == "") {
alert("You must enter a street address.");
document.forms[0].address1.focus();
document.forms[0].address1.select();
return(false);
}
if (intlFlag != "yes") {
if (document.forms[0].city.value == "") {
alert("You must enter a city.");
document.forms[0].city.focus();
document.forms[0].city.select();
return(false);
}
if (document.forms[0].state.value == "") {
alert("You must enter a state or province.");
document.forms[0].state.focus();
document.forms[0].state.select();
return(false);
}
if (document.forms[0].state.value.length < 2) {
alert("You must enter a valid state or province.");
document.forms[0].state.focus();
document.forms[0].state.select();
return(false);
}
if (document.forms[0].zip.value == "") {
alert("You must enter a ZIP or postal code.");
document.forms[0].zip.focus();
document.forms[0].zip.select();
return(false);
}
if (parent.parent.globals.verifyZipCode(document.forms[0].zip.value)==false) {
alert("Please enter a valid ZIP or postal code.");
parent.parent.globals.setFocus(document.forms[0].zip);
return(false);
}
if (document.forms[0].areaCode.value == "") {
alert("You must enter an area code.");
document.forms[0].areaCode.focus();
document.forms[0].areaCode.select();
return(false);
}
if (parent.parent.globals.verifyAreaCode(document.forms[0].areaCode.value)==false) {
alert("Please enter a valid area code.");
parent.parent.globals.setFocus(document.forms[0].areaCode);
return(false);
}
}
if (document.forms[0].phoneNumber.value == "") {
alert("You must enter a telephone number.");
document.forms[0].phoneNumber.focus();
document.forms[0].phoneNumber.select();
return(false);
}
if (parent.parent.globals.verifyPhoneNumber(document.forms[0].phoneNumber.value)==false) {
alert("Please enter a valid telephone number.");
parent.parent.globals.setFocus(document.forms[0].phoneNumber);
return(false);
}
return(true);
}
function loadData()
{
// make sure all form element are valid objects, otherwise reload the page!
if (((document.forms[0].first == "undefined") || (document.forms[0].first == "[object InputArray]")) ||
((document.forms[0].last == "undefined") || (document.forms[0].last == "[object InputArray]")) ||
((document.forms[0].company == "undefined") || (document.forms[0].company == "[object InputArray]")) ||
((document.forms[0].address1 == "undefined") || (document.forms[0].address1 == "[object InputArray]")) ||
((document.forms[0].address2 == "undefined") || (document.forms[0].address2 == "[object InputArray]")) ||
((document.forms[0].address3 == "undefined") || (document.forms[0].address3 == "[object InputArray]")) ||
((document.forms[0].city == "undefined") || (document.forms[0].city == "[object InputArray]")) ||
((document.forms[0].state == "undefined") || (document.forms[0].state == "[object InputArray]")) ||
((document.forms[0].zip == "undefined") || (document.forms[0].zip == "[object InputArray]")) ||
((document.forms[0].areaCode == "undefined") || (document.forms[0].areaCode == "[object InputArray]")) ||
((document.forms[0].phoneNumber == "undefined") || (document.forms[0].phoneNumber == "[object InputArray]")))
{
top.globals.debug("FORM ELEMENT: " + document.forms[0].first);
top.globals.debug("FORM ELEMENT: " + document.forms[0].last);
top.globals.debug("FORM ELEMENT: " + document.forms[0].company);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address1);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address2);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address3);
top.globals.debug("FORM ELEMENT: " + document.forms[0].city);
top.globals.debug("FORM ELEMENT: " + document.forms[0].state);
top.globals.debug("FORM ELEMENT: " + document.forms[0].zip);
top.globals.debug("FORM ELEMENT: " + document.forms[0].areaCode);
top.globals.debug("FORM ELEMENT: " + document.forms[0].phoneNumber);
parent.controls.reloadDocument();
return;
}
document.forms[0].first.value = parent.parent.globals.document.vars.first.value;
document.forms[0].last.value = parent.parent.globals.document.vars.last.value;
document.forms[0].company.value = parent.parent.globals.document.vars.company.value;
document.forms[0].address1.value = parent.parent.globals.document.vars.address1.value;
document.forms[0].address2.value = parent.parent.globals.document.vars.address2.value;
document.forms[0].address3.value = parent.parent.globals.document.vars.address3.value;
document.forms[0].city.value = parent.parent.globals.document.vars.city.value;
document.forms[0].state.value = parent.parent.globals.document.vars.state.value;
document.forms[0].zip.value = parent.parent.globals.document.vars.zip.value;
document.forms[0].areaCode.value = parent.parent.globals.document.vars.areaCode.value;
document.forms[0].phoneNumber.value = parent.parent.globals.document.vars.phoneNumber.value;
parent.parent.globals.setFocus(document.forms[0].first);
if (parent.controls.generateControls) parent.controls.generateControls();
}
function saveData()
{
// make sure all form element are valid objects, otherwise just skip & return!
if (((document.forms[0].first == "undefined") || (document.forms[0].first == "[object InputArray]")) ||
((document.forms[0].last == "undefined") || (document.forms[0].last == "[object InputArray]")) ||
((document.forms[0].company == "undefined") || (document.forms[0].company == "[object InputArray]")) ||
((document.forms[0].address1 == "undefined") || (document.forms[0].address1 == "[object InputArray]")) ||
((document.forms[0].address2 == "undefined") || (document.forms[0].address2 == "[object InputArray]")) ||
((document.forms[0].address3 == "undefined") || (document.forms[0].address3 == "[object InputArray]")) ||
((document.forms[0].city == "undefined") || (document.forms[0].city == "[object InputArray]")) ||
((document.forms[0].state == "undefined") || (document.forms[0].state == "[object InputArray]")) ||
((document.forms[0].zip == "undefined") || (document.forms[0].zip == "[object InputArray]")) ||
((document.forms[0].areaCode == "undefined") || (document.forms[0].areaCode == "[object InputArray]")) ||
((document.forms[0].phoneNumber == "undefined") || (document.forms[0].phoneNumber == "[object InputArray]")))
{
top.globals.debug("SAVE DATA....");
top.globals.debug("FORM ELEMENT: " + document.forms[0].first);
top.globals.debug("FORM ELEMENT: " + document.forms[0].last);
top.globals.debug("FORM ELEMENT: " + document.forms[0].company);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address1);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address2);
top.globals.debug("FORM ELEMENT: " + document.forms[0].address3);
top.globals.debug("FORM ELEMENT: " + document.forms[0].city);
top.globals.debug("FORM ELEMENT: " + document.forms[0].state);
top.globals.debug("FORM ELEMENT: " + document.forms[0].zip);
top.globals.debug("FORM ELEMENT: " + document.forms[0].areaCode);
top.globals.debug("FORM ELEMENT: " + document.forms[0].phoneNumber);
parent.controls.reloadDocument();
return;
}
parent.parent.globals.document.vars.first.value = document.forms[0].first.value;
parent.parent.globals.document.vars.last.value = document.forms[0].last.value;
parent.parent.globals.document.vars.company.value = document.forms[0].company.value;
parent.parent.globals.document.vars.address1.value = document.forms[0].address1.value;
parent.parent.globals.document.vars.address2.value = document.forms[0].address2.value;
parent.parent.globals.document.vars.address3.value = document.forms[0].address3.value;
parent.parent.globals.document.vars.city.value = document.forms[0].city.value;
parent.parent.globals.document.vars.state.value = document.forms[0].state.value;
parent.parent.globals.document.vars.zip.value = document.forms[0].zip.value;
parent.parent.globals.document.vars.areaCode.value = document.forms[0].areaCode.value;
parent.parent.globals.document.vars.phoneNumber.value = document.forms[0].phoneNumber.value;
if (intlFlag == "yes") {
var theCountry = document.forms[0].countryList.options[document.forms[0].countryList.selectedIndex].text;
for (var x=0; x<countryList.length; x++) {
if (theCountry == countryList[x].name) {
parent.parent.globals.document.vars.country.value = countryList[x].name;
parent.parent.globals.document.vars.countryCode.value = countryList[x].countryCode;
break;
}
}
}
else {
parent.parent.globals.document.vars.country.value = "USA";
parent.parent.globals.document.vars.countryCode.value = "1";
}
}
// end hiding contents from old browsers -->

90
cmd/dialup/as_html/ok.htm Normal file
Просмотреть файл

@ -0,0 +1,90 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="ok.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="ok100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Congratulations!</B></P>
<P>You now have your own Internet account and email address, and you can use them immediately.</P>
<P>Click the Save Account Information button to save a record of your account
information as a text file on your computer. Your account information includes your
login and password, your provider's server addresses and technical support phone number, and other information.</P>
<SCRIPT LANGUAGE = "JavaScript" ID="ok101">
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var saveAcctFlag = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","AskSaveAcctInfo");
if (saveAcctFlag != null && saveAcctFlag != "") {
saveAcctFlag = saveAcctFlag.toLowerCase();
}
if (saveAcctFlag != "no") {
document.writeln("<CENTER><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=CENTER VALIGN=TOP>");
document.writeln("<A HREF='about:blank' onMouseOver = 'window.status=\"Click the Save Account Information icon to save your account info.\";return true' onClick='saveAccountInfo(); return false' ID='ok102'><IMG SRC='images/save.gif' WIDTH=32 HEIGHT=32 BORDER=0></A>");
document.writeln("<BR><spacer type=vertical size=2><P CLASS='buttontext' CLASS='buttontext'><SPACER TYPE=VERTICAL SIZE=4>");
document.writeln("<B>Save Account<BR>Information</B></P></TD></TR></TABLE></CENTER>");
}
</SCRIPT>
<P>Click Done to leave Account Setup. When you're ready to connect to the Internet, all you have to do is launch Communicator from the Netscape Communicator folder or program group.</P>
<!-- The following text is commented out as the feature is currently disabled.
To begin exploring the Internet now, click the Internet icon.<P>
-->
</BODY>
</HTML>

102
cmd/dialup/as_html/ok.js Normal file
Просмотреть файл

@ -0,0 +1,102 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
var savedFlag = false;
function go(msg)
{
netscape.security.PrivilegeManager.enablePrivilege("AccountSetup");
if (parent.parent.globals.document.vars.editMode.value == "yes") {
return(true);
}
else {
if (msg=="Internet") {
if (parent.parent.globals.document.setupPlugin.DialerConnect() == false) {
return(false);
}
// check browser version
var theAgent=navigator.userAgent;
var x=theAgent.indexOf("/");
if (x>=0) {
theAgent=theAgent.substring(x+1,theAgent.length);
x=theAgent.indexOf(".");
if (x>0) {
theAgent=theAgent.substring(0,x);
}
if (parseInt(theAgent)>=4) {
// Navigator 4.x specific features
top.toolbar=true;
top.menubar=true;
top.locationbar=true;
top.directory=true;
top.statusbar=true;
top.scrollbars=true;
}
}
var theURL = parent.parent.globals.findVariable("HOME_URL");
if (theURL == "" || theURL ==null) {
theURL = "http://home.netscape.com/";
}
parent.parent.location.replace(theURL); // jumping to the URL
}
return(checkData());
}
}
function checkData()
{
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
if (parent.parent.globals.document.vars.editMode.value != "yes")
saveAccountInfo(false);
}
function saveData()
{
}
function saveAccountInfo(promptFlag)
{
savedFlag = parent.parent.globals.saveAccountInfo(promptFlag);
}
// end hiding contents from old browsers -->

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

@ -0,0 +1,89 @@
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil -*-
The contents of this file are subject to the Netscape Public License
Version 1.0 (the "NPL"); you may not use this file except in
compliance with the NPL. You may obtain a copy of the NPL at
http://www.mozilla.org/NPL/
Software distributed under the NPL is distributed on an "AS IS" basis,
WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
for the specific language governing rights and limitations under the
NPL.
The Initial Developer of this code under the NPL is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998 Netscape Communications Corporation. All Rights
Reserved.
-->
<HTML>
<HEAD>
<TITLE>Account Setup</TITLE>
<SCRIPT LANGUAGE = "JavaScript" ARCHIVE="asw.jar" SRC="okreboot.js">
</SCRIPT>
<LINK REL=STYLESHEET TYPE="text/JavaScript" ARCHIVE="asw.jar" HREF="sheet.js">
</LINK>
</HEAD>
<BODY BACKGROUND="images/bg.gif" BGCOLOR="cccccc" onLoad="loadData()" ID="okreboot100">
<!-- The layer below contains the Account Setup identifier. -->
<LAYER NAME = "tagtext" LEFT = 420 TOP = 0 VISIBILITY = SHOW>
<TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 WIDTH=200 ID="nospace">
<TR><TD HEIGHT=20 VALIGN=MIDDLE BACKGROUND="images/tag.gif">
<B CLASS="previewtag">ACCOUNT SETUP</B>
</TD></TR>
</TABLE>
</LAYER>
<!-- The layer below contains the headline and text of this screen -->
<FORM>
<P CLASS="title"><B>Congratulations!</B></P>
<P>You now have your own Internet account and email address, and you can use them <B>after restarting your computer</B>.</P>
<P>Click the Save Account Information button to save a record of your account
information as a text file on your computer. Your account information includes your login and password, your provider's server addresses and technical support phone number, and other information.</P>
<SCRIPT LANGUAGE = "JavaScript" ID="okreboot101">
var theFile = parent.parent.globals.getAcctSetupFilename(self);
var saveAcctFlag = parent.parent.globals.GetNameValuePair(theFile,"New Acct Mode","AskSaveAcctInfo");
if (saveAcctFlag != null && saveAcctFlag != "") {
saveAcctFlag = saveAcctFlag.toLowerCase();
}
if (saveAcctFlag != "no") {
document.writeln("<CENTER><TABLE BORDER=0 CELLPADDING=0 CELLSPACING=0 ID='minspace'><TR><TD ALIGN=CENTER VALIGN=TOP>");
document.writeln("<A HREF='about:blank' onMouseOver = 'window.status=\"Click the Save Account Information icon to save your account info.\";return true' onClick='saveAccountInfo(); return false' ID='ok102'><IMG SRC='images/save.gif' WIDTH=32 HEIGHT=32 BORDER=0></A>");
document.writeln("<BR><spacer type=vertical size=2><P CLASS='buttontext'><SPACER TYPE=VERTICAL SIZE=4>");
document.writeln("<B>Save Account<BR>Information</B></P></TD></TR></TABLE></CENTER>");
}
</SCRIPT>
<P>Click Restart to leave Account Setup and restart your computer. When you're ready to connect to the Internet, all you have to do is launch Communicator from the Netscape Communicator folder or program group.</P>
<!-- The following text is commented out as the feature is currently disabled.
To begin exploring the Internet now, click the Internet icon.<P>
-->
</BODY>
</HTML>

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

@ -0,0 +1,87 @@
/* -*- Mode: Java; tab-width: 4; indent-tabs-mode: nil -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
<!-- to hide script contents from old browsers
function go(msg)
{
if (parent.parent.globals.document.vars.editMode.value == "yes")
return true;
else
return(checkData());
}
function checkData()
{
// check browser version
var theAgent=navigator.userAgent;
var x=theAgent.indexOf("/");
if (x>=0) {
theAgent=theAgent.substring(x+1,theAgent.length);
x=theAgent.indexOf(".");
if (x>0) {
theAgent=theAgent.substring(0,x);
}
if (parseInt(theAgent)>=4) {
// Navigator 4.x specific features
top.toolbar=true;
top.menubar=true;
top.locationbar=true;
top.directory=true;
top.statusbar=true;
top.scrollbars=true;
}
}
return(true);
}
function loadData()
{
if (parent.controls.generateControls) parent.controls.generateControls();
if (parent.parent.globals.document.vars.editMode.value != "yes")
saveAccountInfo(false);
}
function saveData()
{
}
var savedFlag = false;
function saveAccountInfo(promptFlag)
{
savedFlag = parent.parent.globals.saveAccountInfo(promptFlag);
}
// end hiding contents from old browsers -->

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше