mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-15 11:11:49 +01:00
*Mail: Add new pane option for showing all columns in vertical 3-pane view
This commit is contained in:
parent
ebd800082d
commit
86f31a74d0
@ -436,9 +436,10 @@ class mail_hooks
|
||||
'name' => 'previewPane',
|
||||
'values' => array(
|
||||
'vertical' => lang('show vertical'),
|
||||
'allColumns' => lang('show vertical with all columns'),
|
||||
'fixed' => lang('show horizontal'),
|
||||
'expand' => lang('show horizontal, hide if none selected'),
|
||||
'hide' => lang('never show'),
|
||||
'hide' => lang('never show')
|
||||
),
|
||||
'default' => 'vertical',
|
||||
'reload' => true
|
||||
|
@ -622,6 +622,10 @@ class mail_ui
|
||||
case "vertical":
|
||||
$etpl->setElementAttribute('mailSplitter', 'orientation', 'v');
|
||||
break;
|
||||
case "allColumns":
|
||||
$etpl->setElementAttribute('mailSplitter', 'orientation', 'v');
|
||||
$etpl->setElementAttribute('nm', 'template', 'mail.index.rows.horizental');
|
||||
break;
|
||||
case "expand":
|
||||
case "fixed":
|
||||
$etpl->setElementAttribute('mailSplitter', 'orientation', 'h');
|
||||
|
Loading…
Reference in New Issue
Block a user