mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Backport 32515 - Add mimetype to export plugins
This commit is contained in:
parent
4d22beeb64
commit
7d0c490079
@ -71,6 +71,10 @@ class timesheet_export_csv implements importexport_iface_export_plugin {
|
||||
return 'csv';
|
||||
}
|
||||
|
||||
public static function get_mimetype() {
|
||||
return 'text/csv';
|
||||
}
|
||||
|
||||
/**
|
||||
* return html for options.
|
||||
* this way the plugin has all opportunities for options tab
|
||||
|
@ -178,6 +178,10 @@ class timesheet_export_openoffice implements importexport_iface_export_plugin {
|
||||
return 'ods';
|
||||
}
|
||||
|
||||
public static function get_mimetype() {
|
||||
return 'application/vnd.oasis.opendocument.spreadsheet';
|
||||
}
|
||||
|
||||
/**
|
||||
* return html for options.
|
||||
* this way the plugin has all opertunities for options tab
|
||||
|
Loading…
Reference in New Issue
Block a user