mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
- Add default iCal import & export
- Remove Export: & Import: from sidebox menu, use Import/Export app
This commit is contained in:
parent
b3ac9e60fe
commit
f8343aa0e3
@ -773,21 +773,6 @@ function load_cal(url,id) {
|
|||||||
'link' => False
|
'link' => False
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
// Import & Export
|
|
||||||
$file[] = array(
|
|
||||||
'text' => lang('Export').': '.html::a_href(lang('iCal'),'calendar.calendar_uiforms.export',$this->first ? array(
|
|
||||||
'start' => $this->bo->date2string($this->first),
|
|
||||||
'end' => $this->bo->date2string($this->last),
|
|
||||||
) : false),
|
|
||||||
'no_lang' => True,
|
|
||||||
'link' => False,
|
|
||||||
);
|
|
||||||
$file[] = array(
|
|
||||||
'text' => lang('Import').': '.html::a_href(lang('iCal'),'calendar.calendar_uiforms.import').
|
|
||||||
' & '.html::a_href(lang('CSV'),'/calendar/csv_import.php'),
|
|
||||||
'no_lang' => True,
|
|
||||||
'link' => False,
|
|
||||||
);
|
|
||||||
/*
|
/*
|
||||||
$print_functions = array(
|
$print_functions = array(
|
||||||
'calendar.calendar_uiviews.day' => 'calendar.pdfcal.day',
|
'calendar.calendar_uiviews.day' => 'calendar.pdfcal.day',
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<entry type="array" name="metainfo">
|
<entry type="array" name="metainfo">
|
||||||
<entry type="string" name="type">importexport definitions</entry>
|
<entry type="string" name="type">importexport definitions</entry>
|
||||||
<entry type="string" name="charset">utf-8</entry>
|
<entry type="string" name="charset">utf-8</entry>
|
||||||
<entry type="integer" name="entries">2</entry>
|
<entry type="integer" name="entries">4</entry>
|
||||||
</entry>
|
</entry>
|
||||||
<entry type="array" name="definitions">
|
<entry type="array" name="definitions">
|
||||||
<entry type="array" name="export-calendar-csv">
|
<entry type="array" name="export-calendar-csv">
|
||||||
@ -41,8 +41,6 @@
|
|||||||
<entry type="string" name="begin_with_fieldnames">1</entry>
|
<entry type="string" name="begin_with_fieldnames">1</entry>
|
||||||
<entry type="string" name="convert">0</entry>
|
<entry type="string" name="convert">0</entry>
|
||||||
</entry>
|
</entry>
|
||||||
<entry type="NULL" name="description"/>
|
|
||||||
<entry type="string" name="user_timezone_read">America/Edmonton</entry>
|
|
||||||
</entry>
|
</entry>
|
||||||
<entry type="array" name="import-calendar-csv">
|
<entry type="array" name="import-calendar-csv">
|
||||||
<entry type="string" name="name">import-calendar-csv</entry>
|
<entry type="string" name="name">import-calendar-csv</entry>
|
||||||
@ -102,7 +100,26 @@
|
|||||||
</entry>
|
</entry>
|
||||||
<entry type="string" name="field_conversion"/>
|
<entry type="string" name="field_conversion"/>
|
||||||
</entry>
|
</entry>
|
||||||
<entry type="NULL" name="description"/>
|
</entry>
|
||||||
|
<entry type="array" name="import-calendar-ical">
|
||||||
|
<entry type="string" name="name">import-calendar-ical</entry>
|
||||||
|
<entry type="string" name="application">calendar</entry>
|
||||||
|
<entry type="string" name="plugin">calendar_import_ical</entry>
|
||||||
|
<entry type="string" name="type">import</entry>
|
||||||
|
<entry type="array" name="allowed_users">
|
||||||
|
<entry type="string" name="0">Default</entry>
|
||||||
|
</entry>
|
||||||
|
<entry type="string" name="plugin_options"/>
|
||||||
|
</entry>
|
||||||
|
<entry type="array" name="export-calendar-ical">
|
||||||
|
<entry type="string" name="name">export-calendar-ical</entry>
|
||||||
|
<entry type="string" name="application">calendar</entry>
|
||||||
|
<entry type="string" name="plugin">calendar_export_ical</entry>
|
||||||
|
<entry type="string" name="type">export</entry>
|
||||||
|
<entry type="array" name="allowed_users">
|
||||||
|
<entry type="string" name="0">Default</entry>
|
||||||
|
</entry>
|
||||||
|
<entry type="string" name="plugin_options"/>
|
||||||
</entry>
|
</entry>
|
||||||
</entry>
|
</entry>
|
||||||
</entry>
|
</entry>
|
||||||
|
Loading…
Reference in New Issue
Block a user