From 5b140ce4144b25dc07305f9834ea3a5f3c976ab1 Mon Sep 17 00:00:00 2001 From: "racham%netscape.com" Date: Thu, 30 Jul 1998 00:18:47 +0000 Subject: [PATCH] 1step & 2step changes git-svn-id: svn://10.0.0.236/trunk@6818 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/cmd/dialup/as_html/clayer1.js | 20 +- mozilla/cmd/dialup/as_html/clayer2.js | 4 +- mozilla/cmd/dialup/as_html/editfour.htm | 4 +- mozilla/cmd/dialup/as_html/error.js | 2 +- mozilla/cmd/dialup/as_html/reg1stp.htm | 106 ++++++++ mozilla/cmd/dialup/as_html/reg1stp.js | 344 ++++++++++++++++++++++++ mozilla/cmd/dialup/as_html/reg2stp.htm | 106 ++++++++ mozilla/cmd/dialup/as_html/reg2stp.js | 287 ++++++++++++++++++++ 8 files changed, 860 insertions(+), 13 deletions(-) create mode 100644 mozilla/cmd/dialup/as_html/reg1stp.htm create mode 100644 mozilla/cmd/dialup/as_html/reg1stp.js create mode 100644 mozilla/cmd/dialup/as_html/reg2stp.htm create mode 100644 mozilla/cmd/dialup/as_html/reg2stp.js diff --git a/mozilla/cmd/dialup/as_html/clayer1.js b/mozilla/cmd/dialup/as_html/clayer1.js index 62ef2063ff8..4c0e5417db8 100644 --- a/mozilla/cmd/dialup/as_html/clayer1.js +++ b/mozilla/cmd/dialup/as_html/clayer1.js @@ -148,15 +148,18 @@ pages[ 56 ][ 1 ] = new method( "2step.htm", "parent.content.go( '' )", true ); pages[ 57 ] = new Array(); pages[ 57 ][ 0 ] = new page( "2step.htm", null, null ); -pages[ 57 ][ 1 ] = new method( "register.htm", "parent.content.go( '' )", true ); +pages[ 57 ][ 1 ] = new method( "reg2stp.htm", "parent.content.go( '' )", true ); 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[ 8 ][ 2 ] = new method( "reg1stp.htm", "parent.content.go('')", true ); pages[ 9 ] = new Array(); -pages[ 9 ][ 0 ] = new page( "register.htm", null, null ); +pages[ 9 ][ 0 ] = new page( "reg1stp.htm", null, null ); + +pages[ 61 ] = new Array(); +pages[ 61 ][ 0 ] = new page( "reg2stp.htm", null, null ); // Existing Account Path @@ -220,8 +223,9 @@ 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[ 22 ][ 1 ] = new method( "reg1stp.htm", "parent.content.go( '1step' )", true ); +pages[ 22 ][ 2 ] = new method( "reg2stp.htm", "parent.content.go( '2step' )", true ); +pages[ 22 ][ 3 ] = new method( "connect2.htm", "parent.content.go( 'Existing Path' )", true ); pages[ 23 ] = new Array(); pages[ 23 ][ 0 ] = new page( "later.htm", null, null ); @@ -367,7 +371,7 @@ pages[51][1]=new action("main.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][1]=new method("reg1stp.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); @@ -675,8 +679,8 @@ function go( msg ) { pageName = pageHistory.substring( x + 1, pageHistory.length ); globals.document.vars.pageHistory.value = pageHistory.substring( 0, x + 1 ); - if ( ( pageName == "register.htm" ) || ( pageName == "error.htm" ) || - ( pageName == "error2.htm" ) ) + if ( ( pageName == "reg1stp.htm" ) || ( pageName == "error.htm" ) || + ( pageName == "error2.htm" ) || ( pageName == "reg2stp.htm" ) ) historyCleanup = true; } else diff --git a/mozilla/cmd/dialup/as_html/clayer2.js b/mozilla/cmd/dialup/as_html/clayer2.js index 4168821007d..35bc91a7b32 100644 --- a/mozilla/cmd/dialup/as_html/clayer2.js +++ b/mozilla/cmd/dialup/as_html/clayer2.js @@ -267,7 +267,7 @@ function generateControls() if ( editMode == true ) showScreenOptions = true; } - else if ( formName == "register.htm" ) + else if ( formName == "reg1stp.htm" || formName == "reg2stp.htm" ) { showHelp = false; showBack = false; @@ -719,7 +719,7 @@ function generateToolBarControls() showScreenOptions=true; else if (formName == "connect2.htm") ; - else if (formName == "register.htm") + else if (formName == "reg1stp.htm" || formName == "reg2stp.htm" ) ; else if (formName == "ok.htm") showScreenOptions=true; diff --git a/mozilla/cmd/dialup/as_html/editfour.htm b/mozilla/cmd/dialup/as_html/editfour.htm index fca85a03acc..56e89975c7c 100644 --- a/mozilla/cmd/dialup/as_html/editfour.htm +++ b/mozilla/cmd/dialup/as_html/editfour.htm @@ -61,11 +61,11 @@ onload="loadData()" ID="editfour100">
- + - register.htm + reg1stp.htm + + + + + + +Account Setup + + + + + + + + + + + + + + + + + + +
+ACCOUNT SETUP +
+ +
+ + + + + +
+ +

Connecting to the Internet
account server...

+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + diff --git a/mozilla/cmd/dialup/as_html/reg1stp.js b/mozilla/cmd/dialup/as_html/reg1stp.js new file mode 100644 index 00000000000..97ed4a28f17 --- /dev/null +++ b/mozilla/cmd/dialup/as_html/reg1stp.js @@ -0,0 +1,344 @@ +/* -*- 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. + */ + diff --git a/mozilla/cmd/dialup/as_html/reg2stp.htm b/mozilla/cmd/dialup/as_html/reg2stp.htm new file mode 100644 index 00000000000..e3ef26d538b --- /dev/null +++ b/mozilla/cmd/dialup/as_html/reg2stp.htm @@ -0,0 +1,106 @@ + + + + + + + +Account Setup + + + + + + + + + + + + + + + + + + +
+ACCOUNT SETUP +
+ +
+ + + + + +
+ +

Connecting to the Internet
account server...

+ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + diff --git a/mozilla/cmd/dialup/as_html/reg2stp.js b/mozilla/cmd/dialup/as_html/reg2stp.js new file mode 100644 index 00000000000..f148346c534 --- /dev/null +++ b/mozilla/cmd/dialup/as_html/reg2stp.js @@ -0,0 +1,287 @@ +/* -*- 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. + */ +