// Name (Display As)
+ ArrayvCardOutData FNList;
+ FNList = vCardObj->GetByPartial(wxT("FN"));
+
PageData.append(wxT("<table style=\"background: #cccccc; width: 100%\">"));
PageData.append(wxT("<tr>"));
PageData.append(wxT("<td style=\"width:100%\">"));
PageData.append(wxT("<h2>"));
- PageData.append(vCardObj->Get(wxT("FN")));
+
+ if (FNList.PropCount > 0){
+ FNList.PropValues[0].Trim();
+ PageData.append(FNList.PropValues[0]);
+ }
+
PageData.append(wxT("</h2>"));
PageData.append(wxT("</td>"));
PageData.append(wxT("<td style=\"width: 200px;\">"));
SessionID = wxString::Format(wxT("%i"), rand() % 32768);
LoadContactData(vCardObj, htmContactData, SessionID, OldSessionID, MemoryFSListPtr);
SetTitle(vCardObj->Get(wxT("FN")));
+ ArrayvCardOutData FNList;
+ FNList = vCardObj->GetByPartial(wxT("FN"));
+
+ if (FNList.PropCount > 0){
+ FNList.PropValues[0].Trim();
+ SetTitle(FNList.PropValues[0]);
+ }
WindowData *WData = new WindowData;