Take emailTag preference for addresses used in mail list into account

This commit is contained in:
hadi 2023-06-22 14:38:18 +02:00
parent a4109439e1
commit 0f8a3251c4
2 changed files with 5 additions and 4 deletions

View File

@ -2141,6 +2141,7 @@ $filter['before']= date("d-M-Y", $cutoffdate2);
{ {
$data["bodypreview"] = $header['bodypreview']; $data["bodypreview"] = $header['bodypreview'];
} }
$data['emailTag'] = $GLOBALS['egw_info']['user']['preferences']['mail']['emailTag'] ?? "onlyname";
$rv[] = $data; $rv[] = $data;
//error_log(__METHOD__.__LINE__.array2string($data)); //error_log(__METHOD__.__LINE__.array2string($data));
} }

View File

@ -44,11 +44,11 @@
<et2-date-time align="center" id="${row}[date]" readonly="true"></et2-date-time> <et2-date-time align="center" id="${row}[date]" readonly="true"></et2-date-time>
</et2-hbox> </et2-hbox>
<et2-date-time-today align="center" id="${row}[modified]" readonly="true"></et2-date-time-today> <et2-date-time-today align="center" id="${row}[modified]" readonly="true"></et2-date-time-today>
<et2-url-email id="${row}[address]" readonly="true"></et2-url-email> <et2-url-email id="${row}[address]" readonly="true" fullEmail="$row_cont[emailTag]=fullemail" onlyEmail="$row_cont[emailTag]=onlyemail"></et2-url-email>
<et2-url-email id="${row}[toaddress]" readonly="true"></et2-url-email> <et2-url-email id="${row}[toaddress]" readonly="true" fullEmail="$row_cont[emailTag]=fullemail" onlyEmail="$row_cont[emailTag]=onlyemail"></et2-url-email>
<et2-url-email id="${row}[fromaddress]" readonly="true"></et2-url-email> <et2-url-email id="${row}[fromaddress]" readonly="true" fullEmail="$row_cont[emailTag]=fullemail" onlyEmail="$row_cont[emailTag]=onlyemail"></et2-url-email>
<vfs-size align="right" id="${row}[size]" no_lang="1" readonly="true"/> <vfs-size align="right" id="${row}[size]" no_lang="1" readonly="true"/>
<et2-image src="$row_cont[smime]" ></et2-image> <et2-image src="$row_cont[smime]"></et2-image>
</row> </row>
</rows> </rows>
</grid> </grid>