</tr>
<tr>
<td>
+ <var:if condition="clientObject.isVCardRecord">
+ <h4>Editing of vCards is not yet supported!</h4>
+ </var:if>
+
+ <var:if condition="clientObject.isVCardRecord" const:negate="1">
<table border="0" cellpadding="2" cellspacing="0" class="editsec">
<tr>
<td align="right" colspan="2">
const:extraAttributes="cn, givenName,telephoneNumber,facsimileTelephoneNumber,mobile,postalAddress,homePostalAddress,departmentNumber,l"
/>
</td>
- </tr><tr>
+ </tr>
+ <tr>
<td align="left" colspan="2">
<span class="aptview_title">
<var:string label:value="Common" />
</td>
</tr>
</table>
+ </var:if>
</td>
</tr>
+ <var:if condition="clientObject.isVCardRecord" const:negate="1">
<tr>
<td>
<input type="submit" label:value="Save" name="save:method" />
</var:if>
</td>
</tr>
+ </var:if>
</table>
<input type="hidden" name="content" var:value="contentString" />
className="UIxPageFrame"
title="name"
>
- <table id="skywintable"
- class="wintable"
- cellspacing="0"
- cellpadding="5"
+ <table id="skywintable" class="wintable" cellspacing="0" cellpadding="5"
width="100%"
>
<tr>
<table border="0" cellpadding="2" width="100%" cellspacing="0">
<tr bgcolor="#e8e8e0">
<td align="left">
- <span class="aptview_title"
- ><var:string value="clientObject.cn"/></span>
+ <span class="aptview_title">
+ <var:if condition="clientObject.isVCardRecord" const:negate="1">
+ <var:string value="clientObject.cn"/>
+ </var:if>
+ <var:if condition="clientObject.isVCardRecord">
+ <var:string label:value="vCard" />:
+ <var:string value="clientObject.vCard.fn"/>
+ </var:if>
+ </span>
</td>
<td align="right" >
<table border='0' cellpadding='0' cellspacing='1'>
<tr>
<td valign="top" width="100%">
<table width="100%" border="0" cellpadding="4" cellspacing="0">
+ <var:if condition="clientObject.isVCardRecord" const:negate="1">
<!-- general contact info -->
<tr valign="top">
<td align="right" width="15%" bgcolor="#E8E8E0">
</span>
</td>
</tr>
+ </var:if>
</table>
- </td>
- </tr>
- <tr>
- <td valign="top" width="100%">
+ </td>
+ </tr>
+ <tr>
+ <td valign="top" width="100%">
<uix:tabview var:selection="tabSelection"
const:tabStyle="tab"
const:selectedTabStyle="tab_selected"
const:bodyStyle="tabview_body"
>
- <uix:tab const:key="attributes"
+ <!-- ******************** Tab for PLists ******************* -->
+
+ <var:if condition="clientObject.isVCardRecord" const:negate="1">
+ <uix:tab const:key="attributes"
const:label="attributes"
var:href="attributesTabLink"
- >
+ >
<table width="100%" border="0" cellpadding="4" cellspacing="0">
<tr valign="top">
<td align="right" width="15%" bgcolor="#E8E8E0">
</td>
</tr>
</table>
- </uix:tab>
+ </uix:tab>
+ </var:if>
+
+ <!-- ******************** Tab for vCards ******************* -->
+
+ <var:if condition="clientObject.isVCardRecord">
+ <uix:tab const:key="attributes"
+ const:label="attributes"
+ var:href="attributesTabLink"
+ >
+ <table width="100%" border="0" cellpadding="4" cellspacing="0">
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="EMail" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string
+ value="clientObject.vCard.preferredEMail.stringValue"/>
+ </span>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="Phone" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string
+ value="clientObject.vCard.preferredTel.stringValue"/>
+ </span>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="Address" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string
+ value="clientObject.vCard.preferredAdr.street"/><br />
+ <var:string
+ value="clientObject.vCard.preferredAdr.locality"/><br />
+ <var:string
+ value="clientObject.vCard.preferredAdr.country"/><br />
+ </span>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="Role" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string value="clientObject.vCard.role"/></span>
+ </td>
+ </tr>
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="Title" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string value="clientObject.vCard.title"/></span>
+ </td>
+ </tr>
+
+ <tr valign="top">
+ <td align="right" width="15%" bgcolor="#E8E8E0">
+ <span class="aptview_text"
+ ><var:string label:value="Note" />:</span>
+ </td>
+ <td align="left" bgcolor="#FFFFF0">
+ <span class="aptview_text">
+ <var:string value="clientObject.vCard.note"/></span>
+ </td>
+ </tr>
+ </table>
+ </uix:tab>
+ </var:if>
+
+ <!-- ******************** Debugging Tab ******************** -->
<var:if condition="isUIxDebugEnabled">
<uix:tab const:key="debug"