Monotone-Revision: 520496a6d68fd0fb5d259c933164b0fab2f8cd91 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-09T20:45:36 Monotone-Branch: ca.inverse.sogo
143 lines
5.7 KiB
XML
143 lines
5.7 KiB
XML
<?xml version='1.0' standalone='yes'?>
|
|
<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"
|
|
className="UIxPageFrame"
|
|
title="name"
|
|
var:popup="isPopup">
|
|
<var:if condition="hideFrame" const:negate="YES">
|
|
<div class="menu" id="contactFoldersMenu">
|
|
<ul>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return false;"><var:string label:value="Modify" /></li>
|
|
<li class="separator"></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return false;"><var:string label:value="New Card" /></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return false;"><var:string label:value="New List" /></li>
|
|
<li class="separator"></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return false;"><var:string label:value="Delete" /></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="menu" id="contactMenu">
|
|
<ul>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return onMenuEditContact(event, this);"><var:string label:value="Modify" /></li>
|
|
<li class="separator"></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return onMenuWriteToContact(event, this);"><var:string label:value="Write" /></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return false;"><var:string label:value="Instant Message" /></li>
|
|
<li class="separator"></li>
|
|
<li
|
|
onmousedown="return false;"
|
|
onmouseup="return onMenuDeleteContact(event, this);"><var:string label:value="Delete" /></li>
|
|
</ul>
|
|
</div>
|
|
|
|
<form name="searchform" var:href="view" var:_sort="sortKey"
|
|
onsubmit="return onSearchFormSubmit();" method="GET">
|
|
<!-- var:if condition="isPopup" const:negate="YES"> -->
|
|
<var:if condition="hideFolderTree" const:negate="YES">
|
|
<div class="contactFoldersList" id="contactFoldersList">
|
|
<div class="titlediv"
|
|
><var:string label:value="Address Books"
|
|
/></div>
|
|
<var:if var:condition="isPopup" const:negate="YES"
|
|
><div class="toolbar">
|
|
<a href="#" class="toolbarButton" onclick="return onAddressBookAdd(this);"
|
|
><span class="toolbarButton"
|
|
><img rsrc:src="add-addressbook.png" label:title="Add an Addressbook..."
|
|
/></span></a
|
|
><a href="#" class="toolbarButton" onclick="return onAddressBookRemove(this);"
|
|
><span class="toolbarButton"
|
|
><img rsrc:src="remove-addressbook.png" label:title="Remove the selected Addressbook"
|
|
/></span></a
|
|
></div></var:if>
|
|
|
|
<ul id="contactFolders"
|
|
onselectionchange="onFolderSelectionChange();"
|
|
var:additional-addressbooks="additionalAddressBooks">
|
|
<var:foreach list="contactFolders" item="currentFolder"
|
|
><var:if condition="isFolderCurrent"
|
|
><li var:id="currentContactFolderId"
|
|
class="_selected"
|
|
onmousedown="return false;"
|
|
onclick="return onRowClick(event);"
|
|
oncontextmenu="return onContactFoldersContextMenu(event, this);"
|
|
><var:string value="currentContactFolderName" /></li
|
|
></var:if
|
|
><var:if condition="isFolderCurrent"
|
|
const:negate="YES"
|
|
><li var:id="currentContactFolderId"
|
|
onmousedown="return false;"
|
|
onclick="return onRowClick(event);"
|
|
oncontextmenu="return onContactFoldersContextMenu(event, this);"
|
|
><var:string value="currentContactFolderName" /></li
|
|
></var:if>
|
|
</var:foreach
|
|
><var:foreach list="additionalFolders"
|
|
item="currentAdditionalFolder"
|
|
><li var:id="currentAdditionalFolder"
|
|
var:external-addressbook="currentAdditionalFolder"
|
|
onmousedown="return false;"
|
|
onclick="return onRowClick(event);"
|
|
oncontextmenu="return onContactFoldersContextMenu(event, this);"
|
|
><var:string value="currentAdditionalFolder" /></li
|
|
></var:foreach>
|
|
</ul>
|
|
|
|
<var:if condition="hasContactSelectionButtons">
|
|
<div class="contactSelection">
|
|
<var:component value="selectorComponent" />
|
|
</div>
|
|
</var:if>
|
|
</div>
|
|
|
|
<div class="dragHandle" id="dragHandle"><!-- space --></div>
|
|
</var:if>
|
|
|
|
<div id="rightPanel">
|
|
<var:component className="UIxContactsFilterPanel" qualifier="qualifier" />
|
|
|
|
<div id="contactsListContent">
|
|
<var:component-content />
|
|
</div>
|
|
|
|
<div class="dragHandle" id="rightDragHandle"><!-- space --></div>
|
|
|
|
<div id="contactView" onmousedown="return false;"
|
|
></div>
|
|
</div>
|
|
<!-- /var:if> -->
|
|
|
|
<!-- var:if condition="isPopup">
|
|
var:component-content />
|
|
/var:if> -->
|
|
</form>
|
|
|
|
<var:string value="errorAlertJavaScript" const:escapeHTML="NO" />
|
|
</var:if>
|
|
|
|
<var:if condition="hideFrame">
|
|
<var:component-content />
|
|
</var:if>
|
|
|
|
<script type="text/javascript">
|
|
currentContactFolder = '<var:string value="contactFolderId" />';
|
|
</script>
|
|
</var:component>
|