From bfc26e9864cb864e5eda567e28307427851a3029 Mon Sep 17 00:00:00 2001 From: dimka3210 Date: Sat, 23 Jul 2011 01:56:57 +0000 Subject: [PATCH] r121 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Сделаем отделение подписи настраиваемым. Это позволит использовать html теги. git-svn-id: https://torrentpier2.googlecode.com/svn/trunk@121 a8ac35ab-4ca4-ca47-4c2d-a49a94f06293 --- upload/config.php | 2 ++ upload/viewtopic.php | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/upload/config.php b/upload/config.php index b4823ddea..4ccf031de 100644 --- a/upload/config.php +++ b/upload/config.php @@ -406,6 +406,8 @@ $bb_cfg['ext_link_new_win'] = true; // open external links in new $bb_cfg['topic_moved_days_keep'] = 7; // remove topic moved links after xx days (or FALSE to disable) $bb_cfg['allowed_posts_per_page'] = array(15, 30, 50, 100); +$bb_cfg['user_signature_start'] = "
_________________
"; +$bb_cfg['user_signature_end'] = ""; //Это позволит использовать html теги, которые требуют закрытия. Например или // Posts $bb_cfg['use_posts_cache'] = true; // if you switch from ON to OFF, you need to TRUNCATE `bb_posts_html` table diff --git a/upload/viewtopic.php b/upload/viewtopic.php index a07112412..2ec3972d2 100644 --- a/upload/viewtopic.php +++ b/upload/viewtopic.php @@ -893,7 +893,7 @@ for($i = 0; $i < $total_posts; $i++) // if ($user_sig) { - $user_sig = '
_________________
'. $user_sig; + $user_sig = $bb_cfg['user_signature_start'] . $user_sig . $bb_cfg['user_signature_end']; } //