mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Mail: Link expiration date blur text now changes if you have EPL enabled
This commit is contained in:
parent
aed7914a67
commit
213a30a250
@ -284,7 +284,7 @@ class mail_compose
|
||||
/**
|
||||
* Compose dialog
|
||||
*
|
||||
* @var arra $_content =null etemplate content array
|
||||
* @var array $_content =null etemplate content array
|
||||
* @var string $msg =null a possible message to be passed and displayed to the userinterface
|
||||
* @var string $_focusElement ='to' subject, to, body supported
|
||||
* @var boolean $suppressSigOnTop =false
|
||||
@ -1269,6 +1269,7 @@ class mail_compose
|
||||
//if (is_array($content['attachments'])) foreach($content['attachments'] as $k => &$file) $file['delete['.$file['tmp_name'].']']=0;
|
||||
$content['no_griddata'] = empty($content['attachments']);
|
||||
$preserv['attachments'] = $content['attachments'];
|
||||
$content['expiration_blur'] = $GLOBALS['egw_info']['user']['apps']['stylite'] ? lang('Select a date') : lang('EPL only');
|
||||
|
||||
//if (is_array($content['attachments']))error_log(__METHOD__.__LINE__.' Attachments:'.array2string($content['attachments']));
|
||||
// if no filemanager -> no vfsFileSelector
|
||||
|
@ -95,7 +95,7 @@
|
||||
<vbox class="et2_file mailUploadSection" disabled="@no_griddata">
|
||||
<hbox>
|
||||
<select id="filemode" label="Send files as" onchange="app.mail.check_sharing_filemode"/>
|
||||
<date id="expiration" label="Expiration" blur="EPL only" data_format="Y-m-d"/>
|
||||
<date id="expiration" label="Expiration" blur="@expiration_blur" data_format="Y-m-d"/>
|
||||
<passwd id="password" blur="password protect" statustext="Only makes sense, if you transport password through a different channel / outside of this mail to recipients!"/>
|
||||
</hbox>
|
||||
<grid id="attachments" width="100%" maxheight="165" class="egwGridView_grid" resize_ratio="0">
|
||||
|
Loading…
Reference in New Issue
Block a user