1
0
mirror of https://github.com/prasathmani/tinyfilemanager.git synced 2025-07-28 20:40:35 +02:00

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; break;
case 'xls': case 'xls':
case 'xlsx': case 'xlsx':
case 'ods':
$img = 'fa fa-file-excel-o'; $img = 'fa fa-file-excel-o';
break; break;
case 'csv': case 'csv':
@@ -2517,6 +2518,7 @@ function fm_get_file_icon_class($path)
break; break;
case 'doc': case 'doc':
case 'docx': case 'docx':
case 'odt':
$img = 'fa fa-file-word-o'; $img = 'fa fa-file-word-o';
break; break;
case 'ppt': case 'ppt':
@@ -2633,7 +2635,7 @@ function fm_get_text_names()
*/ */
function fm_get_onlineViewer_exts() 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');
} }
/** /**