mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
Add custom fields to import field list
This commit is contained in:
parent
a2c0da6ccc
commit
33a59d331d
@ -28,6 +28,13 @@ class calendar_wizard_import_csv extends importexport_wizard_basic_import_csv
|
||||
$tracking = new calendar_tracking();
|
||||
$this->mapping_fields = array('id' => 'Calendar ID') + $tracking->field2label;
|
||||
|
||||
// List each custom field
|
||||
unset($this->mapping_fields['customfields']);
|
||||
$custom = config::get_customfields('calendar');
|
||||
foreach($custom as $name => $data) {
|
||||
$this->mapping_fields['#'.$name] = $data['label'];
|
||||
}
|
||||
|
||||
// Actions
|
||||
$this->actions = array(
|
||||
'none' => lang('none'),
|
||||
|
Loading…
Reference in New Issue
Block a user