mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-25 17:33:49 +01:00
*Mail: Add new pane option for showing all columns in vertical 3-pane view
This commit is contained in:
parent
2eeff5ca38
commit
62d91350eb
@ -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