diff --git a/upload/config.php b/upload/config.php index bbad6b8c9..12867afdf 100644 --- a/upload/config.php +++ b/upload/config.php @@ -57,8 +57,8 @@ $bb_cfg['css_ver'] = 1; // Increase number of revision after update $bb_cfg['tp_version'] = '2.0.2'; -$bb_cfg['tp_release_state'] = 'TP II r76'; -$bb_cfg['tp_release_date'] = '04-07-2011'; +$bb_cfg['tp_release_state'] = 'TP II r77'; +$bb_cfg['tp_release_date'] = '05-07-2011'; $bb_cfg['board_disabled_msg'] = 'форум временно отключен'; // 'forums temporarily disabled'; // show this msg if board has been disabled via ON/OFF trigger $bb_cfg['srv_overloaded_msg'] = "Извините, в данный момент сервер перегружен\nПопробуйте повторить запрос через несколько минут"; diff --git a/upload/includes/bbcode.php b/upload/includes/bbcode.php index 182eee8c7..7bcce2a7a 100644 --- a/upload/includes/bbcode.php +++ b/upload/includes/bbcode.php @@ -583,30 +583,25 @@ class bbcode function init_replacements () { $tpl = $this->tpl; - $url_exp = '[\w\#!$%&~/.\-;:=,?@а-яА-Я\[\]+]+?'; $img_url_exp = 'http://[^\s\?&;:=\#\"<>]+?\.(jpg|jpeg|gif|png)'; $email_exp = '[a-z0-9&\-_.]+?@[\w\-]+\.([\w\-\.]+\.)?[\w]+'; $this->preg = array( - '#\[quote="(.+?)"\]#i' => $tpl['quote_username_open'], - '#\[spoiler="(.+?)"\]#i' => $tpl['spoiler_title_open'], - '#\[list=(a|A|i|I|1)\]#i' => '