mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
Changes for importexport -> et2
This commit is contained in:
parent
6209c42dc4
commit
aea4c35a90
@ -399,16 +399,16 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi
|
||||
{
|
||||
unset($filters['last_event']);
|
||||
unset($filters['next_event']);
|
||||
foreach($filters as $field_name => &$settings)
|
||||
{
|
||||
if($this->selects[$field_name]) $settings['values'] = $this->selects[$field_name];
|
||||
}
|
||||
foreach($filters as $field_name => &$settings)
|
||||
{
|
||||
if($this->selects[$field_name]) $settings['values'] = $this->selects[$field_name];
|
||||
}
|
||||
$filters['owner'] = array(
|
||||
'name' => 'owner',
|
||||
'label' => 'addressbook',
|
||||
'type' => 'select',
|
||||
'rows' => 5,
|
||||
'enhance' => true,
|
||||
'tags' => true,
|
||||
'values' => $this->ui->get_addressbooks(EGW_ACL_READ)
|
||||
);
|
||||
}
|
||||
|
@ -107,9 +107,9 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
|
||||
'explode'=> $settings[$field]
|
||||
);
|
||||
if($field == 'cat_id') {
|
||||
$sel_options[$row] = $cat_options;
|
||||
$sel_options['explode_multiselects'][$row] = $cat_options;
|
||||
} else {
|
||||
$sel_options[$row] = $multi_options;
|
||||
$sel_options['explode_multiselects'][$row] = $multi_options;
|
||||
}
|
||||
$row++;
|
||||
}
|
||||
|
39
addressbook/templates/default/export_explode_fields.xet
Normal file
39
addressbook/templates/default/export_explode_fields.xet
Normal file
@ -0,0 +1,39 @@
|
||||
<?xml version="1.0"?>
|
||||
<!-- $Id$ -->
|
||||
<overlay>
|
||||
<template id="addressbook.export_explode_fields" template="" lang="" group="0" version="1.9.001">
|
||||
<grid>
|
||||
<columns>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row>
|
||||
<description value="List as seperate columns"/>
|
||||
</row>
|
||||
<row disabled="!@explode_multiselects">
|
||||
<grid width="100%" id="explode_multiselects">
|
||||
<columns>
|
||||
<column/>
|
||||
<column/>
|
||||
</columns>
|
||||
<rows>
|
||||
<row class="th">
|
||||
<description value="Field"/>
|
||||
<description value="Style"/>
|
||||
</row>
|
||||
<row>
|
||||
<description id="${row}[name]"/>
|
||||
<menulist>
|
||||
<menupopup id="${row}[explode]"/>
|
||||
</menulist>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</row>
|
||||
<row disabled="@explode_multiselects">
|
||||
<description value="No multi-select columns selected for export"/>
|
||||
</row>
|
||||
</rows>
|
||||
</grid>
|
||||
</template>
|
||||
</overlay>
|
Loading…
Reference in New Issue
Block a user