Changes for importexport -> et2

This commit is contained in:
Nathan Gray 2013-11-07 23:43:17 +00:00
parent 6209c42dc4
commit aea4c35a90
3 changed files with 46 additions and 7 deletions

View File

@ -408,7 +408,7 @@ class addressbook_export_contacts_csv implements importexport_iface_export_plugi
'label' => 'addressbook', 'label' => 'addressbook',
'type' => 'select', 'type' => 'select',
'rows' => 5, 'rows' => 5,
'enhance' => true, 'tags' => true,
'values' => $this->ui->get_addressbooks(EGW_ACL_READ) 'values' => $this->ui->get_addressbooks(EGW_ACL_READ)
); );
} }

View File

@ -107,9 +107,9 @@ class addressbook_wizard_export_contacts_csv extends importexport_wizard_basic_e
'explode'=> $settings[$field] 'explode'=> $settings[$field]
); );
if($field == 'cat_id') { if($field == 'cat_id') {
$sel_options[$row] = $cat_options; $sel_options['explode_multiselects'][$row] = $cat_options;
} else { } else {
$sel_options[$row] = $multi_options; $sel_options['explode_multiselects'][$row] = $multi_options;
} }
$row++; $row++;
} }

View 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>