diff --git a/core/class/browser.php b/core/class/browser.php
index 0f648e4..69764bf 100644
--- a/core/class/browser.php
+++ b/core/class/browser.php
@@ -694,7 +694,7 @@ protected function sendDefaultThumb($file=null) {
$thumb = "themes/{$this->config['theme']}/img/files/big/$ext.png";
}
if (!isset($thumb) || !file_exists($thumb))
- $thumb = "themes/{$this->config['theme']}/img/files/big/..png";
+ $thumb = "themes/{$this->config['theme']}/img/files/big/_.png";
header("Content-Type: image/png");
readfile($thumb);
die;
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/js/091.menus.js b/js/091.menus.js
index b6f093d..93c9a17 100644
--- a/js/091.menus.js
+++ b/js/091.menus.js
@@ -500,9 +500,9 @@ _.openClipboard = function() {
$.each(_.clipboard, function(i, val) {
var icon = $.$.getFileExtension(val.name);
if (val.thumb)
- icon = ".image";
+ icon = "_image";
else if (!val.smallIcon || !icon.length)
- icon = ".";
+ icon = "_";
icon = "themes/" + _.theme + "/img/files/small/" + icon + ".png";
html += '' + $.$.htmlData($.$.basename(val.name)) + '';
});
@@ -586,4 +586,4 @@ _.openClipboard = function() {
}).width(dlg.width() + _.scrollbarWidth);
}
}, 1);
-};
\ No newline at end of file
+};
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