diff --git a/vendor/built_in_modules/archive/app/models/archive_file.rb b/vendor/built_in_modules/archive/app/models/archive_file.rb index 75b74bc0..bb449690 100644 --- a/vendor/built_in_modules/archive/app/models/archive_file.rb +++ b/vendor/built_in_modules/archive/app/models/archive_file.rb @@ -64,7 +64,7 @@ class ArchiveFile def get_file_icon( file_data ) - file_icon = "#{file_data.split('.')[1]}".html_safe + file_icon = "#{file_data.split('.')[-1]}".html_safe end def save_archive_file_multiples diff --git a/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/show.html.erb b/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/show.html.erb index 6051eb4c..fe6994da 100644 --- a/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/show.html.erb +++ b/vendor/built_in_modules/archive/app/views/panel/archive/front_end/archive_files/show.html.erb @@ -1,19 +1,30 @@ -<% # encoding: utf-8 %> -<% if @title %> -