mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
do all address fields as taglist in popup display window
This commit is contained in:
parent
bd3e741905
commit
803099a49d
@ -1628,7 +1628,7 @@ unset($query['actions']);
|
||||
$sel_options[$field][] = array(
|
||||
// taglist requires these
|
||||
'id' => $field_data['EMAIL'],
|
||||
'label' => $field_data['PERSONAL_NAME'],
|
||||
'label' => ($field_data['PERSONAL_NAME'] && $field_data['PERSONAL_NAME']!='NIL') ? $field_data['PERSONAL_NAME']:$field_data['EMAIL'],
|
||||
// Optional
|
||||
'title' => $field_data['RFC822_EMAIL']
|
||||
)
|
||||
|
@ -4,21 +4,25 @@
|
||||
<template id="mail.display" template="" lang="" group="0" version="1.9.001">
|
||||
<html id="msg"/>
|
||||
<vbox class="mailDisplay mailDisplayHeaderSection" width="100%">
|
||||
<hbox class="mailDisplayHeaders" width="100%">
|
||||
<hbox class="mailDisplayHeaders" disabled="!@FROM" width="100%">
|
||||
<description value="From"/>
|
||||
<taglist id="FROM" readonly="true" onclick="app.mail.address_click"/>
|
||||
</hbox>
|
||||
<hbox class="mailDisplayHeaders" width="100%">
|
||||
<hbox class="mailDisplayHeaders" disabled="!@SENDER" width="100%">
|
||||
<description value="on behalf of"/>
|
||||
<html id="mail_displayonbehalfofaddress" readonly="true"/>
|
||||
<taglist id="SENDER" readonly="true" onclick="app.mail.address_click"/>
|
||||
</hbox>
|
||||
<hbox class="mailDisplayHeaders" width="100%">
|
||||
<hbox class="mailDisplayHeaders" disabled="!@TO" width="100%">
|
||||
<description value="To"/>
|
||||
<taglist id="TO" readonly="true" onclick="app.mail.address_click"/>
|
||||
</hbox>
|
||||
<hbox class="mailDisplayHeaders" disabled="!@CC" width="100%">
|
||||
<description value="Cc"/>
|
||||
<html id="mail_displayccaddress" readonly="true"/>
|
||||
<taglist id="CC" readonly="true" onclick="app.mail.address_click"/>
|
||||
</hbox>
|
||||
<hbox class="mailDisplayHeaders" width="100%">
|
||||
<hbox class="mailDisplayHeaders" disabled="!@BCC" width="100%">
|
||||
<description value="Bcc"/>
|
||||
<html id="mail_displaybccaddress" readonly="true"/>
|
||||
<taglist id="BCC" readonly="true" onclick="app.mail.address_click"/>
|
||||
</hbox>
|
||||
<hbox class="mailDisplayHeaders" width="100%">
|
||||
<description value="Date"/>
|
||||
|
Loading…
Reference in New Issue
Block a user