Skip to content

Commit 5883b5f

Browse files
committed
Merge branch 'dev' of https://github.com/branchzero/discuz-x32-php7 into dev
2 parents 5c96fcb + 7b5bd6c commit 5883b5f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

install/data/install_data.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ INSERT INTO pre_common_word_type SET `id`='1', `typename`='政治';
794794
INSERT INTO pre_common_word_type SET `id`='2', `typename`='广告';
795795

796796
INSERT INTO pre_forum_bbcode VALUES ('1','0','fly','bb_fly.gif','<marquee width=\"90%\" scrollamount=\"3\">{1}</marquee>','[fly]This is sample text[/fly]','使内容横向滚动,这个效果类似 HTML 的 marquee 标签,注意:这个效果只在 Internet Explorer 浏览器下有效。','1','请输入滚动显示的文字:','1','19','1 2 3 12 13 14 15 16 17 18 19');
797-
INSERT INTO pre_forum_bbcode VALUES ('2','2','qq','bb_qq.gif','<a href=\"http://wpa.qq.com/msgrd?V=3&Uin={1}&amp;Site=[Discuz!]&amp;from=discuz&amp;Menu=yes\" target=\"_blank\"><img src=\"static/image/common/qq_big.gif\" border=\"0\"></a>','[qq]688888[/qq]','显示 QQ 在线状态,点这个图标可以和他(她)聊天','1','请输入 QQ 号码:<a href=\"\" class=\"xi2\" onclick=\"this.href=\'http://wp.qq.com/set.html?from=discuz&uin=\'+$(\'e_cst1_qq_param_1\').value\" target=\"_blank\" style=\"float:right;\">设置QQ在线状态&nbsp;&nbsp;</a>','1','21','1 2 3 10 11 12 13 14 15 16 17 18 19');
797+
INSERT INTO pre_forum_bbcode VALUES ('2','2','qq','bb_qq.gif','<a href=\"http://wpa.qq.com/msgrd?v=3&uin={1}&amp;site=[Discuz!]&amp;from=discuz&amp;menu=yes\" target=\"_blank\"><img src=\"static/image/common/qq_big.gif\" border=\"0\"></a>','[qq]688888[/qq]','显示 QQ 在线状态,点这个图标可以和他(她)聊天','1','请输入 QQ 号码:<a href=\"\" class=\"xi2\" onclick=\"this.href=\'http://wp.qq.com/set.html?from=discuz&uin=\'+$(\'e_cst1_qq_param_1\').value\" target=\"_blank\" style=\"float:right;\">设置QQ在线状态&nbsp;&nbsp;</a>','1','21','1 2 3 10 11 12 13 14 15 16 17 18 19');
798798
INSERT INTO pre_forum_bbcode VALUES ('3','0','sup','bb_sup.gif','<sup>{1}</sup>','X[sup]2[/sup]','上标','1','请输入上标文字:','1','22','1 2 3 12 13 14 15 16 17 18 19');
799799
INSERT INTO pre_forum_bbcode VALUES ('4','0','sub','bb_sub.gif','<sub>{1}</sub>','X[sub]2[/sub]','下标','1','请输入下标文字:','1','23','1 2 3 12 13 14 15 16 17 18 19');
800800

source/class/helper/helper_seo.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ public static function get_seosetting($page, $data = array(), $defset = array())
4747

4848

4949
public static function strreplace_strip_split($searchs, $replaces, $str) {
50-
$searchspace = array('((\s*\-\s*)+)', '((\s*\,\s*)+)', '((\s*\|\s*)+)', '((\s*\t\s*)+)', '((\s*_\s*)+)');
51-
$replacespace = array('-', ',', '|', ' ', '_');
50+
$searchspace = array('(((\s)*\-(\s)*)+)', '(((\s)*\,(\s)*)+)', '(((\s)*\|(\s)*)+)', '(((\s)*\t(\s)*)+)', '(((\s)*_(\s)*)+)');
51+
$replacespace = array('$3-$3', '$3,$3', '$3|$3', '$3 $3', '$3_$3');
5252
return trim(preg_replace($searchspace, $replacespace, str_replace($searchs, $replaces, $str)), ' ,-|_');
5353
}
5454

@@ -111,4 +111,4 @@ public static function base64_transform($type, $prefix, $string, $suffix) {
111111
}
112112
}
113113

114-
?>
114+
?>

source/module/forum/forum_viewthread.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,7 +1351,7 @@ function viewthread_baseinfo($post, $extra) {
13511351
if($field != 'qq') {
13521352
$v = profile_show($field, $post);
13531353
} elseif(!empty($post['qq'])) {
1354-
$v = '<a href="http://wpa.qq.com/msgrd?V=3&Uin='.$post['qq'].'&Site='.$_G['setting']['bbname'].'&Menu=yes&from=discuz" target="_blank" title="'.lang('spacecp', 'qq_dialog').'"><img src="'.STATICURL.'/image/common/qq_big.gif" alt="QQ" style="margin:0px;"/></a>';
1354+
$v = '<a href="http://wpa.qq.com/msgrd?v=3&uin='.$post['qq'].'&site='.$_G['setting']['bbname'].'&menu=yes&from=discuz" target="_blank" title="'.lang('spacecp', 'qq_dialog').'"><img src="'.STATICURL.'/image/common/qq_big.gif" alt="QQ" style="margin:0px;"/></a>';
13551355
}
13561356
if($v) {
13571357
if(!isset($_G['cache']['profilesetting'])) {
@@ -1663,4 +1663,4 @@ function _checkviewgroup() {
16631663
}
16641664
}
16651665

1666-
?>
1666+
?>

static/image/common/player.swf

5.16 KB
Binary file not shown.

0 commit comments

Comments
 (0)