diff --git a/js/080.files.js b/js/080.files.js index f3b5507..b570aa7 100644 --- a/js/080.files.js +++ b/js/080.files.js @@ -56,9 +56,9 @@ _.showFiles = function(callBack, selected) { icon = $.$.getFileExtension(file.name); if (file.thumb) - icon = ".image"; + icon = "_image"; else if (!icon.length || !file.smallIcon) - icon = "."; + icon = "_"; icon = "themes/" + _.theme + "/img/files/small/" + icon + ".png"; f = $(''); @@ -72,7 +72,7 @@ _.showFiles = function(callBack, selected) { icon = _.uploadURL + "/" + _.dir + "/" + encodeURIComponent(file.name); icon = $.$.escapeDirs(icon).replace(/\'/g, "%27"); } else { - icon = file.bigIcon ? $.$.getFileExtension(file.name) : "."; + icon = file.bigIcon ? $.$.getFileExtension(file.name) : "_"; if (!icon.length) icon = "."; icon = "themes/" + _.theme + "/img/files/big/" + icon + ".png"; } diff --git a/themes/dark/img/files/big/..png b/themes/dark/img/files/big/_.png similarity index 100% rename from themes/dark/img/files/big/..png rename to themes/dark/img/files/big/_.png diff --git a/themes/dark/img/files/big/.image.png b/themes/dark/img/files/big/_image.png similarity index 100% rename from themes/dark/img/files/big/.image.png rename to themes/dark/img/files/big/_image.png diff --git a/themes/dark/img/files/small/..png b/themes/dark/img/files/small/_.png similarity index 100% rename from themes/dark/img/files/small/..png rename to themes/dark/img/files/small/_.png diff --git a/themes/dark/img/files/small/.image.png b/themes/dark/img/files/small/_image.png similarity index 100% rename from themes/dark/img/files/small/.image.png rename to themes/dark/img/files/small/_image.png diff --git a/themes/default/img/files/big/..png b/themes/default/img/files/big/_.png similarity index 100% rename from themes/default/img/files/big/..png rename to themes/default/img/files/big/_.png diff --git a/themes/default/img/files/big/.image.png b/themes/default/img/files/big/_image.png similarity index 100% rename from themes/default/img/files/big/.image.png rename to themes/default/img/files/big/_image.png diff --git a/themes/default/img/files/small/..png b/themes/default/img/files/small/_.png similarity index 100% rename from themes/default/img/files/small/..png rename to themes/default/img/files/small/_.png diff --git a/themes/default/img/files/small/.image.png b/themes/default/img/files/small/_image.png similarity index 100% rename from themes/default/img/files/small/.image.png rename to themes/default/img/files/small/_image.png