mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
포인트 레벨 아이콘 표시 애드온 오류 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4791 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f3d94dec1c
commit
b36a63192b
1 changed files with 4 additions and 6 deletions
|
|
@ -37,13 +37,11 @@
|
|||
$title = sprintf('%s:%s%s %s, %s:%s/%s', Context::getLang('point'), $point, $config->point_name, $per?'('.$per.'%)':'', Context::getLang('level'), $level, $config->max_level);
|
||||
$alt = sprintf('[%s:%s]', Context::getLang('level'), $level);
|
||||
|
||||
$orig_text = preg_replace('/'.preg_quote($matches[5],'/').'<\/'.$matches[6].'>$/', '', $matches[0]);
|
||||
|
||||
$text = sprintf('<img src="%s" alt="%s" title="%s" style="vertical-align:middle; margin-right:3px;" />%s', $level_icon, $alt, $title, $text);
|
||||
|
||||
$GLOBALS['_pointLevelIcon'][$member_srl] = $orig_text.$text.'</'.$matches[6].'>';
|
||||
$GLOBALS['_pointLevelIcon'][$member_srl] = sprintf('<img src="%s" alt="%s" title="%s" style="vertical-align:middle; margin-right:3px;" />', $level_icon, $alt, $title);
|
||||
}
|
||||
$text = $GLOBALS['_pointLevelIcon'][$member_srl];
|
||||
|
||||
return $GLOBALS['_pointLevelIcon'][$member_srl];
|
||||
$orig_text = preg_replace('/'.preg_quote($matches[5],'/').'<\/'.$matches[6].'>$/', '', $matches[0]);
|
||||
return $orig_text.$text.$matches[5].'</'.$matches[6].'>';
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue