mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-17 18:29:55 +09:00
이미지이름에 마우스 오버시 아이디가 노출되도록 alt수정, title추가
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1879 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
9d84b4774f
commit
72c812caf0
1 changed files with 1 additions and 1 deletions
|
|
@ -1079,7 +1079,7 @@
|
|||
if($image_name->width) {
|
||||
if($image_mark->height && $image_mark->height > $image_name->height) $top_margin = ($image_mark->height - $image_name->height)/2;
|
||||
else $top_margin = 0;
|
||||
$text = sprintf('<img src="%s" border="0" alt="image name" width="%s" height="%s" style="margin-top:%dpx;"/>', Context::getRequestUri().$image_name->file, $image_name->width, $image_name->height, $top_margin);
|
||||
$text = sprintf('<img src="%s" border="0" alt="id: %s" title="id: %s" width="%s" height="%s" style="margin-top:%dpx;"/>', Context::getRequestUri().$image_name->file, htmlspecialchars($matches[5]), htmlspecialchars($matches[5]), $image_name->width, $image_name->height, $top_margin);
|
||||
}
|
||||
|
||||
if($image_mark->width) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue