mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-23 21:29:58 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@614 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4ebffe05b9
commit
55f420bd67
5 changed files with 273 additions and 3 deletions
|
|
@ -41,7 +41,12 @@
|
|||
* DocumentModule::transContent() 에서 해당 컴포넌트의 transHtml() method를 호출하여 고유코드를 html로 변경
|
||||
**/
|
||||
function transHTML($xml_obj) {
|
||||
return;
|
||||
$width = $xml_obj->attrs->width;
|
||||
$height = $xml_obj->attrs->height;
|
||||
$body = $xml_obj->body;
|
||||
|
||||
$output = sprintf('<div style="width:%s;height:%s">%s</div>', $width, $height, $body);
|
||||
return $output;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue