mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-05-04 14:53:13 +02:00
Open document files? #262
This commit is contained in:
parent
3e19ba0243
commit
7a7a44de9b
|
@ -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');
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue