From 31e7430c3390d33d6cab5dd9fd86608ce888f787 Mon Sep 17 00:00:00 2001 From: pherum Date: Thu, 23 Oct 2014 20:30:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BC=D0=B8=D0=BA=D1=80=D0=BE=20=D1=84=D0=B8?= =?UTF-8?q?=D0=BA=D1=81=D1=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- upload/library/attach_mod/posting_attachments.php | 5 ----- upload/styles/templates/default/posting.tpl | 6 ++++-- 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/upload/library/attach_mod/posting_attachments.php b/upload/library/attach_mod/posting_attachments.php index f01bc0cd9..df5091e0d 100644 --- a/upload/library/attach_mod/posting_attachments.php +++ b/upload/library/attach_mod/posting_attachments.php @@ -7,7 +7,6 @@ define('FILENAME_PREFIX_LENGTH', 6); define('FILENAME_MAX_LENGTH', 180); define('FILENAME_CRYPTIC', false); define('FILENAME_CRYPTIC_LENGTH', 64); -define('FILENAME_TRANSLITERATE', true); class attach_parent { @@ -964,10 +963,6 @@ class attach_parent { $this->attach_filename = make_rand_str(FILENAME_CRYPTIC_LENGTH); } - else if (FILENAME_TRANSLITERATE) - { - $this->attach_filename = transliterate($this->attach_filename); - } else { // original $this->attach_filename = html_entity_decode(trim(stripslashes($this->attach_filename))); diff --git a/upload/styles/templates/default/posting.tpl b/upload/styles/templates/default/posting.tpl index 2ab4fd600..6711d588b 100644 --- a/upload/styles/templates/default/posting.tpl +++ b/upload/styles/templates/default/posting.tpl @@ -136,7 +136,8 @@ - + + {L_POST_RELEASE_FROM_GROUP} @@ -147,7 +148,8 @@ - + +