From 261471018a2a3b43ec565eee896f833029d236c3 Mon Sep 17 00:00:00 2001 From: pherum83 Date: Sat, 5 Nov 2011 13:12:38 +0000 Subject: [PATCH] r305 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit фикс отправки сообщения в предпросмотр, через ajax редактирование. кодивка в Контрольной панеле приложений git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@305 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/admin/admin_attach_cp.php | 2 +- upload/ajax/posts.php | 2 +- upload/config.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/upload/admin/admin_attach_cp.php b/upload/admin/admin_attach_cp.php index 0f44b11d2..10fed9d8b 100644 --- a/upload/admin/admin_attach_cp.php +++ b/upload/admin/admin_attach_cp.php @@ -524,7 +524,7 @@ if ($view == 'attachments') if (strlen($post_title) > 32) { - $post_title = substr($post_title, 0, 30) . '...'; + $post_title = str_short($post_title, 30); } $view_topic = append_sid(BB_ROOT . 'viewtopic.php?' . POST_POST_URL . '=' . $ids[$j]['post_id'] . '#' . $ids[$j]['post_id']); diff --git a/upload/ajax/posts.php b/upload/ajax/posts.php index d993dc4d6..05697399e 100644 --- a/upload/ajax/posts.php +++ b/upload/ajax/posts.php @@ -168,7 +168,7 @@ switch($this->request['type'])
- +

diff --git a/upload/config.php b/upload/config.php index 0b4f86308..7c35d9755 100644 --- a/upload/config.php +++ b/upload/config.php @@ -53,7 +53,7 @@ $bb_cfg = $tr_cfg = $page_cfg = array(); // Increase number of revision after update $bb_cfg['tp_version'] = '2.2 Beta'; -$bb_cfg['tp_release_state'] = 'R304'; +$bb_cfg['tp_release_state'] = 'R305'; $bb_cfg['tp_release_date'] = '05-11-2011'; // Database