mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-27 02:14:45 +01:00
Add custom fields to available fields and default export definition
This commit is contained in:
parent
fe7dddcc0d
commit
e88c042901
@ -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'),
|
||||
|
@ -34,13 +34,14 @@
|
||||
<entry type="string" name="end">end</entry>
|
||||
<entry type="string" name="participants">Participants: User, Status, Role</entry>
|
||||
<entry type="string" name="participants-c">Participants: User, Status, Quantity, Role</entry>
|
||||
<entry type="string" name="all_custom_fields">calendar</entry>
|
||||
</entry>
|
||||
<entry type="string" name="delimiter">;</entry>
|
||||
<entry type="string" name="charset">user</entry>
|
||||
<entry type="string" name="begin_with_fieldnames">label</entry>
|
||||
<entry type="string" name="convert">1</entry>
|
||||
</entry>
|
||||
<entry type="string" name="modified">2011-05-24 10:00:00</entry>
|
||||
<entry type="string" name="modified">2011-11-10 10:00:00</entry>
|
||||
</entry>
|
||||
<entry type="array" name="import-calendar-ical">
|
||||
<entry type="string" name="name">import-calendar-ical</entry>
|
||||
|
Loading…
Reference in New Issue
Block a user