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']; } //