// Token: 0x060005CE RID: 1486 RVA: 0x0002D770 File Offset: 0x0002B970 protected void RenderDetailsBucket(TextWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); } writer.Write("<table cellpadding=0 cellspacing=0 class=\"pDtls\">"); ReadADRecipient.RenderDetailHeader(writer, -2101430728); writer.Write("<tr><td class=\"lbl lp\">"); writer.Write(LocalizedStrings.GetHtmlEncoded(613689222)); writer.Write("</td>"); if (!base.UserContext.IsWebPartRequest) { writer.Write("<td><a href=\"#\" class=\"peer\" onclick=\"return onSendMail();\">"); } else { writer.Write("<td class=\"txvl\">"); } Utilities.HtmlEncode(base.ADRecipient.Alias, writer); if (!base.UserContext.IsWebPartRequest) { writer.Write("</a>"); } writer.Write("</td></tr>"); ADObjectId managedBy = this.adGroup.ManagedBy; ADRecipient adrecipient = null; if (managedBy != null) { adrecipient = base.ADRecipientSession.Read(managedBy); } if (adrecipient != null) { string base64StringFromADObjectId = Utilities.GetBase64StringFromADObjectId(managedBy); writer.Write("<tr><td class=\"lbl lp\" nowrap>"); writer.Write(LocalizedStrings.GetHtmlEncoded(-1563830359)); writer.Write("</td><td><a href=\"#\""); writer.Write(" id=\""); Utilities.HtmlEncode(base64StringFromADObjectId, writer); writer.Write("\" onClick=\"return loadOrgP(this,"); writer.Write(1); writer.Write(")\" class=\"peer\">"); Utilities.HtmlEncode(adrecipient.Name, writer); writer.Write("</a></td></tr>"); } writer.Write("<tr><td class=\"spcOP\" colspan=2></td></tr>"); ReadADRecipient.RenderDetailHeader(writer, -905993889); this.RenderMembers(writer); writer.Write("</table>"); }
protected void RenderDetailsBucket(TextWriter writer) { if (writer == null) { throw new ArgumentNullException("writer"); } writer.Write("<table cellpadding=0 cellspacing=0 class=\"pDtls\">"); ReadADRecipient.RenderDetailHeader(writer, -2101430728); writer.Write("<tr><td class=\"lbl lp\">"); writer.Write(LocalizedStrings.GetHtmlEncoded(613689222)); writer.Write("</td>"); if (!base.UserContext.IsWebPartRequest) { writer.Write("<td><a href=\"#\" class=\"peer\" onclick=\"return onSendMail();\">"); } else { writer.Write("<td class=\"txvl\">"); } Utilities.HtmlEncode(base.ADRecipient.Alias, writer); if (!base.UserContext.IsWebPartRequest) { writer.Write("</a>"); } writer.Write("</td></tr>"); if (this.isAdOrgPerson) { base.RenderDetailsLabel(writer, 1111077458, this.adOrgPerson.PrimarySmtpAddress.ToString(), null); writer.Write("<tr><td class=\"spcHd\" colspan=2></td></tr>"); if (!string.IsNullOrEmpty(this.adOrgPerson.Office)) { base.RenderDetailsLabel(writer, 275231482, this.adOrgPerson.Office, null); } writer.Write("<tr><td class=\"spcHd\" colspan=2></td></tr>"); if (!string.IsNullOrEmpty(this.adOrgPerson.Phone)) { base.RenderDetailsLabel(writer, -31489650, this.adOrgPerson.Phone, new ThemeFileId?(ThemeFileId.WorkPhone)); } if (!string.IsNullOrEmpty(this.adOrgPerson.HomePhone)) { base.RenderDetailsLabel(writer, -1844864953, this.adOrgPerson.HomePhone, new ThemeFileId?(ThemeFileId.HomePhone)); } if (!string.IsNullOrEmpty(this.adOrgPerson.MobilePhone)) { base.RenderDetailsLabel(writer, 1158653436, this.adOrgPerson.MobilePhone, new ThemeFileId?(ThemeFileId.MobilePhone)); } if (!string.IsNullOrEmpty(this.adOrgPerson.Fax)) { base.RenderDetailsLabel(writer, 696030351, this.adOrgPerson.Fax, new ThemeFileId?(ThemeFileId.Fax)); } if (!string.IsNullOrEmpty(this.adOrgPerson.Pager)) { base.RenderDetailsLabel(writer, -1779142331, this.adOrgPerson.Pager, null); } bool flag = !string.IsNullOrEmpty(this.adOrgPerson.FirstName) || !string.IsNullOrEmpty(this.adOrgPerson.LastName) || (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticFirstName)) || (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticLastName)); if (flag) { writer.Write("<tr><td class=\"spcOP\" colspan=2></td></tr>"); ReadADRecipient.RenderDetailHeader(writer, -728684336); } if (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticFirstName)) { base.RenderDetailsLabel(writer, -758272749, this.adOrgPerson.PhoneticFirstName, null); } if (!string.IsNullOrEmpty(this.adOrgPerson.FirstName)) { base.RenderDetailsLabel(writer, -1134283443, this.adOrgPerson.FirstName, null); } if (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticLastName)) { base.RenderDetailsLabel(writer, -1100427325, this.adOrgPerson.PhoneticLastName, null); } if (!string.IsNullOrEmpty(this.adOrgPerson.LastName)) { base.RenderDetailsLabel(writer, -991618307, this.adOrgPerson.LastName, null); } writer.Write("<tr><td class=\"spcOP\" colspan=2></td></tr>"); ReadADRecipient.RenderDetailHeader(writer, -905993889); if (!string.IsNullOrEmpty(this.title)) { base.RenderDetailsLabel(writer, 587115635, this.title, null); this.renderOrganizationDetails = true; } if (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticDepartment)) { base.RenderDetailsLabel(writer, 871410780, this.adOrgPerson.PhoneticDepartment, null); this.renderOrganizationDetails = true; } if (!string.IsNullOrEmpty(this.department)) { base.RenderDetailsLabel(writer, 1855823700, this.department, null); this.renderOrganizationDetails = true; } if (base.UserContext.IsPhoneticNamesEnabled && !string.IsNullOrEmpty(this.adOrgPerson.PhoneticCompany)) { base.RenderDetailsLabel(writer, -923446215, this.adOrgPerson.PhoneticCompany, null); this.renderOrganizationDetails = true; } if (!string.IsNullOrEmpty(this.company)) { base.RenderDetailsLabel(writer, 642177943, this.company, null); this.renderOrganizationDetails = true; } this.RenderManagementChain(this.adOrgPerson, writer); this.RenderPeers(this.adOrgPerson, writer); this.RenderDirectReports(this.adOrgPerson, writer); if (!this.renderOrganizationDetails) { writer.Write("<tr><td colspan=2 class=\"nodtls msgpd\">"); writer.Write(LocalizedStrings.GetHtmlEncoded(1029790140)); writer.Write("</td></tr>"); } } writer.Write("<tr><td class=\"spcOP\" colspan=2></td></tr>"); writer.Write("</table>"); }