(feat) added custom fields support from Thunderbird's address book

This commit is contained in:
Ludovic Marcotte
2017-05-30 10:38:31 -04:00
parent 95d08c0150
commit ec397b39b0
7 changed files with 173 additions and 5 deletions
@@ -377,6 +377,42 @@
</div>
</td>
</tr>
<tr>
<td>
<label><var:string label:value="Custom 1"
/>
<input type="text" class="textField" name="custom1"
id="nsaimid" var:value="ldifRecord.custom1"
/></label>
</td>
</tr>
<tr>
<td>
<label><var:string label:value="Custom 2"
/>
<input type="text" class="textField" name="custom2"
id="nsaimid" var:value="ldifRecord.custom2"
/></label>
</td>
</tr>
<tr>
<td>
<label><var:string label:value="Custom 3"
/>
<input type="text" class="textField" name="custom3"
id="nsaimid" var:value="ldifRecord.custom3"
/></label>
</td>
</tr>
<tr>
<td>
<label><var:string label:value="Custom 4"
/>
<input type="text" class="textField" name="custom4"
id="nsaimid" var:value="ldifRecord.custom4"
/></label>
</td>
</tr>
<tr>
<td>
<label><var:string label:value="Note" /></label>
@@ -48,6 +48,10 @@
<dl class="dl-horizontal">
<var:string value="bday" escapeHTML="NO"
/><var:string value="tz" escapeHTML="NO"
/><var:string value="custom1" escapeHTML="NO"
/><var:string value="custom2" escapeHTML="NO"
/><var:string value="custom3" escapeHTML="NO"
/><var:string value="custom4" escapeHTML="NO"
/><var:string value="note" escapeHTML="NO"
/>
</dl>