First Checked In.

This commit is contained in:
hangas%netscape.com 1999-09-14 01:44:37 +00:00
parent a54c669e40
commit 04b6c263fc
12 changed files with 270 additions and 0 deletions

View File

@ -0,0 +1,34 @@
#
# 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 = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
EXPORT_RESOURCE_CONTENT = \
$(srcdir)/platformGlobalOverlay.xul \
$(srcdir)/platformDialogOverlay.xul \
$(NULL)
install::
$(INSTALL) $(EXPORT_RESOURCE_CONTENT) $(DIST)/bin/chrome/global/content/default

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!-- unix version of platformDialogOverlay.xul -->
<!DOCTYPE window SYSTEM "chrome://global/locale/platformDialogOverlay.dtd">
<overlay id="platformDialogOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/platformDialogOverlay.js"/>
<!-- OK & Cancel Buttons -->
<box id="okCancelButtons" align="horizontal" style="margin-top: 0.5em">
<spring flex="100%"/>
<!-- centering offset for two 10px springs that are not hidden -->
<spring style="width:20px"/>
<titledbutton id="ok" value="&okButton.label;" onclick="doOKButton()"/>
<spring style="width:10px"/>
<titledbutton id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
<spring style="width:10px"/>
<titledbutton id="Button2" value="&cancelButton.label;" style = "display:none;" onclick="doButton2()"/>
<spring style="width:10px"/>
<titledbutton id="Button3" value="&cancelButton.label;" style = "display:none;" onclick="doButton3()"/>
<spring flex="100%"/>
</box>
</overlay>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!-- unix version of platformGlobalOverlay.xul -->
<!DOCTYPE window SYSTEM "chrome://global/locale/platformGlobalOverlay.dtd">
<overlay id="platformGlobalOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/platformGlobalOverlay.js"/>
<!-- close -->
<menuitem id="menu_close" value="&closeCmd.label;" key="key_close" observes="cmd_close"/>
<key id="key_close" command="true" key="&closeCmd.key;" observes="cmd_close"/>
<!-- quit -->
<menupopup id="menu_FilePopup">
<menuitem value="&quitApplicationCmd.label;" key="key_quit" observes="cmd_quit"/>
</menupopup>
<key id="key_quit" command="true" key="&quitApplicationCmd.key;" observes="cmd_quit"/>
<broadcaster id="cmd_quit" oncommand="goQuitApplication()"/>
<!-- Edit Menu -->
<menuitem id="menu_redo" value="&redoCmd.label;" key="key_redo" observes="cmd_redo"/>
<key id="key_redo" command="true" key="&redoCmd.key;" observes="cmd_redo"/>
</overlay>

View File

@ -0,0 +1,30 @@
#!nmake
#
# 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=..\..\..\..
include <$(DEPTH)\config\rules.mak>
DISTBROWSER=$(DIST)\bin\chrome\global\content\default
install::
$(MAKE_INSTALL) platformGlobalOverlay.xul $(DISTBROWSER)
$(MAKE_INSTALL) platformDialogOverlay.xul $(DISTBROWSER)
clobber::
rm -f $(DIST)\bin\chrome\global\content\default\*.*

View File

@ -0,0 +1,29 @@
<?xml version="1.0"?>
<!-- win version of platformDialogOverlay.xul -->
<!DOCTYPE window SYSTEM "chrome://global/locale/platformDialogOverlay.dtd">
<overlay id="platformDialogOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/platformDialogOverlay.js"/>
<!-- OK & Cancel Buttons -->
<box id="okCancelButtons" align="horizontal" style="margin-top: 0.5em">
<spring flex="100%"/>
<!-- centering offset for two 10px springs that are not hidden -->
<spring style="width:20px"/>
<titledbutton id="ok" value="&okButton.label;" onclick="doOKButton()"/>
<spring style="width:10px"/>
<titledbutton id="cancel" value="&cancelButton.label;" onclick="doCancelButton()"/>
<spring style="width:10px"/>
<titledbutton id="Button2" value="&cancelButton.label;" style = "display:none;" onclick="doButton2()"/>
<spring style="width:10px"/>
<titledbutton id="Button3" value="&cancelButton.label;" style = "display:none;" onclick="doButton3()"/>
<spring flex="100%"/>
</box>
</overlay>

View File

@ -0,0 +1,28 @@
<?xml version="1.0"?>
<!-- win version of platformGlobalOverlay.xul -->
<!DOCTYPE window SYSTEM "chrome://global/locale/platformGlobalOverlay.dtd">
<overlay id="platformGlobalOverlay"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<html:script language="JavaScript" src="chrome://global/content/platformGlobalOverlay.js"/>
<!-- close -->
<menuitem id="menu_close" value="&closeCmd.label;" key="key_close" observes="cmd_close"/>
<key id="key_close" command="true" key="&closeCmd.key;" observes="cmd_close"/>
<!-- quit -->
<menupopup id="menu_FilePopup">
<menuitem value="&quitApplicationCmd.label;" key="key_quit" observes="cmd_quit"/>
</menupopup>
<key id="key_quit" command="true" key="&quitApplicationCmd.key;" observes="cmd_quit"/>
<broadcaster id="cmd_quit" oncommand="goQuitApplication()"/>
<!-- Edit Menu -->
<menuitem id="menu_redo" value="&redoCmd.label;" key="key_redo" observes="cmd_redo"/>
<key id="key_redo" command="true" key="&redoCmd.key;" observes="cmd_redo"/>
</overlay>

View File

@ -0,0 +1,36 @@
#
# 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 = ../../../..
topsrcdir = @top_srcdir@
VPATH = @srcdir@
srcdir = @srcdir@
include $(DEPTH)/config/autoconf.mk
include $(topsrcdir)/config/rules.mk
EXPORT_RESOURCE_CONTENT = \
$(srcdir)/globalOverlay.dtd \
$(srcdir)/dialogOverlay.dtd \
$(srcdir)/tasksOverlay.dtd \
$(srcdir)/commonDialog.dtd \
$(NULL)
install::
$(INSTALL) $(EXPORT_RESOURCE_CONTENT) $(DIST)/bin/chrome/global/locale/en-US

View File

@ -0,0 +1,3 @@
<!-- OK Cancel Buttons -->
<!ENTITY okButton.label "OK">
<!ENTITY cancelButton.label "Cancel">

View File

@ -0,0 +1,9 @@
<!-- unix version of platformGlobalOverlay.dtd -->
<!ENTITY closeCmd.label "Close">
<!ENTITY closeCmd.key "W">
<!ENTITY quitApplicationCmd.label "Exit">
<!ENTITY quitApplicationCmd.key "Q">
<!ENTITY redoCmd.label "Redo">
<!ENTITY redoCmd.key "Y">

View File

@ -0,0 +1,32 @@
#!nmake
#
# 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=..\..\..\..
include <$(DEPTH)\config\rules.mak>
DISTBROWSER=$(DIST)\bin\chrome\global\locale\en-US
install::
$(MAKE_INSTALL) globalOverlay.dtd $(DISTBROWSER)
$(MAKE_INSTALL) dialogOverlay.dtd $(DISTBROWSER)
$(MAKE_INSTALL) tasksOverlay.dtd $(DISTBROWSER)
$(MAKE_INSTALL) commonDialog.dtd $(DISTBROWSER)
clobber::
rm -f $(DIST)\bin\chrome\global\locale\en-US\*.*

View File

@ -0,0 +1,3 @@
<!-- OK Cancel Buttons -->
<!ENTITY okButton.label "OK">
<!ENTITY cancelButton.label "Cancel">

View File

@ -0,0 +1,9 @@
<!-- win version of platformGlobalOverlay.dtd -->
<!ENTITY closeCmd.label "Close">
<!ENTITY closeCmd.key "W">
<!ENTITY quitApplicationCmd.label "Exit">
<!ENTITY quitApplicationCmd.key "Q">
<!ENTITY redoCmd.label "Redo">
<!ENTITY redoCmd.key "Y">