mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-13 07:47:12 +00:00
Monotone-Parent: 8566d6fbfa896a774b9907c3125e7b3de87296cd
Monotone-Revision: 2ad8b0c019808014c990f51cc69c4457fdb537c6 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-07-28T22:59:11 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
1 parent
bef8dad238
commit
39228fb130
73 files changed
+4023
-1628
No files matched your search
@@ -6,29 +6,27 @@
|
||||
xmlns:uix="OGo:uix"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="panelTitle"
|
||||
className="UIxMailAccountViewContainer"
|
||||
title="title"
|
||||
>
|
||||
<div class="mailAccount">
|
||||
<div style="padding: 1em;" oncontextmenu="return false;">
|
||||
<h2>
|
||||
SOGo Mail -
|
||||
|
||||
SOGo Mail - <var:string value="objectTitle" />
|
||||
|
||||
<var:if condition="clientObject.isSharedAccount">
|
||||
<var:string label:value="Shared Account: " />
|
||||
</var:if>
|
||||
|
||||
<!-- <div class="titlediv">
|
||||
<var:if condition="clientObject.isSharedAccount">
|
||||
<var:string label:value="Share: " />
|
||||
</var:if>
|
||||
<var:if condition="clientObject.isSharedAccount" const:negate="1">
|
||||
<var:string label:value="Account: " />
|
||||
</var:if>
|
||||
<var:string value="objectTitle"/>
|
||||
</div>
|
||||
-->
|
||||
|
||||
|
||||
<!-- <div class="titlediv">
|
||||
<var:if condition="clientObject.isSharedAccount">
|
||||
<var:string label:value="Share: " />
|
||||
</var:if>
|
||||
<var:if condition="clientObject.isSharedAccount" const:negate="1">
|
||||
<var:string label:value="Account: " />
|
||||
</var:if>
|
||||
<var:string value="objectTitle"/>
|
||||
</div>
|
||||
-->
|
||||
</h2>
|
||||
<var:if condition="clientObject.isSharedAccount">
|
||||
<div>
|
||||
@@ -36,25 +34,25 @@
|
||||
<var:string value="clientObject.sharedAccountName" />
|
||||
</div>
|
||||
</var:if>
|
||||
|
||||
|
||||
<h3>Email</h3>
|
||||
<p>
|
||||
<a href="INBOX/"><img rsrc:src="read-messages.png" /><var:string label:value="Read messages" /></a><br />
|
||||
<a href="#" onclick="clickedCompose(this);"><img rsrc:src="write-message.png" /><var:string label:value="Write a new message" /></a><br />
|
||||
<a href="INBOX/" onclick="initMailboxSelection(currentMailbox + '/INBOX'); openMailbox(currentMailbox + '/INBOX'); return false;"><img rsrc:src="read-messages.png" /><var:string label:value="Read messages" /></a><br />
|
||||
<a href="#" onclick="clickedCompose(this);"><img rsrc:src="write-message.png" /><var:string label:value="Write a new message" /></a><br />
|
||||
</p>
|
||||
|
||||
<h3>Accounts</h3>
|
||||
<p>
|
||||
<a href=""><img rsrc:src="account-settings.png" />View settings for this account</a><br />
|
||||
<a href=""><img rsrc:src="create-account.png" />Create a new account</a> [TBD: not in Agenor]<br />
|
||||
<a href=""><img rsrc:src="account-settings.png" />View settings for this account</a><br />
|
||||
<a href=""><img rsrc:src="create-account.png" />Create a new account</a> [TBD: not in Agenor]<br />
|
||||
</p>
|
||||
|
||||
|
||||
<h3>Advanced Features</h3>
|
||||
<p>
|
||||
<a href=""><img rsrc:src="search-messages.png" />Search messages</a><br />
|
||||
<a href=""><img rsrc:src="manage-filters.png" />Manage message filters</a><br />
|
||||
<a href=""><img rsrc:src="manage-imap.png" />Manage folder subscriptions</a><br />
|
||||
<a href=""><img rsrc:src="offline-settings.png" />Offline settings</a> [TBD: not in Agenor]<br />
|
||||
<a href=""><img rsrc:src="search-messages.png" />Search messages</a><br />
|
||||
<a href=""><img rsrc:src="manage-filters.png" />Manage message filters</a><br />
|
||||
<a href=""><img rsrc:src="manage-imap.png" />Manage folder subscriptions</a><br />
|
||||
<a href=""><img rsrc:src="offline-settings.png" />Offline settings</a> [TBD: not in Agenor]<br />
|
||||
</p>
|
||||
</div>
|
||||
</var:component>
|
||||
@@ -0,0 +1,39 @@
|
||||
<?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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="name"
|
||||
>
|
||||
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<div id="mailboxContent" style="visibility: hidden;">
|
||||
</div>
|
||||
|
||||
<div id="mailboxDragHandle"
|
||||
style="visibility: hidden;"
|
||||
onmousedown="startHandleDragging(event);"
|
||||
onmousemove=""
|
||||
ondblclick="dragHandleDoubleClick(event);"
|
||||
upperblock="mailboxContent"
|
||||
lowerblock="messageContent">
|
||||
</div>
|
||||
|
||||
<div id="messageContent"
|
||||
style="top: 0px;">
|
||||
<var:component-content />
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
initMailboxSelection('<var:string value="mailFolderName" />');
|
||||
</script>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="hideFrame">
|
||||
<var:component-content />
|
||||
</var:if>
|
||||
</var:component>
|
||||
@@ -7,22 +7,24 @@
|
||||
xmlns:label="OGo:label"
|
||||
xmlns:rsrc="OGo:url"
|
||||
className="UIxMailMainFrame"
|
||||
title="panelTitle"
|
||||
title="name"
|
||||
>
|
||||
<div class="titlediv">
|
||||
<var:string value="clientObject.davDisplayName" />
|
||||
</div>
|
||||
|
||||
<div class="embedwhite_out">
|
||||
<div class="embedwhite_in" style="height: 300px">
|
||||
<div style="padding: 8px;">
|
||||
<var:string label:value="Welcome to the SOGo Mailer. Use the folder tree on the left to browse your mail accounts!" />
|
||||
</div>
|
||||
<!--
|
||||
<h3>SOGo Mail - Available Accounts</h3>
|
||||
|
||||
<a rsrc:href="tbird_073_accountview.png">screenshot</a>
|
||||
-->
|
||||
<div id="mailboxContent" style="visibility: hidden;">
|
||||
</div>
|
||||
</div>
|
||||
</var:component>
|
||||
|
||||
<div id="mailboxDragHandle"
|
||||
style="visibility: hidden;"
|
||||
onmousedown="startHandleDragging(event);"
|
||||
onmousemove=""
|
||||
ondblclick="dragHandleDoubleClick(event);"
|
||||
upperblock="mailboxContent"
|
||||
lowerblock="messageContent">
|
||||
</div>
|
||||
|
||||
<div id="messageContent"
|
||||
style="top: 0px;">
|
||||
<div style="padding: 1em;">
|
||||
<var:string label:value="Welcome to the SOGo Mailer. Use the folder tree on the left to browse your mail accounts!" />
|
||||
</div>
|
||||
</div>
|
||||
</var:component>
|
||||
@@ -1,88 +1,89 @@
|
||||
<?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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailPanelFrame"
|
||||
title="panelTitle"
|
||||
>
|
||||
<script rsrc:src="layout2or3_xlib.js" > <!-- space required --></script>
|
||||
<div id="compose_panel">
|
||||
<var:if condition="showInternetMarker">
|
||||
<div id="compose_internetmarker">
|
||||
<var:string
|
||||
<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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="panelTitle"
|
||||
const:popup="YES"
|
||||
>
|
||||
<div id="compose_panel">
|
||||
<var:if condition="showInternetMarker">
|
||||
<div id="compose_internetmarker">
|
||||
<var:string
|
||||
label:value="This mail is being sent from an unsecure network!" />
|
||||
</div>
|
||||
</var:if>
|
||||
<table border="0" width="100%" id="compose_table">
|
||||
<tr>
|
||||
<td id="compose_leftside" var:style="initialLeftsideStyle">
|
||||
<div id="compose_fromline">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td class="compose_label" width="20%">
|
||||
<var:string label:value="From" />:
|
||||
</td>
|
||||
<td width="80%">
|
||||
<var:popup const:name="from" list="fromEMails" item="item"
|
||||
selection="from"
|
||||
const:style="width: 100%;"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</var:if>
|
||||
<table id="compose_table">
|
||||
<tr>
|
||||
<td id="compose_leftside" var:style="initialLeftsideStyle">
|
||||
<div id="compose_fromline">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="compose_label" width="20%">
|
||||
<var:string label:value="From" />:
|
||||
</td>
|
||||
<td width="80%">
|
||||
<var:popup const:name="from" list="fromEMails" item="item"
|
||||
selection="from"
|
||||
const:style="width: 100%;"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div id="compose_toselection">
|
||||
</div>
|
||||
|
||||
<div id="compose_toselection">
|
||||
<var:component className="UIxMailToSelection"
|
||||
to="to"
|
||||
cc="cc"
|
||||
bcc="bcc"
|
||||
/>
|
||||
</div>
|
||||
<!-- moved below to selection to make it look better -->
|
||||
<div id="compose_subject">
|
||||
<table border="0" width="100%">
|
||||
<tr>
|
||||
<td class="compose_label" width="20%">
|
||||
<var:string label:value="Subject" />:
|
||||
</td>
|
||||
<td width="80%"><input name="subject"
|
||||
id="compose_subject_input"
|
||||
type="text"
|
||||
var:value="subject"
|
||||
/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</td>
|
||||
<td id="compose_rightside" var:style="initialRightsideStyle">
|
||||
<div id="compose_attachments">
|
||||
<div id="compose_attachments_header">
|
||||
<span class="compose_label"
|
||||
><var:string label:value="Attachments" />:</span>
|
||||
<!--<a href="#"
|
||||
onclick="hideInlineAttachmentList(this);"
|
||||
><var:string label:value="close" /></a>-->
|
||||
to="to"
|
||||
cc="cc"
|
||||
bcc="bcc"
|
||||
/>
|
||||
</div>
|
||||
<div id="compose_attachments_list"
|
||||
onclick="clickedEditorAttach(this);"
|
||||
>
|
||||
<var:foreach list="attachmentNames" item="attachmentName">
|
||||
<var:string value="attachmentName" /><br />
|
||||
</var:foreach>
|
||||
<!-- moved below to selection to make it look better -->
|
||||
<div id="compose_subject">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="compose_label" width="20%">
|
||||
<var:string label:value="Subject" />:
|
||||
</td>
|
||||
<td width="80%"><input name="subject"
|
||||
id="compose_subject_input"
|
||||
type="text"
|
||||
var:value="subject"
|
||||
/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- separator line -->
|
||||
<div id="compose_text">
|
||||
<textarea name="content" var:value="text" />
|
||||
</div>
|
||||
</td>
|
||||
<td id="compose_rightside" var:style="initialRightsideStyle">
|
||||
<div id="compose_attachments">
|
||||
<div id="compose_attachments_header">
|
||||
<span class="compose_label"
|
||||
><var:string label:value="Attachments" />:</span>
|
||||
<!--<a href="#"
|
||||
onclick="hideInlineAttachmentList(this);"
|
||||
><var:string label:value="close" /></a>-->
|
||||
</div>
|
||||
<div id="compose_attachments_list"
|
||||
onclick="clickedEditorAttach(this);"
|
||||
>
|
||||
<var:foreach list="attachmentNames" item="attachmentName">
|
||||
<var:string value="attachmentName" /><br />
|
||||
</var:foreach>
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<!-- separator line -->
|
||||
<div id="compose_text">
|
||||
<textarea name="content" var:value="text" />
|
||||
</div>
|
||||
|
||||
<!-- img rsrc:src="tbird_073_compose.png" alt="screenshot" / -->
|
||||
</div>
|
||||
</var:component>
|
||||
<!-- img rsrc:src="tbird_073_compose.png" alt="screenshot" / -->
|
||||
</div>
|
||||
</var:component>
|
||||
@@ -4,56 +4,47 @@
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
>
|
||||
|
||||
<div class="menu" id="searchMenu">
|
||||
<ul id="searchOptions">
|
||||
<li id="subject"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="Subject"/></li>
|
||||
<li id="sender"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="Sender"/></li>
|
||||
<li id="subject_or_sender"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="Subject or Sender"/></li>
|
||||
<li id="to_or_cc"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="To or Cc"/></li>
|
||||
<li id="entire_message"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="Entire Message"/></li>
|
||||
<li id="find_in_message"
|
||||
onmousedown="return false;"
|
||||
onclick="setSearchCriteria(event);"><var:string label:value="Find In Message"/></li>
|
||||
<li id="subject"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="Subject"/></li>
|
||||
<li id="sender"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="Sender"/></li>
|
||||
<li id="subject_or_sender"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="Subject or Sender"/></li>
|
||||
<li id="to_or_cc"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="To or Cc"/></li>
|
||||
<li id="entire_message"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="Entire Message"/></li>
|
||||
<li id="find_in_message"
|
||||
onmousedown="return false;"
|
||||
onmouseup="setSearchCriteria(event);"><var:string label:value="Find In Message"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<span class="searchBox" style="float: right">
|
||||
<input id="searchCriteria" name="criteria" type="hidden" var:value="searchCriteria" />
|
||||
<input id="searchValue" onmousedown="onSearchMouseDown(event);" onclick="popupSearchMenu(event, 'searchMenu');" autocomplete="off" name="search" type="text" var:value="searchText" onchange="onSearchChange();" onblur="onSearchBlur();" onfocus="onSearchFocus(event);" />
|
||||
</span>
|
||||
<div id="filterPanel">
|
||||
<var:if condition="hideFrame" const:negate="YES"
|
||||
><span class="searchBox" style="float: right">
|
||||
<input id="searchCriteria" name="criteria" type="hidden" var:value="searchCriteria" />
|
||||
<input id="searchValue" onmousedown="onSearchMouseDown(event);" onclick="popupSearchMenu(event, 'searchMenu');" autocomplete="off" name="search" type="text" var:value="searchText" onchange="onSearchChange();" onblur="onSearchBlur();" onfocus="onSearchFocus(event);" />
|
||||
</span>
|
||||
|
||||
<script type="text/javascript">
|
||||
initCriteria();
|
||||
document.pageform.search.focus();
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
initCriteria();
|
||||
document.pageform.search.focus();
|
||||
</script>
|
||||
</var:if>
|
||||
|
||||
<var:string label:value="View" />:
|
||||
<var:popup list="filters"
|
||||
item="filter" string="filterLabel" value="filter"
|
||||
selection="selectedFilter"
|
||||
const:name="filterpopup"
|
||||
const:onchange="document.pageform.submit()" />
|
||||
<!--
|
||||
autocomplete="off"
|
||||
onkeypress="ml_searchFieldKeyPressed(this)"
|
||||
onfocus="ml_activateSearchField(this, 500)"
|
||||
onblur="ml_deactivateSearchField(this)" />
|
||||
-->
|
||||
</span>
|
||||
</var:if>
|
||||
<var:string label:value="View" />:
|
||||
<var:popup list="filters"
|
||||
item="filter" string="filterLabel" value="filter"
|
||||
selection="selectedFilter"
|
||||
const:name="filterpopup"
|
||||
const:onchange="document.pageform.submit()" />
|
||||
</var:if>
|
||||
</div>
|
||||
</container>
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
<?xml version='1.0' standalone='yes'?>
|
||||
<container 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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailFolderMenu"
|
||||
title="panelTitle"
|
||||
>
|
||||
|
||||
<div class="menu" var:id="menuId">
|
||||
<ul id="">
|
||||
<var:foreach list="levelledNodes" item="item"
|
||||
><var:if condition="item.hasChildren" const:negate="YES"
|
||||
><li onmouseup="processMailboxMenuAction(this);" var:mailboxname="item.name"><img var:src="iconForMenuItem" /><var:string value="item.title" /></li>
|
||||
</var:if
|
||||
><var:if condition="item.hasChildren"
|
||||
><li
|
||||
class="submenu"
|
||||
var:submenu="item.folderMenuId"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><img var:src="iconForMenuItem" /><var:string value="item.title" /></li>
|
||||
</var:if
|
||||
></var:foreach
|
||||
></ul>
|
||||
|
||||
<var:foreach list="levelledNodes" item="item"
|
||||
><var:if condition="item.hasChildren"
|
||||
><var:component
|
||||
className="UIxMailFolderMenu"
|
||||
var:menuId="item.folderMenuId"
|
||||
var:parentMenu="item.serialAsString"
|
||||
rootClassName="treeRootClassName"
|
||||
const:treeFolderAction="view"
|
||||
/></var:if
|
||||
></var:foreach>
|
||||
</div>
|
||||
</container>
|
||||
@@ -6,282 +6,174 @@
|
||||
xmlns:uix="OGo:uix"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="panelTitle"
|
||||
hideFrame="hideFrame"
|
||||
className="UIxMailListViewContainer"
|
||||
title="name"
|
||||
>
|
||||
<var:component className="UIxMailFilterPanel" qualifier="qualifier" />
|
||||
<var:string value="patate" />
|
||||
|
||||
<div class="menu" id="messageListMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
var:onclick="clickedMsgJS"><var:string label:value="Open Message In New Window"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Reply to Sender Only"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Reply to All"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Forward"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Edit As New..."/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Move To"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Copy To"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="label-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Label"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="mark-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Mark"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Save As..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Print Preview"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Print..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onclick=""><var:string label:value="Delete Message"/></li>
|
||||
</ul>
|
||||
<table multiselect="yes" id="messageList"
|
||||
onselectionchange="onMessageSelectionChange();">
|
||||
<thead>
|
||||
<tr class="tableview"
|
||||
><td class="tbtv_headercell"
|
||||
><var:entity const:name="nbsp"
|
||||
/></td
|
||||
><td class="tbtv_headercell">
|
||||
<img rsrc:src="title_attachment_14x14.png" width="14"
|
||||
height="14"
|
||||
/></td
|
||||
><td class="tbtv_headercell tbtv_subject_headercell"
|
||||
><var:component className="UIxMailSortableTableHeader"
|
||||
label:label="Subject"
|
||||
const:sortKey="subject"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/></td
|
||||
><td class="tbtv_headercell"
|
||||
><var:if condition="showToAddress" const:negate="YES"
|
||||
><var:component className="UIxMailSortableTableHeader"
|
||||
label:label="From"
|
||||
const:sortKey="from"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/></var:if
|
||||
><var:if condition="showToAddress"
|
||||
><var:component className="UIxMailSortableTableHeader"
|
||||
label:label="To"
|
||||
const:sortKey="to"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/></var:if
|
||||
></td
|
||||
><td class="tbtv_headercell"
|
||||
><img rsrc:src="title_read_14x14.png" width="14" height="14"
|
||||
/></td
|
||||
><td class="tbtv_headercell"
|
||||
><var:component className="UIxMailSortableTableHeader"
|
||||
label:label="Date"
|
||||
const:sortKey="date"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
const:isDefault="YES"
|
||||
/></td
|
||||
></tr>
|
||||
<var:if condition="showsAllMessages" const:negate="YES"
|
||||
><tr class="tableview"
|
||||
><td colspan="6" class="tbtv_navcell" align="right"
|
||||
><var:if condition="hasPrevious">
|
||||
<a href="#"
|
||||
onclick="openMailboxAtIndex(this);"
|
||||
idx="1"><var:string label:value="first"/></a> |
|
||||
<a href="#"
|
||||
onclick="openMailboxAtIndex(this);"
|
||||
var:idx="prevFirstMessageNumber"
|
||||
><var:string label:value="previous"/></a> |
|
||||
</var:if>
|
||||
|
||||
<var:string value="firstMessageNumber"/>
|
||||
<var:string label:value="msgnumber_to" />
|
||||
<var:string value="lastMessageNumber"/>
|
||||
<var:string label:value="msgnumber_of" />
|
||||
<var:string value="sortedUIDs.count" />
|
||||
|
||||
<var:if condition="hasNext">
|
||||
| <a href="#"
|
||||
onclick="openMailboxAtIndex(this);"
|
||||
var:idx="nextFirstMessageNumber"
|
||||
><var:string label:value="next" /></a>
|
||||
</var:if>
|
||||
</td
|
||||
></tr
|
||||
></var:if>
|
||||
</thead>
|
||||
|
||||
<div class="menu" id="mailboxes-menu">
|
||||
<ul id="">
|
||||
<li onmousedown="return false;">really</li>
|
||||
<li onmousedown="return false;">is</li>
|
||||
<li onmousedown="return false;">a</li>
|
||||
<li onmousedown="return false;">dumb dummy!</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="menu" id="label-menu">
|
||||
<ul id="">
|
||||
<li onmousedown="return false;"><var:string label:value="None" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Important" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Work" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Personal" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="To Do" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Later" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="menu" id="mark-menu">
|
||||
<ul id="">
|
||||
<li onmousedown="return false;"><var:string label:value="As Read" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Thread As Read" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="As Read By Date..." /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="All Read" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Flag" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"><var:string label:value="As Junk" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="As Not Junk" /></li>
|
||||
<li onmousedown="return false;"><var:string label:value="Run Junk Mail Controls" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<tbody>
|
||||
<var:foreach list="messages" item="message"
|
||||
><tr class="tableview" var:id="msgRowID"
|
||||
onclick="return onRowClick(event);"
|
||||
oncontextmenu="onMenuClick(event, 'messageListMenu'); onRowClick(event); return false;"
|
||||
><td onmousedown="return false;"
|
||||
></td
|
||||
><td onmousedown="return false;"
|
||||
><var:if condition="hasMessageAttachment"
|
||||
><img rsrc:src="title_attachment_14x14.png"
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td
|
||||
onmousedown="return false;"
|
||||
var:class="messageSubjectCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
var:id="msgDivID"
|
||||
><var:string value="message.envelope.subject"
|
||||
formatter="context.mailSubjectFormatter"
|
||||
/></td
|
||||
|
||||
<div id="mailboxContent" oncontextmenu="return false;">
|
||||
<var:component className="UIxMailFilterPanel" qualifier="qualifier"
|
||||
hideFrame="hideFrame" />
|
||||
|
||||
<table multiselect="yes" id="messageList" oncontextmenu="return false;">
|
||||
<thead>
|
||||
<tr class="tableview">
|
||||
<td class="tbtv_headercell" width="17">
|
||||
<var:entity const:name="nbsp" />
|
||||
</td>
|
||||
<td class="tbtv_headercell" width="17">
|
||||
<img rsrc:src="title_attachment_14x14.png" width="14" height="14" />
|
||||
</td>
|
||||
<td class="tbtv_headercell" width="50%">
|
||||
<var:component className="UIxMailSortableTableHeader"
|
||||
label:label="Subject"
|
||||
const:sortKey="subject"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/>
|
||||
</td>
|
||||
<td class="tbtv_headercell">
|
||||
<var:if condition="showToAddress" const:negate="YES">
|
||||
<var:component className="UIxMailSortableTableHeader"
|
||||
label:label="From"
|
||||
const:sortKey="from"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/>
|
||||
</var:if>
|
||||
<var:if condition="showToAddress">
|
||||
<var:component className="UIxMailSortableTableHeader"
|
||||
label:label="To"
|
||||
const:sortKey="to"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
/>
|
||||
</var:if>
|
||||
</td>
|
||||
<td class="tbtv_headercell" width="17">
|
||||
<img rsrc:src="title_read_14x14.png" width="14" height="14" />
|
||||
</td>
|
||||
<td class="tbtv_headercell">
|
||||
<var:component className="UIxMailSortableTableHeader"
|
||||
label:label="Date"
|
||||
const:sortKey="date"
|
||||
const:href="view"
|
||||
var:queryDictionary="context.request.formValues"
|
||||
const:isDefault="YES"
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="tableview">
|
||||
<td colspan="6" class="tbtv_navcell" align="right">
|
||||
<var:if condition="showsAllMessages">
|
||||
<var:string value="sortedUIDs.count" />
|
||||
<var:string label:value="messages" />
|
||||
</var:if>
|
||||
|
||||
<var:if condition="showsAllMessages" const:negate="YES">
|
||||
<var:if condition="hasPrevious">
|
||||
<a href="view"
|
||||
_idx="1"
|
||||
var:queryDictionary="queryParameters"
|
||||
><var:string label:value="first"/></a> |
|
||||
<a href="view"
|
||||
var:_idx="prevFirstMessageNumber"
|
||||
var:queryDictionary="queryParameters"
|
||||
><var:string label:value="previous"/></a> |
|
||||
</var:if>
|
||||
|
||||
<var:string value="firstMessageNumber"/>
|
||||
<var:string label:value="msgnumber_to" />
|
||||
<var:string value="lastMessageNumber"/>
|
||||
<var:string label:value="msgnumber_of" />
|
||||
<var:string value="sortedUIDs.count" />
|
||||
|
||||
<var:if condition="hasNext">
|
||||
| <a href="view"
|
||||
var:_idx="nextFirstMessageNumber"
|
||||
var:queryDictionary="queryParameters"
|
||||
><var:string label:value="next" /></a>
|
||||
</var:if>
|
||||
</var:if>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody oncontextmenu="return false;">
|
||||
<var:foreach list="messages" item="message">
|
||||
<tr class="tableview" var:id="msgRowID"
|
||||
onmousedown="return false;"
|
||||
onclick="onRowClick(event);"
|
||||
oncontextmenu="onMenuClick(event, 'messageListMenu'); onRowClick(event); return false;">
|
||||
<td>
|
||||
<!-- this seems to break on Safari, it treats name==id? -->
|
||||
</td>
|
||||
<!-- the td:onlick doesn't work on Safari -->
|
||||
<td>
|
||||
<var:if condition="hasMessageAttachment">
|
||||
<img rsrc:src="title_attachment_14x14.png" />
|
||||
</var:if>
|
||||
</td>
|
||||
|
||||
<td
|
||||
var:class="messageSubjectCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
var:id="msgDivID">
|
||||
<!-- div var:class="messageSubjectStyleClass" var:id="msgDivID" -->
|
||||
<!-- removed anker (resulted in two clicks on Moz -->
|
||||
<!-- a href="#" var:ondblclick="clickedMsgJS" -->
|
||||
<!-- Note: var:href="messageViewURL" (done by JS),
|
||||
var:target="messageViewTarget" -->
|
||||
<var:string value="message.envelope.subject"
|
||||
formatter="context.mailSubjectFormatter"/>
|
||||
<!-- /a -->
|
||||
</td>
|
||||
<td var:class="messageCellStyleClass" var:ondblclick="clickedMsgJS">
|
||||
<!-- TODO: show compose links -->
|
||||
<!-- TODO: different color for internal vs external addrs -->
|
||||
<var:if condition="showToAddress" const:negate="YES">
|
||||
<var:string value="message.envelope.from"
|
||||
formatter="context.mailEnvelopeAddressFormatter" />
|
||||
</var:if>
|
||||
<var:if condition="showToAddress">
|
||||
<var:string value="message.envelope.to"
|
||||
formatter="context.mailEnvelopeAddressFormatter" />
|
||||
</var:if>
|
||||
</td>
|
||||
|
||||
<td var:class="messageCellStyleClass">
|
||||
<var:if condition="isMessageRead">
|
||||
<img rsrc:src="icon_read.gif"
|
||||
class="mailerReadIcon"
|
||||
var:onclick="markUnreadJS"
|
||||
label:title="Mark Unread"
|
||||
var:id="msgIconReadImgID" />
|
||||
</var:if>
|
||||
<var:if condition="isMessageRead" const:negate="YES">
|
||||
<img rsrc:src="icon_unread.gif"
|
||||
class="mailerUnreadIcon"
|
||||
var:onclick="markReadJS"
|
||||
label:title="Mark Read"
|
||||
var:id="msgIconUnreadImgID" />
|
||||
</var:if>
|
||||
</td>
|
||||
|
||||
<td var:class="messageCellStyleClass" var:ondblclick="clickedMsgJS">
|
||||
<span class="mailer_datefield">
|
||||
<var:string value="message.envelope.date"
|
||||
formatter="context.mailDateFormatter"/>
|
||||
</span>
|
||||
<entity name="nbsp" />
|
||||
</td>
|
||||
</tr>
|
||||
</var:foreach>
|
||||
|
||||
<tr class="tableview">
|
||||
<td colspan="6" class="tbtv_actcell">
|
||||
<!-- TODO: fix used tree, treeNavigationNodes is the _wrong_ choice
|
||||
<var:component className="UIxMailMoveToPopUp"
|
||||
const:identifier="moveto"
|
||||
const:callback="moveTo"
|
||||
rootNodes="clientObject.treeNavigationNodes"
|
||||
/>
|
||||
-->
|
||||
<!-- enable once we have buttons and functionality to actually move sth #1211
|
||||
<var:popup const:name="moveto" const:id="moveto"
|
||||
list="clientObject.mailAccountFolder.allFolderPathes"
|
||||
item="item" value="item" displayString="item" />
|
||||
-->
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<span id="selected_uids" style="visibility: hidden;">
|
||||
</span>
|
||||
|
||||
</div>
|
||||
><td
|
||||
onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
><var:if condition="showToAddress" const:negate="YES"
|
||||
><var:string value="message.envelope.from"
|
||||
formatter="context.mailEnvelopeAddressFormatter"
|
||||
/></var:if
|
||||
><var:if condition="showToAddress"
|
||||
><var:string value="message.envelope.to"
|
||||
formatter="context.mailEnvelopeAddressFormatter"
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
><var:if condition="isMessageRead"
|
||||
><img rsrc:src="icon_read.gif"
|
||||
class="mailerReadIcon"
|
||||
var:onclick="markUnreadJS"
|
||||
label:title="Mark Unread"
|
||||
var:id="msgIconReadImgID"
|
||||
/></var:if
|
||||
><var:if condition="isMessageRead" const:negate="YES"
|
||||
><img rsrc:src="icon_unread.gif"
|
||||
class="mailerUnreadIcon"
|
||||
var:onclick="markReadJS"
|
||||
label:title="Mark Read"
|
||||
var:id="msgIconUnreadImgID"
|
||||
/></var:if
|
||||
></td
|
||||
|
||||
><td onmousedown="return false;"
|
||||
var:class="messageCellStyleClass"
|
||||
var:ondblclick="clickedMsgJS"
|
||||
><span class="mailer_datefield"
|
||||
><var:string value="message.envelope.date"
|
||||
formatter="context.mailDateFormatter"
|
||||
/></span
|
||||
><entity name="nbsp"
|
||||
/></td
|
||||
></tr>
|
||||
</var:foreach>
|
||||
</tbody>
|
||||
</table>
|
||||
<script type="text/javascript">
|
||||
registerDraggableMessageNodes();
|
||||
</script>
|
||||
<!--
|
||||
<tr class="tableview">
|
||||
<td colspan="6" class="tbtv_actcell">
|
||||
<! TODO: fix used tree, treeNavigationNodes is the _wrong_ choice
|
||||
<var:component className="UIxMailMoveToPopUp"
|
||||
const:identifier="moveto"
|
||||
const:callback="moveTo"
|
||||
rootNodes="clientObject.treeNavigationNodes"
|
||||
/>
|
||||
>
|
||||
<! enable once we have buttons and functionality to actually move sth #1211
|
||||
<var:popup const:name="moveto" const:id="moveto"
|
||||
list="clientObject.mailAccountFolder.allFolderPathes"
|
||||
item="item" value="item" displayString="item" />
|
||||
->
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
</var:component>
|
||||
@@ -0,0 +1,38 @@
|
||||
<?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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="name"
|
||||
>
|
||||
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<div id="mailboxContent">
|
||||
<var:component-content/>
|
||||
</div>
|
||||
|
||||
<div id="mailboxDragHandle"
|
||||
onmousedown="startHandleDragging(event);"
|
||||
onmousemove=""
|
||||
ondblclick="dragHandleDoubleClick(event);"
|
||||
upperblock="mailboxContent"
|
||||
lowerblock="messageContent">
|
||||
</div>
|
||||
|
||||
<div id="messageContent">
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
initMailboxSelection('<var:string value="mailFolderName" />');
|
||||
initMailboxAppearance();
|
||||
</script>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="hideFrame">
|
||||
<var:component-content/>
|
||||
</var:if>
|
||||
</var:component>
|
||||
@@ -1,103 +1,344 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<container xmlns="http://www.w3.org/1999/xhtml"
|
||||
<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:rsrc="OGo:url"
|
||||
xmlns:uix="OGo:uix"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxPageFrame"
|
||||
title="title"
|
||||
popup="isPopup"
|
||||
>
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
>
|
||||
<head>
|
||||
<title>
|
||||
<var:string value="title"/>
|
||||
</title>
|
||||
|
||||
<meta name="templatename" content="UIXMailMainFrame.wox"/>
|
||||
<meta name="description" content="SOGo Web Interface"/>
|
||||
<meta name="author" content="SKYRIX Software AG"/>
|
||||
<meta name="robots" content="stop"/>
|
||||
|
||||
<script rsrc:src="generic.js"> <!-- space required --></script>
|
||||
<script rsrc:src="mailer.js" > <!-- space required --></script>
|
||||
<div class="menu" id="accountIconMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Subscribe..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Get Messages for Account" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="New Folder..." /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Search Messages..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Properties..." /></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<var:if condition="hasProductSpecificJavaScript">
|
||||
<script var:src="productJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
<var:if condition="hasPageSpecificJavaScript">
|
||||
<script var:src="pageJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
<div class="menu" id="inboxIconMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Open in New Mail Window" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Copy Folder Location" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Subscribe..." /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Mark Folder Read..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="New Folder..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Compact This Folder" /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Search Messages..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Properties..." /></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="menu" id="trashIconMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Open in New Mail Window" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Copy Folder Location" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Subscribe..." /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Mark Folder Read..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="New Subfolder..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Compact This Folder" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Empty Trash" /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Search Messages..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Properties..." /></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="uix.css"/>
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="mailer.css"/>
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="mailer-toolbar.css"/>
|
||||
<div class="menu" id="mailboxIconMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Open in New Mail Window" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Copy Folder Location" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Subscribe..." /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Mark Folder Read..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="New Subfolder..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Rename Folder..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Compact This Folder" /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Delete Folder" /></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Search Messages..." /></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="return false;"><var:string label:value="Properties..." /></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<link href="mailto:info@skyrix.com" rev="made"/>
|
||||
</head>
|
||||
<div class="menu" id="addressMenu">
|
||||
<ul id="sourceList">
|
||||
<li id="add_to_addressbook"
|
||||
onmousedown="return false;"
|
||||
onmouseup="newContactFromEmail(this);"><var:string label:value="Add to Address Book..."/></li>
|
||||
<li id="compose_mailto"
|
||||
onmousedown="return false;"
|
||||
onmouseup="newEmailTo(this);"><var:string label:value="Compose Mail To"/></li>
|
||||
<li id="create_filter"
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuEntryClick(this, event);"><var:string label:value="Create Filter From Message..."/></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<body oncontextmenu="return false;">
|
||||
<!--
|
||||
Note: the 'href' is required, otherwise an element-id will get created
|
||||
-->
|
||||
<var:if condition="showLinkBanner">
|
||||
<div class="linkbanner">
|
||||
<!-- span style="float: left" -->
|
||||
<a var:href="relativeHomePath"
|
||||
><var:string label:value="Home" /></a> |
|
||||
<a var:href="relativeCalendarPath"
|
||||
><var:string label:value="Calendar" /></a> |
|
||||
<a var:href="relativeContactsPath"
|
||||
><var:string label:value="Addressbook" /></a> |
|
||||
<a var:href="relativeMailPath"
|
||||
><var:string label:value="Mail" /></a> |
|
||||
<a var:href="logoffPath"
|
||||
><var:string label:value="Logoff" /></a> |
|
||||
<a href="http://to.be.done/"
|
||||
><var:string label:value="Right Administration" /></a>
|
||||
</div>
|
||||
</var:if>
|
||||
<div class="menu" id="messageListMenu">
|
||||
<ul id="sourceList">
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuOpenMessage(event);"><var:string label:value="Open Message In New Window"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuReplyToSender(event);"><var:string label:value="Reply to Sender Only"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuReplyToAll(event);"><var:string label:value="Reply to All"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuForwardMessage(event);"><var:string label:value="Forward"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuEditMessageAsNew(event);"><var:string label:value="Edit As New..."/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
class="submenu"
|
||||
mailboxaction="move"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Move To"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
mailboxaction="copy"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Copy To"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="label-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Label"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="mark-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Mark"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuSaveMessageAs(event);"><var:string label:value="Save As..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuPreviewPrintMessage(event);"><var:string label:value="Print Preview"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuPrintMessage(event);"><var:string label:value="Print..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuDeleteMessage(event);"><var:string label:value="Delete Message"/></li>
|
||||
</ul>
|
||||
|
||||
<var:component className="UIxToolbar" />
|
||||
<div class="menu" id="messageContentMenu">
|
||||
<ul>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuReplyToSender(event);"><var:string label:value="Reply to Sender Only"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuReplyToAll(event);"><var:string label:value="Reply to All"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuForwardMessage(event);"><var:string label:value="Forward"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuEditMessageAsNew(event);"><var:string label:value="Edit As New..."/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
mailboxaction="move"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Move To"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
mailboxaction="copy"
|
||||
submenu="mailboxes-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Copy To"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="label-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Label"/></li>
|
||||
<li
|
||||
class="submenu"
|
||||
submenu="mark-menu"
|
||||
onmouseover="dropDownSubmenu(event);"
|
||||
onmousedown="return false;"><var:string label:value="Mark"/></li>
|
||||
<li class="separator"></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuSaveMessageAs(event);"><var:string label:value="Save As..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuPreviewPrintMessage(event);"><var:string label:value="Print Preview"/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuPrintMessage(event);"><var:string label:value="Print..."/></li>
|
||||
<li
|
||||
onmousedown="return false;"
|
||||
onmouseup="onMenuDeleteMessage(event);"><var:string label:value="Delete Message"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<form name="pageform" var:href="pageFormURL" _wosid="0">
|
||||
<div class="menu" id="label-menu">
|
||||
<ul id="">
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLabelMessage(event, 'none');"><var:string label:value="None" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLabelMessage(event, 'important);"><var:string label:value="Important" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLabelMessage(event, 'work');"><var:string label:value="Work" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLabelMessage(event, 'personal');"><var:string label:value="Personal" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLabelMessage(event, 'todo');"><var:string label:value="To Do" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuLab-elMessage(event, 'later');"><var:string label:value="Later" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="folderTree" id="mailerFolderTree">
|
||||
<var:if condition="hideFolderTree">
|
||||
<var:component-content/>
|
||||
</var:if>
|
||||
<var:component
|
||||
className="UIxMailFolderMenu"
|
||||
const:menuId="mailboxes-menu"
|
||||
const:parentMenu="0"
|
||||
rootClassName="treeRootClassName"
|
||||
const:treeFolderAction="view"
|
||||
/>
|
||||
|
||||
<var:if condition="hideFolderTree" const:negate="YES">
|
||||
<div class="titlediv"><var:string label:value="Folders" /></div>
|
||||
<var:component className="UIxMailTree"
|
||||
rootClassName="treeRootClassName"
|
||||
const:treeFolderAction="view"
|
||||
/>
|
||||
</var:if>
|
||||
</div>
|
||||
<div class="menu" id="mark-menu">
|
||||
<ul id="">
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'read');"><var:string label:value="As Read" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'threadread');"><var:string label:value="Thread As Read" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'readbydate);"><var:string label:value="As Read By Date..." /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'allread);"><var:string label:value="All Read" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'flag);"><var:string label:value="Flag" /></li>
|
||||
<li class="separator"></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'junk);"><var:string label:value="As Junk" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'notjunk);"><var:string label:value="As Not Junk" /></li>
|
||||
<li onmousedown="return false;"
|
||||
onmouseup="onMenuMarkMessage(event, 'runjunkmailcontrols);"><var:string label:value="Run Junk Mail Controls" /></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="dragHandle"
|
||||
onmousedown="startHandleDragging(event);"
|
||||
onmousemove=""
|
||||
ondblclick="dragHandleDoubleClick(event);"
|
||||
leftblock="mailerFolderTree"
|
||||
rightblock="mailerPageContent">
|
||||
</div>
|
||||
<form name="pageform" var:href="pageFormURL" _wosid="0" onsubmit="checkSearchValue(event);">
|
||||
<var:if condition="isPopup" const:negate="YES">
|
||||
<var:if condition="hideFolderTree" const:negate="YES">
|
||||
<div class="folderTree" id="mailerFolderTree">
|
||||
<div class="titlediv"><var:string label:value="Folders" /></div>
|
||||
<var:component className="UIxMailTree"
|
||||
rootClassName="treeRootClassName"
|
||||
const:treeFolderAction="view"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="dragHandle"
|
||||
onmousedown="startHandleDragging(event);"
|
||||
onmousemove=""
|
||||
ondblclick="dragHandleDoubleClick(event);"
|
||||
leftblock="mailerFolderTree"
|
||||
rightblock="mailerPageContent">
|
||||
</div>
|
||||
</var:if>
|
||||
|
||||
<div class="mailPageContent" id="mailerPageContent">
|
||||
<var:component-content/>
|
||||
</div>
|
||||
</form>
|
||||
<div id="mailerPageContent">
|
||||
<var:component-content/>
|
||||
</div>
|
||||
</var:if>
|
||||
|
||||
<var:string value="errorAlertJavaScript" const:escapeHTML="NO" />
|
||||
</body>
|
||||
</html>
|
||||
<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>
|
||||
</container>
|
||||
</var:component>
|
||||
@@ -23,4 +23,4 @@
|
||||
</var:foreach>
|
||||
|
||||
<option value="all" disabled="1" >All</option>
|
||||
</select>
|
||||
</select>
|
||||
@@ -12,11 +12,11 @@
|
||||
</script>
|
||||
<script language="JavaScript" rsrc:src="UIxMailToSelection.js"> <!-- Space! --></script>
|
||||
|
||||
<table id="addr_table" style="width: 100%;">
|
||||
<table id="addr_table">
|
||||
<var:foreach list="addressLists" item="addressList">
|
||||
<var:foreach list="addressList" item="address">
|
||||
<tr var:id="currentRowId">
|
||||
<td width="20%">
|
||||
<td>
|
||||
<var:popup name="currentPopUpId"
|
||||
list="headers"
|
||||
item="item"
|
||||
@@ -25,7 +25,7 @@
|
||||
const:style="width: 100%;"
|
||||
/>
|
||||
</td>
|
||||
<td width="80%">
|
||||
<td>
|
||||
<input var:id="currentAddressId"
|
||||
var:name="currentAddressId"
|
||||
type="text"
|
||||
@@ -40,13 +40,13 @@
|
||||
</var:foreach>
|
||||
</var:foreach>
|
||||
<tr id="row_last">
|
||||
<td width="20%">
|
||||
<td>
|
||||
<!-- todo: use stylesheet? -->
|
||||
<select style="width: 100%;" disabled="1">
|
||||
<option value="to" ><var:string label:value="to" />:</option>
|
||||
</select>
|
||||
</td>
|
||||
<td width="80%">
|
||||
<td>
|
||||
<!-- todo: use stylesheet? -->
|
||||
<input onfocus="fancyAddRow(true,'');" type="text"
|
||||
style="width: 100%;" />
|
||||
@@ -58,4 +58,4 @@
|
||||
</var:if>-->
|
||||
<span id="addr_addresses" style="visibility: hidden;"><var:foreach list="addressLists" item="addressList"><var:foreach list="addressList" item="address"><span var:id="address" /></var:foreach></var:foreach>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
@@ -1,39 +1,72 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<div class="folderTreeContent"
|
||||
<div id="folderTreeContent"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label">
|
||||
<!-- TODO: extend treeview to use CSS -->
|
||||
<var:treeview
|
||||
list="rootNodes" item="item" sublist="item.children"
|
||||
zoom="item.isPathNode"
|
||||
const:iconWidth = "17"
|
||||
const:plusIcon = "tbtv_plus_17x17.gif"
|
||||
const:minusIcon = "tbtv_minus_17x17.gif"
|
||||
const:lineIcon = "tbtv_line_17x17.gif"
|
||||
const:cornerIcon = "tbtv_corner_17x17.gif"
|
||||
const:junctionIcon = "tbtv_junction_17x17.gif"
|
||||
const:leafIcon = "tbtv_leaf_corner_17x17.gif"
|
||||
const:leafCornerIcon = "tbtv_leaf_corner_17x17.gif"
|
||||
const:cornerPlusIcon = "tbtv_corner_plus_17x17.gif"
|
||||
const:cornerMinusIcon = "tbtv_corner_minus_17x17.gif"
|
||||
const:spaceIcon = "tbtv_space_17x17.gif"
|
||||
>
|
||||
<var:tree-data const:isTreeElement="YES" const:treeLink=""
|
||||
var:icon="item.iconName"
|
||||
var:cornerIcon="item.iconName">
|
||||
<a var:href="item.link">
|
||||
<span class="treecell">
|
||||
<var:if condition="item.isActiveNode">
|
||||
<b><var:string value="item.title" /></b>
|
||||
</var:if>
|
||||
<var:if condition="item.isActiveNode" const:negate="YES">
|
||||
<var:string value="item.title" />
|
||||
</var:if>
|
||||
</span>
|
||||
</a>
|
||||
</var:tree-data>
|
||||
</var:treeview>
|
||||
|
||||
<script type="text/javascript" rsrc:src="dtree.js"> <!-- space --></script>
|
||||
<script type="text/javascript">
|
||||
d = new dTree('d');
|
||||
d.config.folderLlinks = true;
|
||||
d.config.hideRoot = true;
|
||||
|
||||
d.icon.root = '<var:string rsrc:value="tbtv_account_17x17.gif" />';
|
||||
d.icon.folder = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
|
||||
d.icon.folderOpen = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
|
||||
d.icon.node = '<var:string rsrc:value="tbtv_leaf_corner_17x17.gif" />';
|
||||
d.icon.line = '<var:string rsrc:value="tbtv_line_17x17.gif" />';
|
||||
d.icon.join = '<var:string rsrc:value="tbtv_junction_17x17.gif" />';
|
||||
d.icon.joinBottom = '<var:string rsrc:value="tbtv_corner_17x17.gif" />';
|
||||
d.icon.plus = '<var:string rsrc:value="tbtv_plus_17x17.gif" />';
|
||||
d.icon.plusBottom = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
|
||||
d.icon.minus = '<var:string rsrc:value="tbtv_minus_17x17.gif" />';
|
||||
d.icon.minusBottom = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
|
||||
d.icon.nlPlus = '<var:string rsrc:value="tbtv_corner_plus_17x17.gif" />';
|
||||
d.icon.nlMinus = '<var:string rsrc:value="tbtv_corner_minus_17x17.gif" />';
|
||||
d.icon.empty = '<var:string rsrc:value="empty.gif" />';
|
||||
|
||||
d.add(0, -1, '');
|
||||
<var:foreach list="flattenedNodes" item="item"
|
||||
><var:component className="UIxMailTreeBlockJS"
|
||||
const:treeObjectName="d"
|
||||
var:item="item"
|
||||
/></var:foreach>
|
||||
document.write(d);
|
||||
</script>
|
||||
<noscript>
|
||||
<var:treeview
|
||||
list="rootNodes" item="item" sublist="item.children"
|
||||
zoom="item.isPathNode"
|
||||
const:iconWidth = "17"
|
||||
const:plusIcon = "tbtv_plus_17x17.gif"
|
||||
const:minusIcon = "tbtv_minus_17x17.gif"
|
||||
const:lineIcon = "tbtv_line_17x17.gif"
|
||||
const:cornerIcon = "tbtv_corner_17x17.gif"
|
||||
const:junctionIcon = "tbtv_junction_17x17.gif"
|
||||
const:leafIcon = "tbtv_leaf_corner_17x17.gif"
|
||||
const:leafCornerIcon = "tbtv_leaf_corner_17x17.gif"
|
||||
const:cornerPlusIcon = "tbtv_corner_plus_17x17.gif"
|
||||
const:cornerMinusIcon = "tbtv_corner_minus_17x17.gif"
|
||||
const:spaceIcon = "tbtv_space_17x17.gif"
|
||||
>
|
||||
<var:tree-data const:isTreeElement="YES"
|
||||
var:icon="item.iconName"
|
||||
var:cornerIcon="item.iconName"
|
||||
var:treeLink="item.link"
|
||||
><a var:href="item.link"
|
||||
><span class="treecell"
|
||||
><var:if condition="item.isActiveNode"
|
||||
><b><var:string value="item.title" /></b
|
||||
></var:if
|
||||
><var:if condition="item.isActiveNode" const:negate="YES"
|
||||
><var:string value="item.title"
|
||||
/></var:if
|
||||
></span
|
||||
></a
|
||||
></var:tree-data>
|
||||
</var:treeview>
|
||||
</noscript>
|
||||
</div>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<container
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
><var:string value="treeObjectName" />.add(<var:string value="item.serial" />, <var:string value="item.parent" />, '<var:string value="item.title" />', '#', 'onMailboxTreeItemClick(this);', '<var:string value="item.name" />', '<var:string value="item.folderType" />', '', '', '<var:string value="iconName" />', '<var:string value="iconName" />');
|
||||
</container>
|
||||
@@ -1,188 +1,156 @@
|
||||
<?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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailPanelFrame"
|
||||
title="panelTitle"
|
||||
>
|
||||
|
||||
<div class="menu" id="addressMenu">
|
||||
<ul id="sourceList">
|
||||
<li id="add_to_addressbook"
|
||||
onmousedown="return false;"
|
||||
onclick="newContactFromEmail(this);"><var:string label:value="Add to Address Book..."/></li>
|
||||
<li id="compose_mailto"
|
||||
onmousedown="return false;"
|
||||
onclick="newEmailTo(this);"><var:string label:value="Compose Mail To"/></li>
|
||||
<li id="create_filter"
|
||||
onmousedown="return false;"
|
||||
onclick="onMenuEntryClick(this, event);"><var:string label:value="Create Filter From Message..."/></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!-- TODO: refactor address rendering into an own component(/element) -->
|
||||
|
||||
<!-- TODO: can we create own clientObject's for Kolab entities? Probably
|
||||
not (since we would always need to fetch the header during
|
||||
lookup). It would work for 'annotated' folders though.
|
||||
TODO: for Kolab we need a completely different viewer with a different
|
||||
toolbar etc. And for Kolab we would need a different list viewer
|
||||
as well ...
|
||||
-->
|
||||
<var:if condition="clientObject.isKolabObject" const:negate="1">
|
||||
<!--
|
||||
Note: We cannot make this section static (like the toolbar) because the CC
|
||||
list has a dynamic height (would require some tricky JavaScript).
|
||||
-->
|
||||
<table class="mailer_fieldtable">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Subject"/>:</td>
|
||||
<td class="mailer_subjectfieldvalue">
|
||||
<var:string value="clientObject.subject"
|
||||
formatter="context.mailSubjectFormatter"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="From"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.fromEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Date"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.date"
|
||||
formatter="context.mailDateFormatter"/>
|
||||
|
||||
<!-- TODO:
|
||||
(<a rsrc:href="tbird_073_viewer.png">screenshot</a>)
|
||||
-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="To"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.toEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<var:if condition="hasCC">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="CC"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.ccEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
<br /> <!-- TODO: better to use li+CSS -->
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
|
||||
<!-- header fields if available -->
|
||||
<var:if condition="clientObject.hasMailHeaderInCoreInfos">
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.organization.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Organization"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:if-qualifier
|
||||
const:condition="organization hasPrefix: 'http://'"
|
||||
object="clientObject.mailHeaders">
|
||||
<a var:href="clientObject.mailHeaders.organization"
|
||||
var:string="clientObject.mailHeaders.organization" />
|
||||
</var:if-qualifier>
|
||||
<var:if-qualifier
|
||||
const:condition="organization hasPrefix: 'http://'"
|
||||
object="clientObject.mailHeaders"
|
||||
const:negate="1">
|
||||
<var:string value="clientObject.mailHeaders.organization" />
|
||||
</var:if-qualifier>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.list-id.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Mailinglist"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<a var:href="clientObject.mailingListArchiveURL"
|
||||
target="_blank"
|
||||
var:string="clientObject.mailHeaders.list-id" />
|
||||
|
|
||||
<a var:href="clientObject.mailingListSubscribeURL"
|
||||
target="_blank"><var:string label:value="subscribe"/></a>
|
||||
|
|
||||
<a var:href="clientObject.mailingListUnsubscribeURL"
|
||||
target="_blank"><var:string label:value="unsubscribe"/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.x-virus-status.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Virusstatus"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.mailHeaders.x-virus-status" />
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.x-spam-level.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Spamlevel"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.mailHeaders.x-spam-level" />
|
||||
<var:if condition="clientObject.mailHeaders.x-spam-flag"
|
||||
const:value="YES">
|
||||
/ <var:string label:value="marked as spam by mailserver" />
|
||||
</var:if>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<!-- all headers
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Header"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<pre><var:string value="clientObject.mailHeaders" /></pre>
|
||||
</td>
|
||||
</tr>
|
||||
<container
|
||||
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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
>
|
||||
<var:if condition="clientObject.isKolabObject" const:negate="YES">
|
||||
<!--
|
||||
Note: We cannot make this section static (like the toolbar) because the CC
|
||||
list has a dynamic height (would require some tricky JavaScript).
|
||||
-->
|
||||
</var:if>
|
||||
</table>
|
||||
</var:if><!-- !Kolab -->
|
||||
<table class="mailer_fieldtable">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Subject"/>:</td>
|
||||
<td class="mailer_subjectfieldvalue">
|
||||
<var:string value="clientObject.subject"
|
||||
formatter="context.mailSubjectFormatter"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="From"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.fromEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Date"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.date"
|
||||
formatter="context.mailDateFormatter"/>
|
||||
|
||||
<div class="mailer_mailcontent">
|
||||
<var:component value="contentViewerComponent"
|
||||
bodyInfo="clientObject.bodyStructure" />
|
||||
</div>
|
||||
<!-- TODO:
|
||||
(<a rsrc:href="tbird_073_viewer.png">screenshot</a>)
|
||||
-->
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<script language="JavaScript">
|
||||
if (window.opener) {
|
||||
markMailReadInWindow(window.opener,
|
||||
'<var:string value="clientObject.nameInContainer"/>');
|
||||
}
|
||||
</script>
|
||||
</var:component>
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="To"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.toEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<var:if condition="hasCC">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="CC"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:foreach list="clientObject.ccEnvelopeAddresses"
|
||||
item="currentAddress">
|
||||
<a var:href="currentAddressLink" onclick="onMenuClick(event, 'addressMenu');" oncontextmenu="onMenuClick(event, 'addressMenu');" onmousedown="return false;">
|
||||
<var:string value="currentAddress"
|
||||
formatter="context.mailEnvelopeFullAddressFormatter" /></a>
|
||||
<br /> <!-- TODO: better to use li+CSS -->
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
|
||||
<!-- header fields if available -->
|
||||
<var:if condition="clientObject.hasMailHeaderInCoreInfos">
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.organization.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Organization"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:if-qualifier
|
||||
const:condition="organization hasPrefix: 'http://'"
|
||||
object="clientObject.mailHeaders">
|
||||
<a var:href="clientObject.mailHeaders.organization"
|
||||
var:string="clientObject.mailHeaders.organization" />
|
||||
</var:if-qualifier>
|
||||
<var:if-qualifier
|
||||
const:condition="organization hasPrefix: 'http://'"
|
||||
object="clientObject.mailHeaders"
|
||||
const:negate="YES">
|
||||
<var:string value="clientObject.mailHeaders.organization" />
|
||||
</var:if-qualifier>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.list-id.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Mailinglist"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<a var:href="clientObject.mailingListArchiveURL"
|
||||
target="_blank"
|
||||
var:string="clientObject.mailHeaders.list-id" />
|
||||
|
|
||||
<a var:href="clientObject.mailingListSubscribeURL"
|
||||
target="_blank"><var:string label:value="subscribe"/></a>
|
||||
|
|
||||
<a var:href="clientObject.mailingListUnsubscribeURL"
|
||||
target="_blank"><var:string label:value="unsubscribe"/></a>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.x-virus-status.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Virusstatus"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.mailHeaders.x-virus-status" />
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="clientObject.mailHeaders.x-spam-level.isNotEmpty">
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname"
|
||||
><var:string label:value="Spamlevel"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<var:string value="clientObject.mailHeaders.x-spam-level" />
|
||||
<var:if condition="clientObject.mailHeaders.x-spam-flag"
|
||||
const:value="YES">
|
||||
/ <var:string label:value="marked as spam by mailserver" />
|
||||
</var:if>
|
||||
</td>
|
||||
</tr>
|
||||
</var:if>
|
||||
|
||||
<!-- all headers
|
||||
<tr class="mailer_fieldrow">
|
||||
<td class="mailer_fieldname" ><var:string label:value="Header"/>:</td>
|
||||
<td class="mailer_fieldvalue">
|
||||
<pre><var:string value="clientObject.mailHeaders" /></pre>
|
||||
</td>
|
||||
</tr>
|
||||
-->
|
||||
</var:if>
|
||||
</table>
|
||||
</var:if><!-- !Kolab -->
|
||||
|
||||
<div class="mailer_mailcontent"
|
||||
oncontextmenu="onMenuClick(event, 'messageContentMenu');">
|
||||
<var:component value="contentViewerComponent"
|
||||
bodyInfo="clientObject.bodyStructure" />
|
||||
</div>
|
||||
</container>
|
||||
@@ -0,0 +1,37 @@
|
||||
<?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:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
className="UIxMailMainFrame"
|
||||
title="panelTitle"
|
||||
const:popup="YES"
|
||||
>
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<!-- TODO: refactor address rendering into an own component(/element) -->
|
||||
|
||||
<!-- TODO: can we create own clientObject's for Kolab entities? Probably
|
||||
not (since we would always need to fetch the header during
|
||||
lookup). It would work for 'annotated' folders though.
|
||||
TODO: for Kolab we need a completely different viewer with a different
|
||||
toolbar etc. And for Kolab we would need a different list viewer
|
||||
as well ...
|
||||
-->
|
||||
<div class="messageContent">
|
||||
<var:component className="UIxMailView" />
|
||||
</div>
|
||||
<script language="JavaScript">
|
||||
if (window.opener) {
|
||||
markMailReadInWindow(window.opener,
|
||||
'<var:string value="clientObject.nameInContainer"/>');
|
||||
}
|
||||
</script>
|
||||
</var:if>
|
||||
|
||||
<var:if condition="hideFrame">
|
||||
<var:component className="UIxMailView" />
|
||||
</var:if>
|
||||
</var:component>
|
||||
+159
-156
@@ -1,162 +1,165 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
>
|
||||
<head>
|
||||
<title>
|
||||
<var:string value="title"/>
|
||||
</title>
|
||||
<meta name="description" content="SOGo Web Interface"/>
|
||||
<meta name="author" content="SKYRIX Software AG"/>
|
||||
<meta name="robots" content="stop"/>
|
||||
<meta name="test" var:content="patate"/>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"/>
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="uix.css"/>
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="calendar.css"/>
|
||||
<link href="mailto:hh@skyrix.com" rev="made"/>
|
||||
<container
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label">
|
||||
<var:if condition="hideFrame" const:negate="YES">
|
||||
<html>
|
||||
<head>
|
||||
<title>
|
||||
<var:string value="title"/>
|
||||
</title>
|
||||
<meta name="hideFrame" var:content="hideFrame" />
|
||||
<meta name="description" content="SOGo Web Interface"/>
|
||||
<meta name="author" content="SKYRIX Software AG"/>
|
||||
<meta name="robots" content="stop"/>
|
||||
<meta http-equiv="Content-type" content="text/html; charset=iso-8859-1"/>
|
||||
<link href="mailto:hh@skyrix.com" rev="made"/>
|
||||
|
||||
<script rsrc:src="generic.js"> <!-- space required --></script>
|
||||
<var:if condition="hasProductSpecificJavaScript">
|
||||
<script var:src="productJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
<var:if condition="hasPageSpecificJavaScript">
|
||||
<script var:src="pageJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
</head>
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="generic.css" />
|
||||
<link type="text/css" rel="stylesheet" rsrc:href="dtree.css" />
|
||||
<var:if condition="hasProductSpecificCSS"
|
||||
><link type="text/css" rel="stylesheet" var:href="productCSSURL"
|
||||
/></var:if>
|
||||
<var:if condition="hasPageSpecificCSS"
|
||||
><link type="text/css" rel="stylesheet" var:href="pageCSSURL"
|
||||
/></var:if>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<var:if condition="isPopup" const:negate="YES">
|
||||
<div class="linkbanner">
|
||||
<a var:href="relativeHomePath"
|
||||
><var:string label:value="Home" /></a> |
|
||||
<a var:href="relativeCalendarPath"
|
||||
><var:string label:value="Calendar" /></a> |
|
||||
<a var:href="relativeContactsPath"
|
||||
><var:string label:value="Addressbook" /></a> |
|
||||
<a var:href="relativeMailPath"
|
||||
><var:string label:value="Mail" /></a> |
|
||||
<a var:href="logoffPath"
|
||||
><var:string label:value="Logoff" /></a> |
|
||||
<a href="http://to.be.done/"
|
||||
><var:string label:value="Right Administration" /></a>
|
||||
</div>
|
||||
<body oncontextmenu="return false;">
|
||||
<script type="text/javascript">
|
||||
var UserFolderURL = '<var:string value="userFolderPath" />';
|
||||
var ApplicationBaseURL = '<var:string value="applicationPath" />';
|
||||
var ResourcesURL = '/SOGo.woa/WebServerResources'
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" rsrc:src="prototype.js"> <!-- space required --></script>
|
||||
<script type="text/javascript" rsrc:src="yul/yahoo/yahoo-min.js"> <!-- space required --></script>
|
||||
<script type="text/javascript" rsrc:src="yul/dom/dom-min.js"> <!-- space required --></script>
|
||||
<script type="text/javascript" rsrc:src="yul/event/event-min.js"> <!-- space required --></script>
|
||||
<script type="text/javascript" rsrc:src="yul/dragdrop/dragdrop-min.js"> <!-- space required --></script>
|
||||
|
||||
<script type="text/javascript" rsrc:src="generic.js"> <!-- space required --></script>
|
||||
<var:if condition="hasProductSpecificJavaScript"
|
||||
><script type="text/javascript" var:src="productJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
<var:if condition="hasPageSpecificJavaScript"
|
||||
><script type="text/javascript" var:src="pageJavaScriptURL"> <!-- space required --></script>
|
||||
</var:if>
|
||||
|
||||
<div id="logConsole">
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
initLogConsole();
|
||||
</script>
|
||||
|
||||
<var:if condition="isPopup" const:negate="YES"
|
||||
><div class="linkbanner">
|
||||
<a var:href="relativeHomePath"
|
||||
><var:string label:value="Home" /></a> |
|
||||
<a var:href="relativeCalendarPath"
|
||||
><var:string label:value="Calendar" /></a> |
|
||||
<a var:href="relativeContactsPath"
|
||||
><var:string label:value="Addressbook" /></a> |
|
||||
<a var:href="relativeMailPath"
|
||||
><var:string label:value="Mail" /></a> |
|
||||
<a var:href="logoffPath"
|
||||
><var:string label:value="Logoff" /></a> |
|
||||
<a href="http://to.be.done/"
|
||||
><var:string label:value="Right Administration" /></a> |
|
||||
<a href="#" onclick="toggleLogConsole();"
|
||||
><var:string label:value="Log Console" /></a>
|
||||
</div>
|
||||
</var:if
|
||||
|
||||
><var:component className="UIxToolbar"
|
||||
/>
|
||||
|
||||
<div class="pageContent">
|
||||
<var:component-content
|
||||
/></div>
|
||||
<var:if condition="isUIxDebugEnabled">
|
||||
<table border="0" style="font-size: 9pt; visibility: hidden;">
|
||||
<tr>
|
||||
<td valign="top">clientObject:</td>
|
||||
<td valign="top"><var:string value="clientObject" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">ownerInContext:</td>
|
||||
<td valign="top"><var:string value="ownerInContext" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">traversal stack:</td>
|
||||
<td valign="top">
|
||||
<var:foreach list="context.objectTraversalStack" item="item">
|
||||
<var:string value="item" /><br />
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">traversal path:</td>
|
||||
<td valign="top">
|
||||
<var:foreach list="context.soRequestTraversalPath"
|
||||
item="item" const:separator=" => ">
|
||||
<var:string value="item" />
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">request type:</td>
|
||||
<td valign="top"><var:string value="context.soRequestType"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">path info:</td>
|
||||
<td valign="top"><var:string value="context.pathInfo"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">rootURL:</td>
|
||||
<td valign="top"><var:string value="context.rootURL"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">active user:</td>
|
||||
<td valign="top"><var:string value="context.activeUser"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">CN / email:</td>
|
||||
<td valign="top">
|
||||
<var:string value="cnForUser"/>
|
||||
<var:entity const:name="lt"
|
||||
/><var:string value="emailForUser"
|
||||
/><var:entity const:name="gt"
|
||||
/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Access Restricted:</td>
|
||||
<td valign="top">
|
||||
<var:if condition="isAccessRestricted">YES</var:if>
|
||||
<var:if condition="isAccessRestricted"
|
||||
const:negate="YES"
|
||||
>NO</var:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Headers:</td>
|
||||
<td valign="top">
|
||||
<span style="white-space: pre;">
|
||||
<var:string value="context.request.headers"
|
||||
const:escapeHTML="YES"
|
||||
/>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</var:if>
|
||||
</body>
|
||||
</html>
|
||||
</var:if>
|
||||
|
||||
<var:component className="UIxToolbar" />
|
||||
|
||||
<div class="pageContent">
|
||||
|
||||
<!-- <tr> -->
|
||||
<!-- <td colspan="2"> -->
|
||||
<!-- TODO: replace the line with a CSS straight line -->
|
||||
<!-- <table cellpadding="0" cellspacing="0" border="0" width="100%"> -->
|
||||
<!-- <tr> -->
|
||||
<!-- <td class="linecolor"><img rsrc:src="line_left.gif"/></td> -->
|
||||
<!-- <td class="linecolor" width="98%"> -->
|
||||
<!-- <img rsrc:src="line_stretch.gif"/> -->
|
||||
<!-- </td> -->
|
||||
<!-- <td class="linecolor"><img rsrc:src="line_right.gif"/></td> -->
|
||||
<!-- </tr> -->
|
||||
<!-- <tr> -->
|
||||
<!-- <td valign="top" colspan="2"> -->
|
||||
<!-- <var:component className="UIxAppNavView" /> -->
|
||||
<!-- </td> -->
|
||||
<!-- <td valign="top" align="right" class="button_submit_env"> -->
|
||||
<!-- <a var:href="helpURL" -->
|
||||
<!-- class="button_submit" -->
|
||||
<!-- label:string="Help" -->
|
||||
<!-- var:target="helpWindowTarget" -->
|
||||
<!-- /> -->
|
||||
<!-- </td> -->
|
||||
<!-- </tr> -->
|
||||
<!-- </table> -->
|
||||
<!-- </td> -->
|
||||
<!-- </tr> -->
|
||||
<var:component-content/>
|
||||
</div>
|
||||
<var:if condition="isUIxDebugEnabled">
|
||||
<table border="0" style="font-size: 9pt;">
|
||||
<tr>
|
||||
<td valign="top">clientObject:</td>
|
||||
<td valign="top"><var:string value="clientObject" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">ownerInContext:</td>
|
||||
<td valign="top"><var:string value="ownerInContext" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">traversal stack:</td>
|
||||
<td valign="top">
|
||||
<var:foreach list="context.objectTraversalStack" item="item">
|
||||
<var:string value="item" /><br />
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">traversal path:</td>
|
||||
<td valign="top">
|
||||
<var:foreach list="context.soRequestTraversalPath"
|
||||
item="item" const:separator=" => ">
|
||||
<var:string value="item" />
|
||||
</var:foreach>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">request type:</td>
|
||||
<td valign="top"><var:string value="context.soRequestType"/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">path info:</td>
|
||||
<td valign="top"><var:string value="context.pathInfo"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">rootURL:</td>
|
||||
<td valign="top"><var:string value="context.rootURL"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">active user:</td>
|
||||
<td valign="top"><var:string value="context.activeUser"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">CN / email:</td>
|
||||
<td valign="top">
|
||||
<var:string value="cnForUser"/>
|
||||
<var:entity const:name="lt"
|
||||
/><var:string value="emailForUser"
|
||||
/><var:entity const:name="gt"
|
||||
/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Access Restricted:</td>
|
||||
<td valign="top">
|
||||
<var:if condition="isAccessRestricted">YES</var:if>
|
||||
<var:if condition="isAccessRestricted"
|
||||
const:negate="YES"
|
||||
>NO</var:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top">Headers:</td>
|
||||
<td valign="top">
|
||||
<span style="white-space: pre;">
|
||||
<var:string value="context.request.headers"
|
||||
const:escapeHTML="YES"
|
||||
/>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<var:if condition="hideFrame">
|
||||
<var:component-content />
|
||||
</var:if>
|
||||
</body>
|
||||
</html>
|
||||
<!-- Keep this comment at the end of the file
|
||||
Local variables:
|
||||
mode: xml
|
||||
sgml-omittag:nil
|
||||
sgml-shorttag:nil
|
||||
End:
|
||||
-->
|
||||
</container>
|
||||
|
||||
+43
-31
@@ -1,39 +1,51 @@
|
||||
<?xml version="1.0" standalone="yes"?>
|
||||
<var:if condition="hasButtons"
|
||||
<var:if condition="hasButtons"
|
||||
xmlns="http://www.w3.org/1999/xhtml"
|
||||
xmlns:var="http://www.skyrix.com/od/binding"
|
||||
xmlns:const="http://www.skyrix.com/od/constant"
|
||||
xmlns:rsrc="OGo:url"
|
||||
xmlns:label="OGo:label"
|
||||
xmlns:so="http://www.skyrix.com/od/so-lookup">
|
||||
<div class="toolbar">
|
||||
<var:foreach list="toolbarConfig" item="toolbarGroup">
|
||||
<var:foreach list="toolbarGroup" item="buttonInfo">
|
||||
<var:if condition="isButtonEnabled">
|
||||
|
||||
<a class="toolbarButton"
|
||||
var:href="buttonInfo.link"
|
||||
var:target="buttonInfo.target"
|
||||
var:onclick="buttonInfo.onclick"
|
||||
var:alt="buttonInfo.tooltip"
|
||||
var:title="buttonInfo.tooltip">
|
||||
<span class="toolbarButton">
|
||||
<img class="buttonImage"
|
||||
var:src="buttonImage"
|
||||
var:alt="buttonInfo.image" /><br />
|
||||
<span class="buttonLabel"><var:string
|
||||
value="buttonLabel" /></span>
|
||||
</span>
|
||||
</a>
|
||||
|
||||
</var:if>
|
||||
<div id="toolbar" class="toolbar">
|
||||
<var:foreach list="toolbarConfig" item="toolbarGroup"
|
||||
><var:foreach list="toolbarGroup" item="buttonInfo"
|
||||
><var:if condition="isButtonEnabled"
|
||||
><a class="toolbarButton"
|
||||
var:href="buttonInfo.link"
|
||||
var:target="buttonInfo.target"
|
||||
var:onclick="buttonInfo.onclick"
|
||||
var:title="buttonInfo.tooltip"
|
||||
><span class="toolbarButton"
|
||||
><img class="buttonImage"
|
||||
var:src="buttonImage"
|
||||
var:alt="buttonInfo.image"
|
||||
/><br
|
||||
/><span class="buttonLabel"
|
||||
><var:string
|
||||
value="buttonLabel"
|
||||
/></span
|
||||
></span
|
||||
></a>
|
||||
</var:if>
|
||||
<var:if condition="isButtonEnabled"
|
||||
const:negate="YES"
|
||||
><span class="disabledToolbarButton"
|
||||
><img class="buttonImage"
|
||||
var:src="buttonImage"
|
||||
var:alt="buttonInfo.image"
|
||||
/><br
|
||||
/><span class="buttonLabel"
|
||||
><var:string
|
||||
value="buttonLabel"
|
||||
/></span
|
||||
></span>
|
||||
</var:if>
|
||||
</var:foreach>
|
||||
<var:if condition="isLastGroup" const:negate="YES"
|
||||
><span class="toolbarSeparator"
|
||||
><var:entity const:name="nbsp"
|
||||
/></span
|
||||
></var:if>
|
||||
</var:foreach>
|
||||
|
||||
<var:if condition="isLastGroup" const:negate="YES">
|
||||
<span class="toolbarSeparator">
|
||||
<var:entity const:name="nbsp" />
|
||||
</span>
|
||||
</var:if>
|
||||
</var:foreach>
|
||||
</div>
|
||||
</var:if>
|
||||
</div>
|
||||
</var:if>
|
||||
Reference in new issue
Block a user