From 0693268d42abcfbd6a630a59cbbef103419cb5df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1chym=20Tou=C5=A1ek?= Date: Sat, 6 Jun 2015 15:12:58 +0200 Subject: [PATCH] Renamed icons with leading dot --- js/080.files.js | 6 +++--- themes/dark/img/files/big/{..png => _.png} | Bin .../dark/img/files/big/{.image.png => _image.png} | Bin themes/dark/img/files/small/{..png => _.png} | Bin .../dark/img/files/small/{.image.png => _image.png} | Bin themes/default/img/files/big/{..png => _.png} | Bin .../img/files/big/{.image.png => _image.png} | Bin themes/default/img/files/small/{..png => _.png} | Bin .../img/files/small/{.image.png => _image.png} | Bin 9 files changed, 3 insertions(+), 3 deletions(-) rename themes/dark/img/files/big/{..png => _.png} (100%) rename themes/dark/img/files/big/{.image.png => _image.png} (100%) rename themes/dark/img/files/small/{..png => _.png} (100%) rename themes/dark/img/files/small/{.image.png => _image.png} (100%) rename themes/default/img/files/big/{..png => _.png} (100%) rename themes/default/img/files/big/{.image.png => _image.png} (100%) rename themes/default/img/files/small/{..png => _.png} (100%) rename themes/default/img/files/small/{.image.png => _image.png} (100%) 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