From 0fa2633be582ae6231d5a40e4013f0c02d6e01e6 Mon Sep 17 00:00:00 2001 From: "mostafah%oeone.com" Date: Wed, 5 May 2004 17:19:08 +0000 Subject: [PATCH] Checked in attachment 147734 for bug 233256 --- calendar/resources/content/calPrintEngine.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/calendar/resources/content/calPrintEngine.js b/calendar/resources/content/calPrintEngine.js index f751c59aacd..e0143600d62 100644 --- a/calendar/resources/content/calPrintEngine.js +++ b/calendar/resources/content/calPrintEngine.js @@ -365,7 +365,7 @@ function printDayView(currentDate) { mydateshow+=ArrayOfDayNames[currentDate.getDay()]; mydateshow+=", "; mydateshow+=monthNames[currentDate.getMonth()]+" "+currentDate.getDate()+" "+currentDate.getFullYear(); - gHtmlDocument.write(""); + gHtmlDocument.write("
"); gHtmlDocument.write(""); @@ -392,21 +392,21 @@ function printDayView(currentDate) { var formattedEndTime=returnTime(eventEndTime); var formattedTime=formattedStartTime+"-"+formattedEndTime; if (calendarEventDisplay.event.allDay) - formattedTime=''; // all day event + formattedTime='All Day'; // all day event gHtmlDocument.write(formattedTime); gHtmlDocument.write(""); gHtmlDocument.write(""); // for entering a new appt }
"); gHtmlDocument.write(mydateshow); gHtmlDocument.write("
"+calendarEventDisplay.event.title); if (calendarEventDisplay.event.description) - gHtmlDocument.write("
"+descriptionTag+": "+calendarEventDisplay.event.description); + gHtmlDocument.write("
"+descriptionTag+": "+calendarEventDisplay.event.description); if (calendarEventDisplay.event.location) - gHtmlDocument.write("
"+locationTag+": "+calendarEventDisplay.event.location); + gHtmlDocument.write("
"+locationTag+": "+calendarEventDisplay.event.location); if (calendarEventDisplay.event.url) - gHtmlDocument.write("
"+uriTag+": "+calendarEventDisplay.event.url); + gHtmlDocument.write("
"+uriTag+": "+calendarEventDisplay.event.url); var mystat='Cancelled'; if (calendarEventDisplay.event.status == 10029) mystat='Tentative'; if (calendarEventDisplay.event.status == 10030) mystat='Confirmed'; - gHtmlDocument.write("
Status: "+mystat); + gHtmlDocument.write("
Status: "+mystat); gHtmlDocument.write("