Get mail display working again (index and display both need to be redefined in future)

This commit is contained in:
Hadi Nategh 2021-12-16 15:07:09 +01:00
parent 170ac4d6e2
commit 9ab621e054

View File

@ -5,60 +5,60 @@
<template id="mail.display" template="" lang="" group="0" version="1.9.001"> <template id="mail.display" template="" lang="" group="0" version="1.9.001">
<appicon class="onlyPrint"/> <appicon class="onlyPrint"/>
<html id="msg"/> <html id="msg"/>
<vbox class="mailDisplay"> <old-vbox class="mailDisplay">
<hbox> <old-hbox>
<toolbar id="displayToolbar" width="100%" view_range="6" flat_list="true"/> <toolbar id="displayToolbar" width="100%" view_range="6" flat_list="true"/>
</hbox> </old-hbox>
<hbox> <old-hbox>
<hbox class="mailDisplayHeaders" id="mailDisplayHeadersFrom" disabled="!@FROM" width="70%"> <old-hbox class="mailDisplayHeaders" id="mailDisplayHeadersFrom" disabled="!@FROM" width="70%">
<description value="From"/> <description value="From"/>
<hbox id="FROM" class="mail_extraEmails"> <old-hbox id="FROM" class="mail_extraEmails">
</hbox> </old-hbox>
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/> <buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" align="right" width="30%"> <old-hbox class="mailDisplayHeaders" align="right" width="30%">
<description value="Date"/> <description value="Date"/>
<date-time id="mail_displaydate" readonly="true"/> <date-time id="mail_displaydate" readonly="true"/>
</hbox> </old-hbox>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" id="mailDisplayHeadersSender" disabled="!@SENDER" width="100%"> <old-hbox class="mailDisplayHeaders" id="mailDisplayHeadersSender" disabled="!@SENDER" width="100%">
<description value="on behalf of"/> <description value="on behalf of"/>
<url-email id="SENDER" readonly="true"/> <url-email id="SENDER" readonly="true"/>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" id="mailDisplayHeadersTo" disabled="!@TO" width="100%"> <old-hbox class="mailDisplayHeaders" id="mailDisplayHeadersTo" disabled="!@TO" width="100%">
<description value="To"/> <description value="To"/>
<hbox id="TO" class="mail_extraEmails"> <old-hbox id="TO" class="mail_extraEmails">
</hbox> </old-hbox>
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/> <buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" id="mailDisplayHeadersCc" disabled="!@CC" width="100%"> <old-hbox class="mailDisplayHeaders" id="mailDisplayHeadersCc" disabled="!@CC" width="100%">
<description value="Cc"/> <description value="Cc"/>
<hbox id="CC" class="mail_extraEmails"> <old-hbox id="CC" class="mail_extraEmails">
</hbox> </old-hbox>
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/> <buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" id="mailDisplayHeadersBcc" disabled="!@BCC" width="100%"> <old-hbox class="mailDisplayHeaders" id="mailDisplayHeadersBcc" disabled="!@BCC" width="100%">
<description value="Bcc"/> <description value="Bcc"/>
<hbox id="BCC" class="mail_extraEmails"> <old-hbox id="BCC" class="mail_extraEmails">
</hbox> </old-hbox>
<buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/> <buttononly class="et2_button ui-button" label="Show all Addresses" image="foldertree_nolines_plus" onclick="app.mail.showAllHeader"/>
</hbox> </old-hbox>
<hbox class="mailDisplayHeaders" width="100%"> <old-hbox class="mailDisplayHeaders" width="100%">
<description value="Subject"/> <description value="Subject"/>
<description align="left" id="mail_displaysubject" no_lang="1" readonly="true"/> <description align="left" id="mail_displaysubject" no_lang="1" readonly="true"/>
</hbox> </old-hbox>
<hbox> <old-hbox>
<image id="smime_signature" src="smime_sign" statustext="Smime signed message" disabled="true" align="right" width="24"/> <image id="smime_signature" src="smime_sign" statustext="Smime signed message" disabled="true" align="right" width="24"/>
<image id="smime_encryption" src="smime_encrypt" statustext="Smime encrypted message" disabled="true" align="right" width="24"/> <image id="smime_encryption" src="smime_encrypt" statustext="Smime encrypted message" disabled="true" align="right" width="24"/>
</hbox> </old-hbox>
</vbox> </old-vbox>
<vbox class="mailDisplay"> <old-vbox class="mailDisplay">
<box class="$cont[mailDisplayContainerClass]"> <old-box class="$cont[mailDisplayContainerClass]">
<iframe frameborder="1" class="mail_displaybody" id="mailDisplayBodySrc" name="mailDisplayBodySrc" scrolling="auto" width="100%"/> <iframe frameborder="1" class="mail_displaybody" id="mailDisplayBodySrc" name="mailDisplayBodySrc" scrolling="auto" width="100%"/>
</box> </old-box>
<box class="$cont[mailDisplayAttachmentsClass]"> <old-box class="$cont[mailDisplayAttachmentsClass]">
<grid disabled="@no_griddata" id="mail_displayattachments" class="egwGridView_grid" width="100%"> <grid disabled="@no_griddata" id="mail_displayattachments" class="egwGridView_grid" width="100%">
<columns> <columns>
<column disabled="!@showtempname"/> <column disabled="!@showtempname"/>
@ -87,7 +87,7 @@
</row> </row>
</rows> </rows>
</grid> </grid>
</box> </old-box>
</vbox> </old-vbox>
</template> </template>
</overlay> </overlay>