refType = 4;
sourceTree = "<group>";
};
+ AD88394906EF807D00981A3E = {
+ fileEncoding = 5;
+ indentWidth = 2;
+ isa = PBXFileReference;
+ lastKnownFileType = sourcecode.c.h;
+ path = SOGoGroupAppointmentFolder.h;
+ refType = 4;
+ sourceTree = "<group>";
+ };
+ AD88394A06EF807D00981A3E = {
+ fileEncoding = 5;
+ indentWidth = 2;
+ isa = PBXFileReference;
+ lastKnownFileType = sourcecode.c.objc;
+ path = SOGoGroupAppointmentFolder.m;
+ refType = 4;
+ sourceTree = "<group>";
+ };
ADCDE53106ADA8AC00BFCE2B = {
fileEncoding = 5;
indentWidth = 8;
E87206410692E3D00099CBBD,
E87206470692E3D00099CBBD,
E87206480692E3D00099CBBD,
+ AD88394906EF807D00981A3E,
+ AD88394A06EF807D00981A3E,
E87206490692E3D00099CBBD,
E872064A0692E3D00099CBBD,
);
+2004-09-09 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * UIxPageFrame.wox: display clientObject and object traversal stack
+ if isUIxDebugEnabled is set (v0.9.23)
+
2004-09-01 Helge Hess <helge.hess@skyrix.com>
* GNUmakefile.preamble: removed dependency on libNGScripting (v0.9.22)
<var:component-content/>
</td>
</tr>
+ <var:if condition="isUIxDebugEnabled">
+ <tr>
+ <td colspan="2">
+ <small>
+ <hr />
+ clientObject: <var:string value="clientObject" />
+ <p>
+ OTS: <var:string value="context.objectTraversalStack" />
+ </p>
+ </small>
+ </td>
+ </tr>
+ </var:if>
<tr>
<td colspan="2">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
# $Id$
-SUBMINOR_VERSION:=22
+SUBMINOR_VERSION:=23
+2004-09-09 Marcus Mueller <znek@mulle-kybernetik.com>
+
+ * v0.9.79
+
+ * UIxAppointmentEditor.wox: removed debug output of clientObject,
+ UIxPageFrame.wox is doing this now.
+
+ * UIxCalDayListView.[wox|m]: fixed some wrong assumptions of uid
+ handling, corrected to use the (now bugfixed) calendarUIDs of
+ clientObject.
+
2004-09-07 Marcus Mueller <znek@mulle-kybernetik.com>
* v0.9.78
<input type="hidden" name="ical" var:value="iCalString" />
</form>
-
- <var:if condition="isUIxDebugEnabled">
- <small>
- <hr />
- clientObject: <var:string value="clientObject" />
- </small>
- </var:if>
</var:component>
const:bgcolor="#d6d6ce"
const:valign="top"
>
- <a var:href="appointmentViewURL"
- var:queryDictionary="currentDateQueryParameters"
- var:title="tooltipForApt"
- var:class="aptStyle"
- ><var:string value="shortTextForApt"
- const:escapeHTML="NO"
- /></a>
+ <span class="dayoverview_content_time_link">
+ <a var:href="appointmentViewURL"
+ var:queryDictionary="currentDateQueryParameters"
+ var:title="tooltipForApt"
+ var:class="aptStyle"
+ ><var:string value="shortTextForApt"
+ const:escapeHTML="NO"
+ /></a>
+ </span>
</var:matrix-cell>
</var:vspan-matrix>
</td>
@end
#include "common.h"
+#include <SOGoLogic/AgenorUserManager.h>
@implementation UIxCalDayListview
- (NSArray *)uids {
if(!self->uids) {
- NSArray *tmp;
- NSSet *availUIDs;
-
- tmp = [[self appointments] valueForKey:@"uid"];
- availUIDs = [[NSSet alloc] initWithArray:tmp];
- tmp = [[availUIDs allObjects] sortedArrayUsingSelector:@selector(compareAscending:)];
- self->uids = [tmp retain];
+ self->uids = [[[self clientObject] calendarUIDs] retain];
}
return self->uids;
}
+- (void)setCurrentUid:(id)_currentUid {
+ ASSIGN(self->currentUid, _currentUid);
+}
+- (id)currentUid {
+ return self->currentUid;
+}
+
+- (NSString *)cnForCurrentUid {
+ return [[AgenorUserManager sharedUserManager] getCNForUID:self->currentUid];
+}
+
- (NSString *)shortTextForApt {
return [[self appointment] valueForKey:@"title"];
}
+- (BOOL)isRowActive {
+ AgenorUserManager *um;
+ NSString *mailChunk;
+ NSString *currentMail;
+
+ um = [AgenorUserManager sharedUserManager];
+ currentMail = [um getEmailForUID:self->currentUid];
+ mailChunk = [self->appointment valueForKey:@"partmails"];
+ if([mailChunk rangeOfString:currentMail].length > 0)
+ return YES;
+ return NO;
+}
+
@end
</td>
</tr>
</table>
- <table>
+ <table cellpadding="4" width="100%" cellspacing="2">
<tr valign="top">
- <td>
- <table>
- <tr>
- <td>
- <var:component className="UIxCalInlineMonthOverview"
- selectedDate="thisMonth"
- const:showYear="1"
- const:daySelectionHref="dayoverview"
- const:showWeekColumn="0"
- const:style="dayoverview_cal"
- const:headerStyle="dayoverview_cal_title"
- const:dayHeaderStyle="dayoverview_cal_day_header"
- const:dayBodyStyle="dayoverview_cal_content"
- const:todayBodyStyle="dayoverview_cal_content_hilite"
- const:selectedDayExtraStyle="dayoverview_cal_content_selected"
- const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
- />
- </td>
- </tr>
- <tr>
- <td>
- <var:component className="UIxCalInlineMonthOverview"
- selectedDate="nextMonth"
- const:showYear="1"
- const:daySelectionHref="dayoverview"
- const:showWeekColumn="0"
- const:style="dayoverview_cal"
- const:headerStyle="dayoverview_cal_title"
- const:dayHeaderStyle="dayoverview_cal_day_header"
- const:dayBodyStyle="dayoverview_cal_content"
- const:todayBodyStyle="dayoverview_cal_content_hilite"
- const:inactiveDayBodyStyle="dayoverview_cal_content_dimmed"
- />
- </td>
- </tr>
- </table>
- </td>
<td width="100%">
<table class="dayoverview_content" width="100%">
<td width="100%" valign="top">
columns="dateRange"
column="currentDate"
itemActive="isCurrentDateInApt"
- const:isRowActive="YES"
+ isRowActive="isRowActive"
const:rowHeight="8"
const:width="100%"
const:border="0"
- const:cellpadding="0"
+ const:cellpadding="2"
const:cellspacing="2"
>
<var:matrix-label const:elementName="td"
<span class="dayoverview_content_time_link">
<var:string value="currentDate"
const:dateformat="%H:%M"
- />
+ /><br />
[<a href="new"
var:queryDictionary="currentDateQueryParameters"
><var:string label:value="new" /></a>]
<var:matrix-label const:elementName="td"
const:position="left"
- const:bgcolor="#efefe7"
+ const:bgcolor="#d6d6ce"
+ const:width="100"
>
- <var:string value="currentUid" />
+ <var:string value="cnForCurrentUid"
+ const:style="dayoverview_content_time_link"
+ />
</var:matrix-label>
<!-- TODO: use css instead! -->
<var:matrix-empty const:elementName="td"
const:bgcolor="#d6d6ce"
const:valign="top"
>
- <a var:href="appointmentViewURL"
- var:queryDictionary="currentDateQueryParameters"
- var:title="tooltipForApt"
- var:class="aptStyle"
- ><var:string value="shortTextForApt"
- const:escapeHTML="NO"
- /></a>
+ <span class="dayoverview_content_time_link">
+ <a var:href="appointmentViewURL"
+ var:queryDictionary="currentDateQueryParameters"
+ var:title="tooltipForApt"
+ var:class="aptStyle"
+ ><var:string value="shortTextForApt"
+ const:escapeHTML="NO"
+ /></a>
+ </span>
</var:matrix-cell>
</var:hspan-matrix>
</td>
# $Id$
-SUBMINOR_VERSION:=77
+SUBMINOR_VERSION:=79
# v0.9.70 requires libNGExtensions v4.3.107
# v0.9.67 requires SOPE 4.3