mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-08 11:33:55 +09:00
#517 레벨아이콘의 alt속성 값을 간소화
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4432 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
89cadcee18
commit
bf03c31634
1 changed files with 7 additions and 6 deletions
|
|
@ -26,7 +26,7 @@
|
|||
$text = $matches[5];
|
||||
|
||||
// 레벨 아이콘의 위치를 구함
|
||||
$level_icon = sprintf("./modules/point/icons/%s/%d.gif", $config->level_icon, $level);
|
||||
$level_icon = sprintf('./modules/point/icons/%s/%d.gif', $config->level_icon, $level);
|
||||
|
||||
// 최고 레벨이 아니면 다음 레벨로 가기 위한 per을 구함
|
||||
if($level < $config->max_level) {
|
||||
|
|
@ -34,9 +34,10 @@
|
|||
if($next_point > 0) $per = (int)($point / $next_point*100);
|
||||
}
|
||||
|
||||
$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);
|
||||
$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);
|
||||
|
||||
$text = sprintf('<span class="nowrap member_%s" style="cursor:pointer"><img src="%s" alt="%s" title="%s" style="vertical-align:middle;margin-right:3px"/>%s</span>', $member_srl, $level_icon, $title, $title, $text);
|
||||
$text = sprintf('<span class="nowrap member_%s" style="cursor:pointer"><img src="%s" alt="%s" title="%s" style="vertical-align:middle;margin-right:3px"/>%s</span>', $member_srl, $level_icon, $alt, $title, $text);
|
||||
|
||||
$GLOBALS['_pointLevelIcon'][$member_srl] = $text;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue