gecko-dev/calendar/resources/content/calPrintEngine.xul

83 lines
3.0 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
-->
<?xml-stylesheet href="chrome://communicator/content/communicator.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/dialogs.css" type="text/css"?>
<!--
?xul-overlay href="chrome://global/content/globalOverlay.xul"?
?xul-overlay href="chrome://communicator/content/utilityOverlay.xul"?
-->
<!-- DTD File with all strings specific to the calendar -->
<!DOCTYPE dialog
[
<!ENTITY % dtd1 SYSTEM "chrome://calendar/locale/global.dtd" > %dtd1;
<!ENTITY % dtd2 SYSTEM "chrome://calendar/locale/calendar.dtd" > %dtd2;
]>
<window id="printEngineWin"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:nc="http://home.netscape.com/NC-rdf#"
onload="OnLoadPrintEngine()"
onunload="OnUnloadPrintEngine()"
width="750"
height="500"
screenX="10" screenY="10"
persist="width height screenX screenY sizemode"
>
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_date" src="chrome://calendar/locale/dateFormat.properties"/>
</stringbundleset>
<script type="application/x-javascript" src="chrome://calendar/content/dateUtils.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/printing.js"/>
<!-- added for Thunderbird 0.7.1 support -->
<script type="application/x-javascript" src="chrome://global/content/printUtils.js"/>
<script src="chrome://calendar/content/calPrintEngine.js"/>
<script type="application/x-javascript" >
var ArrayOfDayNames = new Array();
ArrayOfDayNames[0] = "&day.1.name;";
ArrayOfDayNames[1] = "&day.2.name;";
ArrayOfDayNames[2] = "&day.3.name;";
ArrayOfDayNames[3] = "&day.4.name;";
ArrayOfDayNames[4] = "&day.5.name;";
ArrayOfDayNames[5] = "&day.6.name;";
ArrayOfDayNames[6] = "&day.7.name;";
var windowTitle = "&window.title;";
var locationTag = "&newevent.location.label;";
var uriTag = "&newevent.uri.label;";
var descriptionTag="&newevent.description.label;"
</script>
<!-- The main display frame -->
<browser id="content"
flex="1"
type="content-primary"
name="content"
src="about:blank"
disablehistory="true"
disablesecurity="true"/>
</window>