From 0840e91cb7945f53f46c7164d8b9263e8e8e2373 Mon Sep 17 00:00:00 2001 From: pherum83 Date: Sun, 4 Sep 2011 18:32:50 +0000 Subject: [PATCH] r284 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Фикс обновления тор-статуса с закрыто правообладателем на любой другой git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@284 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/ajax/change_tor_status.php | 1 - upload/config.php | 2 +- upload/templates/default/css/main.css | 4 ++-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/upload/ajax/change_tor_status.php b/upload/ajax/change_tor_status.php index aafe3a128..9345c72d1 100644 --- a/upload/ajax/change_tor_status.php +++ b/upload/ajax/change_tor_status.php @@ -47,7 +47,6 @@ if ($tor['tor_status'] == TOR_CLOSED_CPHOLD) { if (!IS_ADMIN) $this->verify_mod_rights($tor['forum_id']); DB()->query("UPDATE ". BB_TOPICS ." SET topic_status = ". TOPIC_UNLOCKED ." WHERE topic_id = {$tor['topic_id']} LIMIT 1"); - $new_status = TOR_NOT_APPROVED; } else { diff --git a/upload/config.php b/upload/config.php index 04164e1c4..9d80a4c16 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.1 Stable'; -$bb_cfg['tp_release_state'] = 'R283'; +$bb_cfg['tp_release_state'] = 'R284'; $bb_cfg['tp_release_date'] = '04-09-2011'; // Database diff --git a/upload/templates/default/css/main.css b/upload/templates/default/css/main.css index 55bf887ab..9bfba0f91 100644 --- a/upload/templates/default/css/main.css +++ b/upload/templates/default/css/main.css @@ -799,8 +799,8 @@ table.topic { width: 100%; } .tor-dup { padding-left: 1px; color: #0000FF; font-weight: bold; } .tor-need-edit { color: #FF0000; font-weight: bold; } .tor-no-desc { padding-left: 1px; color: #FF4500; font-weight: bold; } -.tor-not-approved { color: #C71585; } -.tor-checking { color: #2424FF; } +.tor-not-approved { color: #C71585; font-weight: bold; } +.tor-checking { color: #2424FF; font-weight: bold; } /* ---------------------------------- * Attachments