Skip to content

Commit d6a489d

Browse files
committed
File manager - file type images replaced with font awesome icons
1 parent 8855ea7 commit d6a489d

12 files changed

Lines changed: 9 additions & 17 deletions

File tree

BlogEngine/BlogEngine.Core/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
[assembly: CLSCompliant(false)]
2020
[assembly: ComVisible(false)]
2121
[assembly: AllowPartiallyTrustedCallers]
22-
[assembly: AssemblyVersion("3.1.4.1")]
22+
[assembly: AssemblyVersion("3.1.4.2")]
2323
[assembly: SecurityRules(SecurityRuleSet.Level1)]

BlogEngine/BlogEngine.Core/Services/FileSystem/Common.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,26 @@ static string getPlaceholder(string name)
4242

4343
if (file.EndsWith(".zip") || file.EndsWith(".gzip") || file.EndsWith(".7zip") || file.EndsWith(".rar"))
4444
{
45-
return "zip.png";
45+
return "fa fa-file-archive-o";
4646
}
4747
if (file.EndsWith(".doc") || file.EndsWith(".docx"))
4848
{
49-
return "doc.png";
49+
return "fa fa-file-word-o";
5050
}
5151
if (file.EndsWith(".xls") || file.EndsWith(".xlsx"))
5252
{
53-
return "xls.png";
53+
return "fa fa-file-excel-o";
5454
}
5555
if (file.EndsWith(".pdf"))
5656
{
57-
return "pdf.png";
57+
return "fa fa-file-pdf-o";
5858
}
5959
if (file.EndsWith(".txt"))
6060
{
61-
return "txt.png";
61+
return "fa fa-file-text-o";
6262
}
6363

64-
return "new.png";
64+
return "fa fa-file-o";
6565
}
6666
}
6767

BlogEngine/BlogEngine.NET/BlogEngine.NET.csproj

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -533,14 +533,6 @@
533533
<Content Include="Content\images\blog\flags\zm.png" />
534534
<Content Include="Content\images\blog\flags\zw.png" />
535535
<Content Include="Content\images\blog\pingback.png" />
536-
<Content Include="Content\images\blog\placeholders\doc.png" />
537-
<Content Include="Content\images\blog\placeholders\folder.png" />
538-
<Content Include="Content\images\blog\placeholders\folder_back.png" />
539-
<Content Include="Content\images\blog\placeholders\new.png" />
540-
<Content Include="Content\images\blog\placeholders\pdf.png" />
541-
<Content Include="Content\images\blog\placeholders\txt.png" />
542-
<Content Include="Content\images\blog\placeholders\xls.png" />
543-
<Content Include="Content\images\blog\placeholders\zip.png" />
544536
<Content Include="Content\images\blog\xfn\colleague.gif" />
545537
<Content Include="Content\images\blog\xfn\colleagueMet.gif" />
546538
<Content Include="Content\images\blog\xfn\contact.gif" />
Binary file not shown.
-737 Bytes
Binary file not shown.
Binary file not shown.
-7.93 KB
Binary file not shown.
-7.49 KB
Binary file not shown.
-4.55 KB
Binary file not shown.
-5.35 KB
Binary file not shown.

0 commit comments

Comments
 (0)