mirror of
https://github.com/prasathmani/tinyfilemanager
synced 2024-06-08 08:52:23 +02:00
Set icons for more file extensions
This commit is contained in:
parent
27d7126767
commit
185424b463
|
@ -2681,6 +2681,7 @@ function fm_get_file_icon_class($path)
|
||||||
case 'cpp':
|
case 'cpp':
|
||||||
case 'cs':
|
case 'cs':
|
||||||
case 'py':
|
case 'py':
|
||||||
|
case 'rs':
|
||||||
case 'map':
|
case 'map':
|
||||||
case 'lock':
|
case 'lock':
|
||||||
case 'dtd':
|
case 'dtd':
|
||||||
|
@ -2699,11 +2700,13 @@ function fm_get_file_icon_class($path)
|
||||||
case 'scss':
|
case 'scss':
|
||||||
$img = 'fa fa-css3';
|
$img = 'fa fa-css3';
|
||||||
break;
|
break;
|
||||||
|
case 'bz2':
|
||||||
case 'zip':
|
case 'zip':
|
||||||
case 'rar':
|
case 'rar':
|
||||||
case 'gz':
|
case 'gz':
|
||||||
case 'tar':
|
case 'tar':
|
||||||
case '7z':
|
case '7z':
|
||||||
|
case 'xz':
|
||||||
$img = 'fa fa-file-archive-o';
|
$img = 'fa fa-file-archive-o';
|
||||||
break;
|
break;
|
||||||
case 'php':
|
case 'php':
|
||||||
|
@ -2741,6 +2744,7 @@ function fm_get_file_icon_class($path)
|
||||||
case 'm3u8':
|
case 'm3u8':
|
||||||
case 'pls':
|
case 'pls':
|
||||||
case 'cue':
|
case 'cue':
|
||||||
|
case 'xspf':
|
||||||
$img = 'fa fa-headphones';
|
$img = 'fa fa-headphones';
|
||||||
break;
|
break;
|
||||||
case 'avi':
|
case 'avi':
|
||||||
|
@ -2772,6 +2776,7 @@ function fm_get_file_icon_class($path)
|
||||||
$img = 'fa fa-file-text-o';
|
$img = 'fa fa-file-text-o';
|
||||||
break;
|
break;
|
||||||
case 'bak':
|
case 'bak':
|
||||||
|
case 'swp':
|
||||||
$img = 'fa fa-clipboard';
|
$img = 'fa fa-clipboard';
|
||||||
break;
|
break;
|
||||||
case 'doc':
|
case 'doc':
|
||||||
|
|
Loading…
Reference in a new issue