Open document files? #262

This commit is contained in:
Prasath Mani 2019-12-06 16:26:36 +05:30
parent 3e19ba0243
commit 7a7a44de9b

View file

@ -2507,6 +2507,7 @@ function fm_get_file_icon_class($path)
break;
case 'xls':
case 'xlsx':
case 'ods':
$img = 'fa fa-file-excel-o';
break;
case 'csv':
@ -2517,6 +2518,7 @@ function fm_get_file_icon_class($path)
break;
case 'doc':
case 'docx':
case 'odt':
$img = 'fa fa-file-word-o';
break;
case 'ppt':
@ -2633,7 +2635,7 @@ function fm_get_text_names()
*/
function fm_get_onlineViewer_exts()
{
return array('doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'ai', 'psd', 'dxf', 'xps', 'rar');
return array('doc', 'docx', 'xls', 'xlsx', 'pdf', 'ppt', 'pptx', 'ai', 'psd', 'dxf', 'xps', 'rar', 'odt', 'ods');
}
/**