Updated icons for Microsoft Visio and Autodesk Autocad.
This commit is contained in:
parent
45e9b73e83
commit
081cd174c1
3 changed files with 5 additions and 3 deletions
|
|
@ -208,7 +208,7 @@ sub getIcon {
|
||||||
$icon = $session{setting}{lib}."/fileIcons/";
|
$icon = $session{setting}{lib}."/fileIcons/";
|
||||||
if (isIn($extension, qw(doc dot wri))) {
|
if (isIn($extension, qw(doc dot wri))) {
|
||||||
$icon .= "doc.gif";
|
$icon .= "doc.gif";
|
||||||
} elsif (isIn($extension, qw(txt log config conf))) {
|
} elsif (isIn($extension, qw(txt log config conf pm cnf readme))) {
|
||||||
$icon .= "txt.gif";
|
$icon .= "txt.gif";
|
||||||
} elsif (isIn($extension, qw(xlt csv xls))) {
|
} elsif (isIn($extension, qw(xlt csv xls))) {
|
||||||
$icon .= "xls.gif";
|
$icon .= "xls.gif";
|
||||||
|
|
@ -218,9 +218,11 @@ sub getIcon {
|
||||||
$icon .= "html.gif";
|
$icon .= "html.gif";
|
||||||
} elsif (isIn($extension, qw(exe com bat pif))) {
|
} elsif (isIn($extension, qw(exe com bat pif))) {
|
||||||
$icon .= "exe.gif";
|
$icon .= "exe.gif";
|
||||||
|
} elsif (isIn($extension, qw(vsd vdx))) {
|
||||||
|
$icon .= "vsd.gif";
|
||||||
} elsif (isIn($extension, qw(sit hqx))) {
|
} elsif (isIn($extension, qw(sit hqx))) {
|
||||||
$icon .= "sit.gif";
|
$icon .= "sit.gif";
|
||||||
} elsif (isIn($extension, qw(dwg dwf))) {
|
} elsif (isIn($extension, qw(dwg dwf dxf))) {
|
||||||
$icon .= "dwg.gif";
|
$icon .= "dwg.gif";
|
||||||
} elsif (isIn($extension, qw(indd p65))) {
|
} elsif (isIn($extension, qw(indd p65))) {
|
||||||
$icon .= "indd.gif";
|
$icon .= "indd.gif";
|
||||||
|
|
@ -323,7 +325,7 @@ sub getThumbnail {
|
||||||
|
|
||||||
sub getType {
|
sub getType {
|
||||||
my ($extension);
|
my ($extension);
|
||||||
$extension = $_[0]->getFilename;
|
$extension = lc($_[0]->getFilename);
|
||||||
$extension =~ s/.*\.(.*?)$/$1/;
|
$extension =~ s/.*\.(.*?)$/$1/;
|
||||||
return $extension;
|
return $extension;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 1 KiB After Width: | Height: | Size: 145 B |
BIN
www/extras/fileIcons/vsd.gif
Normal file
BIN
www/extras/fileIcons/vsd.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 126 B |
Loading…
Add table
Add a link
Reference in a new issue