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:
@@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user