2006-10-30 23:38:22 +01:00
|
|
|
<?xml version='1.0' standalone='yes'?>
|
2009-06-26 19:48:28 +02:00
|
|
|
<!DOCTYPE var:component>
|
|
|
|
<var:component
|
|
|
|
xmlns="http://www.w3.org/1999/xhtml"
|
|
|
|
xmlns:var="http://www.skyrix.com/od/binding"
|
|
|
|
xmlns:const="http://www.skyrix.com/od/constant"
|
|
|
|
xmlns:uix="OGo:uix"
|
|
|
|
xmlns:label="OGo:label"
|
|
|
|
xmlns:rsrc="OGo:url"
|
2010-11-01 20:32:19 +01:00
|
|
|
const:userDefaultsKeys="SOGoContactsCategories"
|
2012-05-09 15:31:20 +02:00
|
|
|
const:jsFiles="jquery-ui.js"
|
2009-06-26 19:48:28 +02:00
|
|
|
className="UIxPageFrame"
|
|
|
|
title="name"
|
|
|
|
var:popup="isPopup">
|
2010-04-12 19:51:59 +02:00
|
|
|
<style type="text/css">
|
2009-06-26 19:48:28 +02:00
|
|
|
<var:if condition="horizontalDragHandleStyle">
|
|
|
|
DIV#dragHandle, DIV#rightPanel
|
2010-04-12 19:51:59 +02:00
|
|
|
{ left: <var:string value="horizontalDragHandleStyle" />; }
|
2009-06-26 19:48:28 +02:00
|
|
|
DIV#contactFoldersList
|
2010-04-12 19:51:59 +02:00
|
|
|
{ width: <var:string value="horizontalDragHandleStyle" />; }
|
2009-06-26 19:48:28 +02:00
|
|
|
</var:if><var:if condition="verticalDragHandleStyle">
|
|
|
|
DIV#rightDragHandle, DIV#contactView
|
2010-04-12 19:51:59 +02:00
|
|
|
{ top: <var:string value="verticalDragHandleStyle" />; }
|
2009-06-26 19:48:28 +02:00
|
|
|
</var:if><var:if condition="contactsListContentStyle">
|
|
|
|
DIV#contactsListContent
|
2010-04-12 19:51:59 +02:00
|
|
|
{ height: <var:string value="contactsListContentStyle" />; }
|
2009-11-04 23:13:20 +01:00
|
|
|
</var:if><var:if condition="isPopup">
|
2009-06-26 19:48:28 +02:00
|
|
|
</var:if>
|
2010-04-12 19:51:59 +02:00
|
|
|
</style>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2009-09-03 16:18:13 +02:00
|
|
|
<div id="uploadDialog" style="display: none" class="dialog left">
|
|
|
|
<div>
|
2009-10-28 18:48:22 +01:00
|
|
|
<h3><var:string label:value="Import Cards"/></h3>
|
2012-09-24 18:18:18 +02:00
|
|
|
<p class="prompt"><var:string label:value="Select a vCard or LDIF file."/></p>
|
2009-12-23 22:14:18 +01:00
|
|
|
<form const:href="" name="uploadForm" id="uploadForm" method="post"
|
2009-09-03 16:18:13 +02:00
|
|
|
enctype="multipart/form-data"
|
2009-09-03 19:53:38 +02:00
|
|
|
onsubmit="return AIM.submit(this, {'onStart' : validateUploadForm,
|
|
|
|
'onComplete' : uploadCompleted})">
|
2012-09-24 18:18:18 +02:00
|
|
|
<p class="prompt"><input type="file" name="contactsFile" id="contactsFile" class="textField" />
|
|
|
|
<a href="#" class="button actionButton" id="uploadSubmit"
|
2009-11-04 23:13:20 +01:00
|
|
|
onclick="if($('uploadForm').onsubmit()) $('uploadForm').submit()">
|
|
|
|
<span><var:string label:value="Upload" /></span></a>
|
|
|
|
<a href="#" class="button" const:id="uploadCancel">
|
|
|
|
<span><var:string label:value="Cancel" /></span></a></p>
|
2009-09-03 16:18:13 +02:00
|
|
|
</form>
|
2012-09-24 18:18:18 +02:00
|
|
|
<hr/>
|
2009-09-03 16:18:13 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2009-09-03 19:53:38 +02:00
|
|
|
|
|
|
|
<div id="uploadResults" style="display: none" class="dialog left">
|
|
|
|
<div>
|
2009-10-28 18:48:22 +01:00
|
|
|
<h3><var:string label:value="Import Cards"/></h3>
|
2009-10-06 00:09:35 +02:00
|
|
|
<p id="uploadResultsContent"><!-- empty --></p>
|
2009-11-04 23:13:20 +01:00
|
|
|
<p><a href="#" class="button" const:id="uploadOK">
|
|
|
|
<span><var:string label:value="Done" /></span></a></p>
|
2012-09-24 18:18:18 +02:00
|
|
|
<hr/>
|
2009-09-03 19:53:38 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2010-04-12 19:51:59 +02:00
|
|
|
|
|
|
|
<div class="menu" id="contactFoldersMenu">
|
|
|
|
<ul>
|
|
|
|
<li><var:string label:value="Properties" /></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="New Card" /></li>
|
|
|
|
<li><var:string label:value="New List" /></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Delete" /></li>
|
|
|
|
<li><!-- separator --></li>
|
2010-04-19 18:35:35 +02:00
|
|
|
<li><var:string label:value="Export Address Book..."/></li>
|
|
|
|
<li><var:string label:value="Import Cards" /></li>
|
|
|
|
<li><!-- separator --></li>
|
2010-04-12 19:51:59 +02:00
|
|
|
<li><var:string label:value="Sharing..." /></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2010-04-12 19:51:59 +02:00
|
|
|
<div class="menu" id="contactMenu">
|
|
|
|
<ul>
|
|
|
|
<li><var:string label:value="Properties" /></li>
|
2010-11-01 20:32:19 +01:00
|
|
|
<li><var:string label:value="Categories" /></li>
|
2010-04-12 19:51:59 +02:00
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Write" /></li>
|
|
|
|
<li><var:string label:value="Instant Message" /></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Delete" /></li>
|
|
|
|
<li><!-- separator --></li>
|
|
|
|
<li><var:string label:value="Move To" /></li>
|
|
|
|
<li><var:string label:value="Copy To" /></li>
|
|
|
|
<li><var:string label:value="Export" /></li>
|
2012-07-09 16:17:07 +02:00
|
|
|
<li><var:string label:value="View Raw Source" /></li>
|
2010-04-12 19:51:59 +02:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2012-09-07 21:46:49 +02:00
|
|
|
<div id="contactFoldersList">
|
|
|
|
<h6><var:string label:value="Address Books" /></h6>
|
|
|
|
<div id="abToolbar">
|
|
|
|
<a href="#" class="smallToolbarButton"
|
|
|
|
><span><img rsrc:src="add-addressbook.png" label:title="New Addressbook..."
|
|
|
|
/></span></a>
|
|
|
|
<a href="#" class="smallToolbarButton"
|
|
|
|
><span><img rsrc:src="add-user-addressbook.png" label:title="Subscribe to an Addressbook..."
|
|
|
|
/></span></a>
|
|
|
|
<a href="#" class="smallToolbarButton"
|
|
|
|
><span><img rsrc:src="remove-addressbook.png" label:title="Remove the selected Addressbook"
|
|
|
|
/></span></a>
|
2010-04-12 19:51:59 +02:00
|
|
|
</div>
|
|
|
|
<ul id="contactFolders">
|
|
|
|
<var:foreach list="contactFolders" item="currentFolder"
|
|
|
|
><li var:id="currentContactFolderId"
|
|
|
|
var:owner="currentContactFolderOwner"
|
|
|
|
var:class="currentContactFolderClass"
|
2012-01-04 16:26:30 +01:00
|
|
|
var:acl-editing="currentContactFolderAclEditing"
|
|
|
|
var:list-editing="currentContactFolderListEditing"
|
2010-04-12 19:51:59 +02:00
|
|
|
><var:string value="currentContactFolderName"/></li
|
2009-11-04 23:13:20 +01:00
|
|
|
></var:foreach
|
|
|
|
>
|
2010-04-12 19:51:59 +02:00
|
|
|
</ul>
|
|
|
|
<var:if condition="hasContactSelectionButtons">
|
|
|
|
<div class="contactSelection">
|
|
|
|
<var:component value="selectorComponent" />
|
|
|
|
</div>
|
|
|
|
</var:if>
|
|
|
|
</div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2010-04-12 19:51:59 +02:00
|
|
|
<div class="dragHandle" id="dragHandle"><!-- space --></div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2010-04-12 19:51:59 +02:00
|
|
|
<div id="rightPanel">
|
|
|
|
<var:component className="UIxContactsFilterPanel" qualifier="qualifier" />
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2011-04-14 20:01:02 +02:00
|
|
|
<div id="contactsListContent">
|
|
|
|
<table id="contactsList" cellspacing="0">
|
|
|
|
<thead>
|
|
|
|
<tr class="tableview">
|
|
|
|
<!-- localize -->
|
|
|
|
<td class="tbtv_headercell sortableTableHeader" id="nameHeader"
|
|
|
|
><img id="messageSortImage" class="sortImage" rsrc:src="arrow-up.png"
|
|
|
|
/><var:string label:value="Name"
|
|
|
|
/></td
|
|
|
|
><td class="tbtv_headercell sortableTableHeader" id="mailHeader"
|
|
|
|
><var:string label:value="Email"/></td
|
|
|
|
><td class="tbtv_headercell sortableTableHeader" id="screenNameHeader"
|
|
|
|
><var:string label:value="Screen Name" /></td
|
|
|
|
><td class="tbtv_headercell sortableTableHeader" id="orgHeader"
|
|
|
|
><var:string label:value="Organization" /></td
|
|
|
|
><td class="tbtv_headercell sortableTableHeader" id="phoneHeader"
|
|
|
|
><var:string label:value="Preferred Phone" /></td
|
|
|
|
></tr>
|
|
|
|
</thead>
|
|
|
|
<tbody id="contactsListTbody">
|
|
|
|
|
|
|
|
<var:foreach list="personalContactInfos" item="currentContact">
|
|
|
|
<tr var:class="currentContactClasses"
|
|
|
|
var:categories="currentContact.c_categories"
|
|
|
|
var:id="currentContact.c_name"
|
|
|
|
var:contactname="currentContact.c_cn">
|
2013-01-31 19:55:57 +01:00
|
|
|
<td class="displayName" var:title="currentContact.c_cn"><var:string value="currentContact.c_cn" const:escapeHTML="YES" /></td>
|
|
|
|
<td var:title="currentContact.c_mail"><var:string value="currentContact.c_mail"/></td>
|
2011-04-14 20:01:02 +02:00
|
|
|
<td><var:string value="currentContact.c_screenname"/></td>
|
|
|
|
<td><var:string value="currentContact.c_o"/></td>
|
|
|
|
<td><var:string value="currentContact.c_telephonenumber"/></td>
|
|
|
|
</tr>
|
|
|
|
</var:foreach>
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2010-04-12 19:51:59 +02:00
|
|
|
<div class="dragHandle" id="rightDragHandle"><!-- space --></div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2011-04-14 20:01:02 +02:00
|
|
|
<div id="contactView"><!-- space --></div>
|
2010-04-12 19:51:59 +02:00
|
|
|
</div>
|
2009-06-26 19:48:28 +02:00
|
|
|
|
2010-04-12 19:51:59 +02:00
|
|
|
<var:string value="errorAlertJavaScript" const:escapeHTML="NO" />
|
2009-06-26 19:48:28 +02:00
|
|
|
</var:component>
|