mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@751 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f7a361bd10
commit
e902d0aa4e
6 changed files with 10 additions and 8 deletions
|
|
@ -667,7 +667,8 @@
|
|||
// 이미지 마크 체크 (가로 길이 20px 이내의 마크만 고려하고 직접 style로 표시를 해 준다, css를 쓸수가 없으므로)
|
||||
$image_mark_file = sprintf('./files/attach/image_mark/%s%d.gif', getNumberingPath($member_srl), $member_srl);
|
||||
if(file_exists($image_mark_file)) {
|
||||
$text = sprintf('<span style="background:url(%s) no-repeat left;padding-left:22px;">%s</span>', $image_mark_file, $text);
|
||||
list($width, $height, $type, $attrs) = getimagesize($image_mark_file);
|
||||
$text = sprintf('<span style="background:url(%s) no-repeat left;padding-left:%dpx;">%s</span>', $image_mark_file, $width+2, $text);
|
||||
}
|
||||
|
||||
$GLOBALS['_transImageNameList'][$member_srl] = $text;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue