mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
포인트 레벨 아이콘에 아이콘 중복 방지 설정을 추가함
This commit is contained in:
parent
cd177c72e9
commit
996ee8feaf
3 changed files with 36 additions and 7 deletions
|
|
@ -19,7 +19,9 @@ if($called_position != "before_display_content" || Context::get('act') == 'dispP
|
|||
|
||||
require_once(_XE_PATH_ . 'addons/point_level_icon/point_level_icon.lib.php');
|
||||
|
||||
$temp_output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9\-]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', 'pointLevelIconTrans', $output);
|
||||
$temp_output = preg_replace_callback('!<(div|span|a)([^\>]*)member_([0-9\-]+)([^\>]*)>(.*?)\<\/(div|span|a)\>!is', function($matches) use($addon_info) {
|
||||
return pointLevelIconTrans($matches, $addon_info);
|
||||
}, $output);
|
||||
if($temp_output)
|
||||
{
|
||||
$output = $temp_output;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue