// Token: 0x06003124 RID: 12580 RVA: 0x00121760 File Offset: 0x0011F960 public static void RenderReminderDate(TextWriter output, Item item, bool isEnabled) { ExDateTime selectedDate = ExDateTime.MinValue; if (item != null) { object obj = item.TryGetProperty(ItemSchema.ReminderDueBy); if (obj is ExDateTime) { selectedDate = (ExDateTime)obj; } } DatePickerDropDownCombo.RenderDatePicker(output, "divRemindDate", selectedDate, DatePicker.Features.TodayButton | DatePicker.Features.DropDown, isEnabled); }
// Token: 0x06002FD7 RID: 12247 RVA: 0x001170C4 File Offset: 0x001152C4 public static void RenderCancelRecurrenceCalendarItemDialog(TextWriter output, bool showCancelOccurrence, bool isMeeting, bool isPermanentDelete, bool showWarningAttendeesWillNotBeNotified) { output.Write("<div id=\"divCRMsg\" style=\"display:none\" sTtl=\""); if (isMeeting) { output.Write(SanitizedHtmlString.FromStringId(-2063563644)); } else { output.Write(SanitizedHtmlString.FromStringId(78467316)); } output.Write("\" sOk=\""); output.Write(SanitizedHtmlString.FromStringId(2041362128)); output.Write("\" sCncl=\""); output.Write(SanitizedHtmlString.FromStringId(-1936577052)); output.Write("\">"); if (showWarningAttendeesWillNotBeNotified) { output.Write("<div class=\"w\">"); output.Write(SanitizedHtmlString.FromStringId(-1626455311)); output.Write("</div>"); } if (showCancelOccurrence) { output.Write("<div class=\"cancelRcrRow\">"); output.Write("<div class=\"fltBefore cancelRcrInput\"><input type=\"radio\" name=\"rdoCncl\" id=\"rdoCnclO\"></div>"); output.Write("<div class=\"fltBefore\"><label for=\"rdoCnclO\">"); if (isPermanentDelete) { output.Write(SanitizedHtmlString.FromStringId(-897929905)); } else { output.Write(SanitizedHtmlString.FromStringId(-673339501)); } output.Write("</label></div><div class=\"clear\"></div></div>"); } output.Write("<div class=\"cancelRcrRow\">"); output.Write("<div class=\"fltBefore cancelRcrInput\"><input type=\"radio\" name=\"rdoCncl\" id=\"rdoCnclD\"></div>"); output.Write("<div class=\"fltBefore\"><label for=\"rdoCnclD\">"); StringBuilder stringBuilder = new StringBuilder(); using (SanitizingStringWriter <OwaHtml> sanitizingStringWriter = new SanitizingStringWriter <OwaHtml>(stringBuilder)) { sanitizingStringWriter.Write(" </label></div><div class=\"fltBefore dtPkerAd\">"); DatePickerDropDownCombo.RenderDatePicker(sanitizingStringWriter, "divRecurrenceDate", DateTimeUtilities.GetLocalTime()); sanitizingStringWriter.Write("</div><div class=\"fltBefore\"><label for=\"rdoCnclD\">"); sanitizingStringWriter.Close(); } if (isPermanentDelete) { output.Write(SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-1487900473), new object[] { SanitizedHtmlString.GetSanitizedStringWithoutEncoding(stringBuilder.ToString()) })); } else { output.Write(SanitizedHtmlString.Format(LocalizedStrings.GetHtmlEncoded(-1062918861), new object[] { SanitizedHtmlString.GetSanitizedStringWithoutEncoding(stringBuilder.ToString()) })); } output.Write("</label></div><div class=\"clear\"></div></div>"); output.Write("<div class=\"cancelRcrRow\">"); output.Write("<div class=\"fltBefore cancelRcrInput\"><input type=\"radio\" name=\"rdoCncl\" id=\"rdoCnclA\"></div>"); output.Write("<div class=\"fltBefore\"><label for=\"rdoCnclA\">"); if (isPermanentDelete) { output.Write(SanitizedHtmlString.FromStringId(817420711)); } else { output.Write(SanitizedHtmlString.FromStringId(1631668395)); } output.Write("</label></div>"); output.Write("</div>"); }
protected void RenderEndDate() { DatePickerDropDownCombo.RenderDatePicker(base.SanitizingResponse, "divEDate", this.endTime.Date); }
protected void RenderStartDate() { DatePickerDropDownCombo.RenderDatePicker(base.SanitizingResponse, "divSDate", this.startTime.Date); }
protected void RenderCompleteDate() { DatePickerDropDownCombo.RenderDatePicker(base.Response.Output, "divDateCmplt", this.completeDate, DatePicker.Features.TodayButton | DatePicker.Features.NoneButton, true); }
protected void RenderStartDate() { DatePickerDropDownCombo.RenderDatePicker(base.Response.Output, "divSDate", this.startDate, DatePicker.Features.TodayButton | DatePicker.Features.NoneButton, true); }
// Token: 0x06002A97 RID: 10903 RVA: 0x000EEC24 File Offset: 0x000ECE24 protected void RenderDatePicker() { DatePickerDropDownCombo.RenderDatePicker(base.Response.Output, "divSDate", this.startDay); }
// Token: 0x06002BC9 RID: 11209 RVA: 0x000F4E2B File Offset: 0x000F302B protected void RenderRangeEndByDatePicker() { DatePickerDropDownCombo.RenderDatePicker(base.SanitizingResponse, "divRngE", DateTimeUtilities.GetLocalTime()); }
public void GetFlagDialog() { ExDateTime date = DateTimeUtilities.GetLocalTime().Date; ExDateTime exDateTime = ExDateTime.MinValue; ExDateTime exDateTime2 = ExDateTime.MinValue; ExDateTime exDateTime3 = ExDateTime.MinValue; bool flag = false; FlagStatus flagStatus = FlagStatus.NotFlagged; bool flag2 = true; OwaStoreObjectId owaStoreObjectId = base.GetParameter("fldrId") as OwaStoreObjectId; OwaStoreObjectId latestFlaggedOrNormalItem = this.GetLatestFlaggedOrNormalItem(); if (latestFlaggedOrNormalItem != null) { using (Item item = Utilities.GetItem <Item>(base.UserContext, latestFlaggedOrNormalItem, FlagEventHandler.prefetchProperties)) { flag2 = (!Utilities.IsPublic(item) && !(item is MeetingMessage)); flagStatus = FlagEventHandler.GetFlagStatus(item); exDateTime = ItemUtility.GetProperty <ExDateTime>(item, TaskSchema.StartDate, ExDateTime.MinValue); if (exDateTime.Year <= 1601) { exDateTime = ExDateTime.MinValue; } exDateTime2 = ItemUtility.GetProperty <ExDateTime>(item, TaskSchema.DueDate, ExDateTime.MinValue); if (exDateTime2.Year <= 1601) { exDateTime2 = ExDateTime.MinValue; } flag = ItemUtility.GetProperty <bool>(item, ItemSchema.ReminderIsSet, false); if (flag) { exDateTime3 = ItemUtility.GetProperty <ExDateTime>(item, ItemSchema.ReminderDueBy, ExDateTime.MinValue); if (exDateTime3.Year <= 1601) { exDateTime3 = ExDateTime.MinValue; } } } } if (owaStoreObjectId != null) { flag2 = !owaStoreObjectId.IsPublic; } if (flagStatus == FlagStatus.NotFlagged) { if (exDateTime2 == ExDateTime.MinValue) { exDateTime2 = DateTimeUtilities.GetLocalTime().Date; } if (exDateTime == ExDateTime.MinValue || exDateTime > exDateTime2) { exDateTime = exDateTime2; } } if (exDateTime3 == ExDateTime.MinValue) { if (exDateTime == ExDateTime.MinValue || exDateTime == date) { exDateTime3 = date; int num = base.UserContext.WorkingHours.GetWorkDayEndTime(exDateTime3) - 60; exDateTime3 = exDateTime3.AddMinutes((double)num); } else { exDateTime3 = exDateTime; exDateTime3 = exDateTime3.AddMinutes((double)base.UserContext.WorkingHours.GetWorkDayStartTime(exDateTime3)); } } RenderingUtilities.RenderStringVariable(this.Writer, "sDT", LocalizedStrings.GetNonEncoded(-941242639)); StringBuilder stringBuilder = new StringBuilder(); StringWriter stringWriter = new StringWriter(stringBuilder); stringWriter.Write("<table class=flgDtRm><col><col class=pkr><tr><td nowrap>"); stringWriter.Write(LocalizedStrings.GetHtmlEncoded(1089701318)); stringWriter.Write("</td><td nowrap>"); DatePickerDropDownCombo.RenderDatePicker(stringWriter, "tblFlgSD", exDateTime, date, DatePicker.Features.TodayButton | DatePicker.Features.NoneButton); stringWriter.Write("</td></tr>"); stringWriter.Write("<tr><td>"); stringWriter.Write(LocalizedStrings.GetHtmlEncoded(1012104992)); stringWriter.Write("</td><td>"); DatePickerDropDownCombo.RenderDatePicker(stringWriter, "tblFlgDD", exDateTime2, date, DatePicker.Features.TodayButton | DatePicker.Features.NoneButton); stringWriter.Write("</td></tr>"); if (flag2) { stringWriter.Write("<tr><td colspan=2 nowrap><input type=checkbox id=chkRM"); if (flag) { stringWriter.Write(" checked"); } stringWriter.Write("><label for=chkRM> "); stringWriter.Write(LocalizedStrings.GetHtmlEncoded(-1024614879)); stringWriter.Write("</label></td></tr>"); stringWriter.Write("<tr><td nowrap class=rmd>"); stringWriter.Write(LocalizedStrings.GetHtmlEncoded(-1966747526)); stringWriter.Write("</td><td>"); DatePickerDropDownCombo.RenderDatePicker(stringWriter, "tblFlgRD", exDateTime3); stringWriter.Write("</td></tr>"); stringWriter.Write("<tr><td nowrap class=rmd>"); stringWriter.Write(LocalizedStrings.GetHtmlEncoded(-837446999)); stringWriter.Write("</td><td>"); TimeDropDownList.RenderTimePicker(stringWriter, exDateTime3, "divFlgRT"); stringWriter.Write("</td></tr>"); } stringWriter.Write("</table>"); stringWriter.Close(); RenderingUtilities.RenderStringVariable(this.Writer, "sD", stringBuilder.ToString()); }