Monotone-Parent: 004c366d96118af36568a9b13190353c7241a94c

Monotone-Revision: 1acbcf80ee191c82fc00ca17699bd2e85a2166d3

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2006-11-02T22:03:09
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2006-11-02 22:03:09 +00:00
parent 9b97b0da4d
commit 3c23f9c7fe
6 changed files with 46 additions and 60 deletions
-8
View File
@@ -183,14 +183,6 @@
return classes;
}
- (NSString *) currentAppointmentDay
{
return [NSString stringWithFormat: @"%d%.2d%.2d",
[currentTableDay yearOfCommonEra],
[currentTableDay monthOfYear],
[currentTableDay dayOfMonth]];
}
- (void) setCurrentTableHour: (NSString *) aTableHour
{
currentTableHour = aTableHour;
+2 -2
View File
@@ -21,11 +21,11 @@
// $Id: UIxCalMonthOverview.h 181 2004-08-11 15:13:25Z helge $
#import "UIxCalMonthView.h"
#import "UIxCalMonthViewOld.h"
@class NSCalendarDate, NSString, NSDictionary, NSArray;
@interface UIxCalMonthOverview : UIxCalMonthView
@interface UIxCalMonthOverview : UIxCalMonthViewOld
{
int dayIndex;
int dayOfWeek;
+4 -9
View File
@@ -425,6 +425,7 @@ static BOOL shouldDisplayWeekend = NO;
{
return [self selectedDate];
}
- (NSCalendarDate *) endDate
{
return [[self startDate] tomorrow];
@@ -432,15 +433,9 @@ static BOOL shouldDisplayWeekend = NO;
- (NSArray *) _fetchCoreInfosForComponent: (NSString *) component
{
SOGoAppointmentFolder *folder;
NSCalendarDate *sd, *ed;
folder = [self clientObject];
sd = [self startDate];
ed = [self endDate];
return [folder fetchCoreInfosFrom: sd to: ed
component: component];
return [[self clientObject] fetchCoreInfosFrom: [[self startDate] beginOfDay]
to: [[self endDate] endOfDay]
component: component];
}
- (NSArray *) fetchCoreAppointmentsInfos
+38 -36
View File
@@ -64,42 +64,6 @@
protectedBy = "View";
pageName = "UIxCalMonthView";
};
dayoverview = {
protectedBy = "View";
pageName = "UIxCalDayOverview";
};
daychartview = {
protectedBy = "View";
pageName = "UIxCalDayChartview";
};
daylistview = {
protectedBy = "View";
pageName = "UIxCalDayListview";
};
weekoverview = {
protectedBy = "View";
pageName = "UIxCalWeekOverview";
};
weekchartview = {
protectedBy = "View";
pageName = "UIxCalWeekChartview";
};
weeklistview = {
protectedBy = "View";
pageName = "UIxCalWeekListview";
};
weekcolumnsview = {
protectedBy = "View";
pageName = "UIxCalWeekColumnsview";
};
monthoverview = {
protectedBy = "View";
pageName = "UIxCalMonthOverview";
};
yearoverview = {
protectedBy = "View";
pageName = "UIxCalYearOverview";
};
newevent = {
protectedBy = "View";
pageName = "UIxAppointmentEditor";
@@ -138,6 +102,44 @@
protectedBy = "View";
pageName = "UIxFreeBusyUserSelectorTable";
};
/* TODO: delete the following components */
dayoverview = {
protectedBy = "View";
pageName = "UIxCalDayOverview";
};
daychartview = {
protectedBy = "View";
pageName = "UIxCalDayChartview";
};
daylistview = {
protectedBy = "View";
pageName = "UIxCalDayListview";
};
weekoverview = {
protectedBy = "View";
pageName = "UIxCalWeekOverview";
};
weekchartview = {
protectedBy = "View";
pageName = "UIxCalWeekChartview";
};
weeklistview = {
protectedBy = "View";
pageName = "UIxCalWeekListview";
};
weekcolumnsview = {
protectedBy = "View";
pageName = "UIxCalWeekColumnsview";
};
monthoverview = {
protectedBy = "View";
pageName = "UIxCalMonthOverview";
};
yearoverview = {
protectedBy = "View";
pageName = "UIxCalYearOverview";
};
};
};
+2 -4
View File
@@ -5,9 +5,7 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<table
var:class="cssClass"
var:id="cssId">
<table var:class="cssClass" var:id="cssId">
<tr>
<td class="nullHeader">
</td>
@@ -56,7 +54,7 @@
><td var:class="dayCellClasses"
onclick="onCalendarSelectDay(event, this);"
ondblclick="return newEvent(this, 'event');"
var:day="currentAppointmentDay"
var:day="currentTableDay.shortDateString"
var:hour="currentAppointmentHour"
><var:foreach
list="aptsForCurrentDate"
@@ -5,7 +5,6 @@
xmlns:const="http://www.skyrix.com/od/constant"
xmlns:rsrc="OGo:url"
xmlns:label="OGo:label">
<a href="#"
class="leftNavigationArrow"
var:date="prevDayQueryParameters.day"