oops, fix chrome URLs to external DTDs

This commit is contained in:
alecf%netscape.com 1999-08-11 03:24:05 +00:00
parent e3fe0a6d72
commit ed9460f152
18 changed files with 26 additions and 17 deletions

View File

@ -2,7 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/AccountManager.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/AccountManager.dtd" >
<window id="account-manager" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="account-manager" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -64,6 +64,9 @@ function onNext(event) {
if (validate) if (validate)
if (!validate(contentWindow, wizardContents)) return; if (!validate(contentWindow, wizardContents)) return;
if (typeof(contentWindow.ValidateContents) == "function")
if (!contentWindow.ValidateContents()) return;
saveContents(contentWindow, wizardContents); saveContents(contentWindow, wizardContents);
nextPage(contentWindow); nextPage(contentWindow);
@ -88,7 +91,13 @@ function getUrlFromTag(title) {
// helper functions that actually do stuff // helper functions that actually do stuff
function setNextEnabled(enabled) {
}
function setBackEnabled(enabled) {
}
function nextPage(win) { function nextPage(win) {
var nextPageTag = wizardMap[currentPageTag].next; var nextPageTag = wizardMap[currentPageTag].next;

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/AccountWizard.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/AccountWizard.dtd" >
<window id="account-wizard-dialog" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="account-wizard-dialog" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -3,7 +3,7 @@
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/accounttree.css" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/accounttree.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/accounttree.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/accounttree.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40" <window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -2,7 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/am-advanced.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-advanced.dtd" >
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40" <xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
style="width: 100%" style="width: 100%"

View File

@ -2,7 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/am-copies.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-copies.dtd" >
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40" <xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload = ""> onload = "">

View File

@ -3,7 +3,7 @@
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/am-main.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-main.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40" <window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -2,7 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/am-server-pop3.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-pop3.dtd" >
<window xmlns:html="http://www.w3.org/TR/REC-html40" <window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -2,7 +2,7 @@
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?> <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://l10n/locale/am-server-top.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/am-server-top.dtd" >
<xul:window xmlns:html="http://www.w3.org/TR/REC-html40" <xul:window xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -22,7 +22,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-accname.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-accname.dtd" >
<window id="accnamepage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="accnamepage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('accname');"> onload="parent.wizardPageLoaded('accname');">

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-accounttype.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-accounttype.dtd" >
<window id="accounttype" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="accounttype" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('accounttype');"> onload="parent.wizardPageLoaded('accounttype');">

View File

@ -22,7 +22,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-done.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-done.dtd" >
<window id="done" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="done" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-email.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-email.dtd" >
<window id="emailpage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="emailpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('email');"> onload="parent.wizardPageLoaded('email');">

View File

@ -22,7 +22,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-fullname.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-fullname.dtd" >
<window id="fullnamepage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="fullnamepage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('fullname');"> onload="parent.wizardPageLoaded('fullname');">

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-identity.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-identity.dtd" >
<window id="identitypage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="identitypage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('identity');"> onload="parent.wizardPageLoaded('identity');">

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-login.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-login.dtd" >
<window id="loginpage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="loginpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('login');"> onload="parent.wizardPageLoaded('login');">

View File

@ -22,7 +22,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-mailtype.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-mailtype.dtd" >
<window id="mailtype" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="mailtype" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('mailtype');"> onload="parent.wizardPageLoaded('mailtype');">

View File

@ -23,7 +23,7 @@ Communications Corporation. Portions created by Netscape are
Rights Reserved. Rights Reserved.
--> -->
<!DOCTYPE window SYSTEM "chrome://l10n/locale/aw-server.dtd" > <!DOCTYPE window SYSTEM "chrome://messenger/locale/aw-server.dtd" >
<window id="serverpage" xmlns:html="http://www.w3.org/TR/REC-html40" <window id="serverpage" xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
onload="parent.wizardPageLoaded('server');"> onload="parent.wizardPageLoaded('server');">